From: <roy...@ya...> - 2002-09-30 17:07:49
|
Yes I've compiled with 802.1d Ethernet Bridging but not with 802.2 LLC encapsulation. I've done again some tests. Connected to my ATM card, I've a ATM switch which sends ATM traffic (Ethernet Bridge PVC 0/40), the nas0 is also bound to the pvc 0/40 (br2684ctl -b -c 0 -a 0.0.40). The nas0 interface doesn't receive traffic (RX=0 and tcpdump -n -i nas0 -> 0 packet). I've also tried again the brctl command. I added eth0 and nas0 in br0, and when br0 becomes up, the Eth0 traffic is bridged to nas0 == the computer is crashed. If you have some explanations... thanks. Roy David --- Alex Zeffertt <aj...@ca...> a écrit : > On Mon, 30 Sep 2002, david roy wrote: > > You say that your kernel has br2684 encapsulation compiled in. But does > it have bridging? > > Networking Options ---> > <*> 802.1d Ethernet Bridging > > Alex > > > > Hi, > > > > I still have problems when I add the nas0 interface into the bridge: > > > > >> brctl addif br0 nas0 > > > > after this command my computer is crached. > > > > The /var/log/messages file gives the following information: > > > > >>Sep 26 16:40:39 Sation kernel: br0: port 1(eth0) entering listening state > > >>Sep 26 16:40:54 Sation kernel: br0: port 1(eth0) entering learning state > > >>Sep 26 16:41:09 Sation kernel: br0: port 1(eth0) entering forwarding state > > >>Sep 26 16:41:51 Sation kernel: br0: port 2(nas0) entering listening state > > --> here, the computer is crashed > > > > I think that the nas0 doesn't enter in learning state. > > > > On the other hand, the br2684ctl -b -c 0 -a 0.0.40 gives the follwing messages: > > > > >>create:0 > > >>text2atm:0 > > >>Communicating over ATM 0.0.40 > > >>setsockopt SO_SNDBUF: (0) Success > > >>assign:-1 > > >>Background pid: 1253 > > > > > > I think that my ATM card works well. The idt77105.o and the nicstar.o modules are > > loaded (lsmod ok). Moreover, i've tested my card in CLIP (atmarp deamon). > > > > > > Do you have a solution regarding to the bridging problem? > > > > Thanks, > > Regards. > > > > Roy David. > > > > > > > > > > > > > > > > > > > > --- Alex Zeffertt <aj...@ca...> a écrit : > On Mon, 30 Sep 2002, david roy > wrote: > > > > > > > hi, > > > > > > > > I've got a linux RedHat 7.2 with the 2.4.19 kernel. My PC has 2 interfaces: > > > > > > > > - The first one: is an ethernet card. > > > > - The second one: is an ATM card (ForeRunnerLE 25). > > > > > > > > N.B.: Those cards run well. > > > > > > > > I wish to carry out a bridge between the Ethernet card and the ATM card. I want that all > > > > the frames, received on the Ethernet card, will be bridged on the ATM card according to > > > > the RFC 2684 (LLC mode). I tried to use the br2684ctl command: "br2684ctl -c 0 -a 0.0.32" > but > > > > it doesn't run well. > > > > > > > > > > This command line looks okay, except that maybe you want to use the -b > > > switch to make it run as a daemon in the background. > > > > > > > > > > I built my Kernel with the following option: > > > > > > > > RFC 1483/2684 [Y] > > > > > > > > I created a nas0 interface but when I write on this one my computer crashed. The log in > > > > the /var/log/messages file is: > > > > > > > > > > What do you mean by "when I write on this"? Did you use ifconfig to give > > > nas0 an ip address? What you really want to do is use brctl to create a > > > bridge and add your two interfaces (eth0 and nas0) to it. Here's how: > > > > > > # put the Ethernet interface into promiscuous mode > > > /sbin/ifconfig eth0 0.0.0.0 > > > > > > # create the bridge and add the Ethernet interface to it > > > brctl addbr br0 > > > brctl addif br0 eth0 > > > > > > # bring up the bridge > > > /sbin/ifconfig br0 10.0.0.1 up # REPLACE THIS IP ADDRESS! > > > > > > # create a 1483/2684 interface named nas0 > > > br2684ctl -b -c 0 -a 0.0.32 # REPLACE THIS ITF/VPI/VCI! > > > > > > # set the HW address of the NAS interface > > > /sbin/ifconfig nas0 hw ether 00:01:01:01:01:01 # REPLACE THIS MAC ADDR! > > > > > > # and enable it > > > /sbin/ifconfig nas0 up > > > > > > # add the NAS interface to the bridge > > > brctl addif br0 nas0 > > > > > > > Kernel: br2684_create: register_netdev failed > > > > > > > > > > Have you checked whether this VC is in use (see /proc/net/atm/vc) > > > > > > Alex > > > > > > > Anybody know how to carry out an Ethernet/ATM bridge ? > > > > how to use the br2684ctl command? > > > > > > > > > > > > > See above > > > > > > > Thanks. > > > > Regards. > > > > > > > > Roy David. > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ > > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > > > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Linux-atm-general mailing list > > > > Lin...@li... > > > > https://lists.sourceforge.net/lists/listinfo/linux-atm-general > > > > > > > > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > > Yahoo! Mail : http://fr.mail.yahoo.com > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com |