ifconfig alias: same subnet netmask question
Oleg Cherevko
olwi at fb-n.l.org.ua
Wed Jun 29 15:29:17 UTC 2011
On 29.06.2011 18:10, Oleg Cherevko wrote:
> Are there any drawbacks in setting aliases like this:
> ifconfig em0 inet 192.168.1.1 netmask 0xffffff00
> ifconfig em0 inet 192.168.1.2 netmask 0xffffff00
> instead of traditional:
> ifconfig em0 inet 192.168.1.1 netmask 0xffffff00
> ifconfig em0 inet 192.168.1.2 netmask 0xffffffff
> (again, for more or less recent FreeBSD versions)?
Sorry, the above examples should read:
ifconfig em0 inet 192.168.1.1 netmask 0xffffff00
ifconfig em0 inet 192.168.1.2 netmask 0xffffff00 alias
and
ifconfig em0 inet 192.168.1.1 netmask 0xffffff00
ifconfig em0 inet 192.168.1.2 netmask 0xffffffff alias
of course.
--
Olwi
More information about the freebsd-net
mailing list