Date: Fri, 28 Oct 2005 11:06:24 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no> Cc: rc@freebsd.org Subject: Re: ifconfig_foo0 syntax Message-ID: <20051028180624.GB17096@odin.ac.hmc.edu> In-Reply-To: <86ll0d4mtk.fsf@xps.des.no> References: <86ll0d4mtk.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, Oct 28, 2005 at 06:40:23PM +0200, Dag-Erling Smørgrav wrote: > I've been having trouble with a bridge interface. It seemed logical > to me to do > > cloned_interfaces="bridge0" > ifconfig_bridge0="addm foo0 addm bar0 inet 10.0.0.1/24" > > but ifconfig(8) does not accept "inet" after "addm". > > (perhaps I should have put the inet bit at the front?) > > In any case, I came up with a patch that allows me to do > > ifconfig_bridge0="addm foo0; addm bar0; inet 10.0.0.1/24" > > which translates into three different ifconfig invocations. > > there's probably a better / cleaner way to do this... In addition to Yar's comments, I'll be committing a patch from Philipp Wuensche which adds a new ipv4_addrs_<ifn> variable that you could use to set the IPv4 address even if the ordering issue wasn't resolvable. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDYmifXY6L6fI4GtQRAv5NAKCF6z9Xzwt/F/AeaOv/3o2iC2FQUgCbBBQf 2rVBMl+hx7cQgsPTi65cZUI= =UcoF -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051028180624.GB17096>
