Date: Fri, 09 Mar 2007 14:44:27 +0100 From: "Frank Behrens" <frank@pinky.sax.de> To: freebsd-net@freebsd.org Subject: Assign IP address to which interface when using if_bridge(4)? Message-ID: <200703091344.l29DiRRE008786@pinky.frank-behrens.de>
next in thread | raw e-mail | index | archive | help
I see some problems with if_bridge(4) and want to investigate this further. But before I make further tests I want to be sure to have the right setup. I could not find any hints in the documentation including FreeBSD handbook. I have an ethernet device xl0 and want to create a if_bridge(4) to tap(4): ifconfig bridge0 create ifconfig bridge0 addm xl0 addm tap0 up Now I have 3 interfaces, to which of them should I assign the ip address? When searching for information I found both possibilities: 1. Assign the IP address to child interface (e.g. xl0) and use this also for routing setup. 2. Assign the address to bridge interface (bridge0) and use this as reference interface. I assume 1. is the right solution, because the bridge0 does not even create link-local addresses. Am I right? Regards, Frank -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703091344.l29DiRRE008786>