Re: ifconfig alias: same subnet netmask question

2011-06-29 Thread Oleg Cherevko
Darn, I have to correct myself once again. Oleg Cherevko wrote: Li, Qing wrote: First of all, are you encountering any issues ? Well, for the last 14+ years I used to setup aliases with 0x netmask and everything worked OK. However recently I encountered situation where 0x

Re: ifconfig alias: same subnet netmask question

2011-06-29 Thread Oleg Cherevko
ilto:owner-freebsd- n...@freebsd.org] On Behalf Of Oleg Cherevko Sent: Wednesday, June 29, 2011 8:11 AM To: freebsd-net@freebsd.org Subject: ifconfig alias: same subnet netmask question Hi All, When describing the "alias" parameter ifconfig manpage claims that "If the address is o

Re: ifconfig alias: same subnet netmask question

2011-06-29 Thread Oleg Cherevko
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 0xff00 ifconfig em0 inet 192.168.1.2 netmask 0xff00 instead of traditional: ifconfig em0 inet 192.168.1.1 netmask 0xff00

ifconfig alias: same subnet netmask question

2011-06-29 Thread Oleg Cherevko
Hi All, When describing the "alias" parameter ifconfig manpage claims that "If the address is on the same subnet as the first network address for this interface, a non-conflicting netmask must be given. Usually 0x is most appropriate." Taking into account that FreeBSD supports aliase