Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 15:28:19 +0000
From:      "Li, Qing" <qing.li@bluecoat.com>
To:        Oleg Cherevko <olwi@fb-n.l.org.ua>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   RE: ifconfig alias: same subnet netmask question
Message-ID:  <B143A8975061C446AD5E29742C531723098B9C@PWSVL-EXCMBX-01.internal.cacheflow.com>
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
First of all, are you encountering any issues ?

There is an outstanding issue with the address alias and improper routing
table update that I am actively working on.

--Qing


> -----Original Message-----
> From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-
> net@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
>=20
> Hi All,
>=20
> 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 0xffffffff
> is most appropriate."
>=20
> Taking into account that FreeBSD supports aliases from the same subnet
> with identical netmask for 6+ years now, does this statement still make
> sense? And what does this "conflicting netmask" stand for (I mean in
> the
> context of more or less recent FreeBSD versions, say 8.0+)?
>=20
> 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)?
>=20
> --
> Olwi
> _______________________________________________
> 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"



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