Hi Santiago, On Mon, Jul 17, 2006 at 05:21:48PM +0200, Santiago Garcia Mantinan wrote: > > auto br0 > > > > iface br0 inet static [snip] > > bridge_ports eth2 eth0 > > That's ok, but then if you are using those ports there you don't need any of > this: > > > iface eth0 inet static > > iface eth2 inet static > > wireless_essid myESSID
Indeed, I currently do not use eth0 and eth2. Nevertheless I started my network without bridging by using separate eth0/eth2 configs. I want to keep these old settings so that I can reuse it later if necessary. > In fact, as eth0 and eth1 don't have an auto on their definition I assume > they are not configured, unless the hotplug system does so because of some > other lines on your config. Yes, indeed, this is my real problem. The Debian way to configure network is adapting /etc/network/interfaces. That's true for bridging as well. Since I need to add bridge_ports eth2 eth0 in this file I really assumed that eth0 and eth2 doesn't refer to the kernel network interfaces but to the corresponding /etc/network/interfaces stanzas and that bridge-utils (or if-up) initialises these! > If you want to have a bridge interface configure it, and add to it whatever > ports you need, and if some of those ports need some preconfig, then you > must do so on a pre-up command on your bridge definition. This would be > something like... Yes, I'm aware of this but assumed that's just an ugly workaround for a bug in the bridge-utils package. > iface br0 inet static > pre-up iwconfig eth2 mode managed essid myESSID channel 1 key 1234... This requires duplications of config if I want to keep my eth2 setting. > I believe that's the best way to do what you want, even though there are > other ways, try that and let us know how that went so that we can close this > bug. Yep it worked well. I suggest you add this to the documentation (which I read before I filled this bug). PS: During my tests I noticed in the past also problems if the zeroconf package is installed, especially related to routing which seems not aware of given IP's similar to 169.254.250.7 instead of the specified once in /etc/network/interfaces. Now I tried it again but everything works really as expected (except using an alternative alias IP address, but that's probably wanted if zeroconf is installed). Great! Jens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]