Multiple IP Addresses

Simon Dick simond at irrelevant.org
Mon May 12 14:57:26 BST 2003


On Mon, 2003-05-12 at 14:03, Abdul Salam wrote:
> Hi Simon,
> 
> Thanks for that. It works fine now. But, there were not much useful
> information on the FreeBSD site about this. Here is the example given in
> the "man" of rc.conf.
> 
> 		   ifconfig_ed0_alias0="inet 127.0.0.251 netmask
> 0xffffffff"
> 		   ifconfig_ed0_alias1="inet 127.0.0.252 netmask
> 0xffffffff"
> 		   ifconfig_ed0_alias2="inet 127.0.0.253 netmask
> 0xffffffff"
> 		   ifconfig_ed0_alias4="inet 127.0.0.254 netmask
> 0xffffffff"
> 
> where all netmasks are the same.

ifconfig(8):

"Establish an additional network address for this interface.  This
is sometimes useful when changing network numbers, and one wishes
to accept packets addressed to the old interface.  If the address
is on the same subnet as the first network address for this
interface, a non-conflicting netmask must be given.  Usually
0xffffffff is most appropriate."

:)






More information about the Ukfreebsd mailing list