Re: ip

From: Hugh Blandford (hugh_at_island.net.au)
Date: 07/31/03

  • Next message: mario: "[Fwd: SV: dump directly to remote HDD over ssh]"
    To: "mouhammad sajjad" <sajjadw21@hotmail.com>
    Date: Fri, 1 Aug 2003 01:14:27 +1000
    
    

    Hi Mouhammad,

    this is covered in a few spots, the thing to look for is the word alias.

    eg:

    you could put the following in /etc/rc.conf

    ifconfig_fxp0="inet 210.28.14.35 netmask 255.255.255.192"
    ifconfig_fxp0_alias0="inet 210.28.14.3 netmask 0xffffffff" # alias entry
    ifconfig_fxp0_alias1="inet 210.28.14.9 netmask 0xffffffff" # alias entry
    ifconfig_fxp0_alias2="inet 210.28.14.16 netmask 0xffffffff" # alias entry

    have a look at man ifconfig.

    you could do the following from the command line

    ifconfig fxp0 inet 210.28.14.16 netmask 0xffffffff alias

    Hugh
    ----- Original Message -----
    From: "mouhammad sajjad" <sajjadw21@hotmail.com>
    To: <freebsd-isp@freebsd.org>
    Sent: Thursday, July 31, 2003 5:18 PM
    Subject: ip

    >
    > hi
    >
    > how i can add multi ip in freeBSD?????
    > _________________________________________________________________
    >
    > The new [1]MSN 8: smart spam protection and 2 months FREE*
    >
    > References
    >
    > 1. http://g.msn.com/8HMYEN/2737??PS=
    > _______________________________________________
    > freebsd-isp@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    >
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: mario: "[Fwd: SV: dump directly to remote HDD over ssh]"

    Relevant Pages