Hello, I'm trying to configure an Ubuntu server with 2 wired interfaces set as a bridge and I want a radius authentication on each interfaces. I'm able to set my configuration files to have a bridge between the 2 interfaces without authentication. I'm able to set my configuration files to have an authentication on each interfaces but without the bridge. I don't know how to configure my files to have both authentication and bridge ! Can someone help me ? I give you my /etc/network/interface not working : *# loopback interface** auto lo** iface lo inet loopback** # network interface** auto eth0** iface eth0 inet manual** ** auto eth1** iface eth1 inet manual** ** auto br0** iface br0 inet dhcp** bridge_ports eth0 eth1** ** wpa-iface eth0 #*How to add eth1 ? If I add a new line it's not working *wpa-bridge br0** wpa-driver wired** wpa-conf /etc/wpa_supplicant/wired.conf* The wired.conf file for information : *ctrl_interface=/var/run/wpa_supplicant** ctrl_interface_group=0** ap_scan=0** #On configure la re-authentification rapide pour protocoles EAP** #fast_reauth=1** ** network={** ssid="lan"** key_mgmt=IEEE8021X** eapol_flags=0** eap=MD5** identity="labo"** password="test"** }* With this configuration, it's working if my interface eth0 is connected, but it's not working if it's eth1 which is connected. Could you tell me what I need to add in my configuration file ? Thanks for your help. Sebastien. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20110504/f6dde037/attachment.htm
On Wed, 4 May 2011 15:21:41 +0200 IMS <ims77.dev at gmail.com> wrote:> Hello, > I'm trying to configure an Ubuntu server with 2 wired interfaces set as a > bridge and I want a radius authentication on each interfaces. > > I'm able to set my configuration files to have a bridge between the 2 > interfaces without authentication. > I'm able to set my configuration files to have an authentication on each > interfaces but without the bridge. > I don't know how to configure my files to have both authentication and > bridge ! > Can someone help me ? > > I give you my /etc/network/interface not working : > *# loopback interface** > auto lo** > iface lo inet loopback** > # network interface** > auto eth0** > iface eth0 inet manual** > ** > auto eth1** > iface eth1 inet manual** > ** > auto br0** > iface br0 inet dhcp** > bridge_ports eth0 eth1** > ** > wpa-iface eth0 #*How to add eth1 ? If I add a new line it's not working > *wpa-bridge br0** > wpa-driver wired** > wpa-conf /etc/wpa_supplicant/wired.conf* > > > The wired.conf file for information : > *ctrl_interface=/var/run/wpa_supplicant** > ctrl_interface_group=0** > ap_scan=0** > #On configure la re-authentification rapide pour protocoles EAP** > #fast_reauth=1** > ** > network={** > ssid="lan"** > key_mgmt=IEEE8021X** > eapol_flags=0** > eap=MD5** > identity="labo"** > password="test"** > }* > > With this configuration, it's working if my interface eth0 is connected, but > it's not working if it's eth1 which is connected. > Could you tell me what I need to add in my configuration file ? > > Thanks for your help. > > Sebastien.Once you put interfaces into a bridge, all applications and services should use the bridge interface not the underlying ethernet devices because packets received on the underlying device will be absorbed by the bridge and not processed for the ethernet device. --
First, thanks for your response. My code is inspired from the ubuntu documentation but there was only one interface in the example ( https://help.ubuntu.com/community/Network802.1xAuthentication) Do you means it's not possible to do it with two interfaces ? I should be connected and authenticated on the 2 interfaces to be able to use the bridge ? Or should I authenticate the bridge ? if so how to do that !? If someone has a valid example with 2 Ethernet interfaces I'm interested by ! Sebastien. --------------------------------------------------------------------------------------------------------------> Hello, > I'm trying to configure an Ubuntu server with 2 wired interfaces set as a > bridge and I want a radius authentication on each interfaces. > > I'm able to set my configuration files to have a bridge between the 2 > interfaces without authentication. > I'm able to set my configuration files to have an authentication on each > interfaces but without the bridge. > I don't know how to configure my files to have both authentication and > bridge ! > Can someone help me ? > > I give you my /etc/network/interface not working : > *# loopback interface** > auto lo** > iface lo inet loopback** > # network interface** > auto eth0** > iface eth0 inet manual** > ** > auto eth1** > iface eth1 inet manual** > ** > auto br0** > iface br0 inet dhcp** > bridge_ports eth0 eth1** > ** > wpa-iface eth0 #*How to add eth1 ? If I add a new line it's not working > *wpa-bridge br0** > wpa-driver wired** > wpa-conf /etc/wpa_supplicant/wired.conf* > > > The wired.conf file for information : > *ctrl_interface=/var/run/wpa_supplicant** > ctrl_interface_group=0** > ap_scan=0** > #On configure la re-authentification rapide pour protocoles EAP** > #fast_reauth=1** > ** > network={** > ssid="lan"** > key_mgmt=IEEE8021X** > eapol_flags=0** > eap=MD5** > identity="labo"** > password="test"** > }* > > With this configuration, it's working if my interface eth0 is connected,but> it's not working if it's eth1 which is connected. > Could you tell me what I need to add in my configuration file ? > > Thanks for your help. > > Sebastien.Once you put interfaces into a bridge, all applications and services should use the bridge interface not the underlying ethernet devices because packets received on the underlying device will be absorbed by the bridge and not processed for the ethernet device. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20110505/2bba554d/attachment.htm