Multiple IP Addresses

Simon Dick simond at irrelevant.org
Mon May 12 13:58:27 BST 2003


On Mon, 2003-05-12 at 13:44, Abdul Salam wrote:
> Hi..

> I have a FreeBSD installation with single IP address at the moment. I
> want to add one more IP address, so I have added one more alias in
> rc.conf with the second IP address. Here is how it looks now.

> Ifconfig_fxp0_alias0 = ´inet 172.16.1.185 netmask 255.25..0.0¡
> 
> Ifconfig_fxp0_alias1 = ´inet 172.16.1.186 netmask 255.25..0.0¡ 
> 
> But, still my server is only bound to first IP address. Is there
> anything more I have to do for this? Any help will be appreciated.

Try using a netmask of 255.255.255.255 for all except one IP address on
the same netblock (also I assume the 255.25..0.0 is a typo :)





More information about the Ukfreebsd mailing list