Assigning multiple IPs in the same network to an interface

Andrew Boyer aboyer at averesystems.com
Thu Feb 16 15:12:21 UTC 2012


On Feb 16, 2012, at 9:30 AM, Rainer Bredehorn wrote:

>> i have a problem with setting multiple IPs in the same network in FreeBSD:
>> 
>> - suppose I assign two new IP addresses in the same network to eth0 with ifconfig:
>> #ifconfig eth0 add 192.168.10.1/24
>> #ifconfig eth0 add 192.168.10.2/24
>> 
> Second address should be an alias address.
> 
> ;-)
> 


'ifconfig add' and 'ifconfig alias' are the same thing.

-Andrew

--------------------------------------------------
Andrew Boyer	aboyer at averesystems.com






More information about the freebsd-net mailing list