ip

Hugh Blandford hugh at island.net.au
Thu Jul 31 08:14:47 PDT 2003


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 at hotmail.com>
To: <freebsd-isp at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
> 


More information about the freebsd-isp mailing list