Multiple static IPs

Gabriel Ambuehl gabriel_ambuehl at buz.ch
Wed Mar 3 08:28:46 PST 2004


Hello Erik,

Wednesday, March 3, 2004, 5:17:00 PM, you wrote:

> How do you give a computer multiple static IPs?

> I've tried many things, including the ifaliases setting in rc.conf:

>     ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0"
>     ifaliases_vr0="192.168.1.36 255.255.255.0"

> but none seem to work. 


Wrong list but anyhow:


ifconfig_vr0="inet someip netmask 255.255.255.224"
ifconfig_vr0_alias0="inet someip+1 netmask 255.255.255.255"
ifconfig_vr0_alias1="inet someip+2 netmask 255.255.255.255"
ifconfig_vr0_alias1="inet otherip netmask 255.255.255.128"

Or RTFM.

Best regards,
 Gabriel



More information about the freebsd-net mailing list