Date: Wed, 29 Jun 2011 18:29:14 +0300 From: Oleg Cherevko <olwi@fb-n.l.org.ua> To: freebsd-net@freebsd.org Subject: Re: ifconfig alias: same subnet netmask question Message-ID: <4E0B44CA.9060504@fb-n.l.org.ua> In-Reply-To: <4E0B406D.8070406@fb-n.l.org.ua> References: <4E0B406D.8070406@fb-n.l.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E0B44CA.9060504>