problems using bridge

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

 



Hi,
        I use the bridge these days but I come up with some problems when I use it.
        I add two wifi interfaces to the bridge I call it "br0" . What I do is as follows :
 #brctl addbr br0
#brctl addif br0 eth0
#brctl addif br0 eth1
#ifconfig eth0 0.0.0.0
#ifconfig eth1 0.0.0.0
#ifconfig br0 up
#dhclient br0
       The AP gives br0 the address 172.31.24.68 and the gateway is 172.31.24.1 (this detailed address maybe not important though)
      I use the command ifconfig and find that the br0's mac is the same as eth1's . When both the two wifi interfaces are up ,there's no problem when PING the gateway . But when I ifconfig eth1 down , PING the gateway again ,it shows destination host unreachable . But when I ifconfig eth0 down , it doesn't affect PING the gateway . I think this may because br0 is bound to eth1 , the traffic pass through eth1 .
      Now here comes the problem . I want br0 bound to eth0 ,what should I do ?
     I'm looking forward to your answer and I'm eager to know it. Thank you very much .




_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux