Creating multiple IPs

Erik Sliman p500.2004 at openstandards.net
Wed Mar 3 08:40:04 PST 2004


Andre Rein wrote:

>[] You've read documentation?
>
>grep alias /etc/defaults/rc.conf
>
>#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
>
>
>On Wed, 3 Mar 2004, Erik Sliman 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.
>>_______________________________________________
>>freebsd-net at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>>    
>>
>regards
>
>Andre
>
>  
>

Thank you. That worked. I read all the documentation I could find, which 
was very little. Basic networking requirements like this should be in 
the FreeBSD Manual. rc.conf man pages gave no examples, and differed 
from one version to another quite a bit.

In the future, I'll grep the defaults first.




More information about the freebsd-net mailing list