[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bridging ethernet problem



Hi all,

sorry guys for my english, I need help for configuring ethernet bridging
into debian sparc.
I have installed Debian GNU/Linux (woody) into SUN Netra X1, I compiled
2.4.25 kernel with 802.1d Ethernet Bridging support, I have installed
bridge-utils 0.9.5-2, I have read many documentations (Bridging FAQ and
Bridging HOWTO).


I create the virtual interface br0
brctl addbr br0
When I add the ethernet interfaces I recive this message:
brctl addif br0 eth0
bridge br0 doesn't exist!
Why not?

brctl addbr br0
device br0 already exists; can't create bridge with the same name

Note that the bridge module is loaded (viewable with lsmod)

bridge:~# lsmod 
Module                  Size  Used by    Not tainted
bridge                 19560   1 
tulip                  45160   2 

brctl show :
bridge name     bridge id               STP enabled     interfaces
bridge:~# cat /proc/net/dev
Inter-|   Receive                                                | 
Transmit
 face |bytes    packets errs drop fifo frame compressed
multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:     465       5    0    0    0     0          0         0     
465       5    0    0    0     0       0          0
  eth0:  139630    1906    0    0    0     0          0         0       
0       0    0    0    0     0       0          0
  eth1:  139895    1905    0    0    0     0          0         0       
0       0    0    0    0     0       0          0
   br0:       0       0    0    0    0     0          0         0       
0       0    0    0    0     0       0          0




This is my /etc/network/interface
auto lo eth0 eth1 br0
iface lo inet loopback

iface eth0 inet static
        address 0.0.0.0
        netmask 0.0.0.0
iface eth1 inet static
        address 0.0.0.0
        netmask 0.0.0.0
iface br0 inet static
        address 0.0.0.0
        netmask 0.0.0.0
        bridge_ports eth0 eth1
        bridge_bridgeprio 32767
        bridge_portprio eth1 129
        bridge_fd 5

The outpu of ifconfig:

br0       Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:03:BA:05:C8:0F  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1852 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:135696 (132.5 KiB)  TX bytes:0 (0.0 b)
          Interrupt:64 Base address:0x2000 

eth1      Link encap:Ethernet  HWaddr 00:03:BA:05:C8:0E  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1875 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:137612 (134.3 KiB)  TX bytes:0 (0.0 b)
          Interrupt:128 



thanks to all for your patience and you excuse me for the mail thus long


Andrea





Reply to: