Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Mar 2004 11:40:07 -0500
From:      Erik Sliman <p500.2004@openstandards.net>
To:        Andre Rein <ar@g23.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Creating multiple IPs
Message-ID:  <40460A67.8070601@openstandards.net>
In-Reply-To: <20040303172617.B47509@juergen.edv-winter.de>
References:  <404605DC.4030809@openstandards.net> <20040303172617.B47509@juergen.edv-winter.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>To unsubscribe, send any mail to "freebsd-net-unsubscribe@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40460A67.8070601>