Thread: Can't bridge wireless and wired interfaces
i have wired , wireless interface on system, , i'd bridge them. need broadcast packets pass between interfaces, because need system on ra0 interface able discover ethernet controller on eth0 interface. after reading online, seems need create bridge between wired , wireless interfaces. when that, wireless interface gets disconnected, , reconnecting not successful. when delete bridge, wireless interface connects immediately.
here network configuration:
to add bridge docode:eth0 link encap:ethernet hwaddr d4:85:64:9f:06:9e inet addr:192.168.2.1 bcast:192.168.2.255 mask:255.255.255.0 inet6 addr: fe80::d685:64ff:fe9f:69e/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:68682060 errors:0 dropped:0 overruns:0 frame:0 tx packets:32981721 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:73761967812 (73.7 gb) tx bytes:35411582728 (35.4 gb) interrupt:42 lo link encap:local loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr: ::1/128 scope:host loopback running mtu:16436 metric:1 rx packets:146073100 errors:0 dropped:0 overruns:0 frame:0 tx packets:146073100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 rx bytes:141196736823 (141.1 gb) tx bytes:141196736823 (141.1 gb) ra0 link encap:ethernet hwaddr 68:7f:74:7d:06:69 inet addr:192.168.1.224 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::6a7f:74ff:fe7d:669/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:1652713 errors:27 dropped:1 overruns:0 frame:0 tx packets:707681 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:284969278 (284.9 mb) tx bytes:931799232 (931.7 mb)
here routing tablecode:sudo brctl addbr br0 sudo brctl addif br0 eth0 sudo brctl addif br0 ra0
code:kernel ip routing table destination gateway genmask flags metric ref use iface 192.168.2.0 * 255.255.255.0 u 1 0 0 eth0 192.168.1.0 * 255.255.255.0 u 2 0 0 ra0 link-local * 255.255.0.0 u 1000 0 0 eth0 default 192.168.1.1 0.0.0.0 ug 0 0 0 ra0
hello
interfaces, need setup routing between interfaces.
difference between bridging , routing bridging, connects 2 interfaces on same subnet,
, both of them on eg 192.168.1.x network, or 192.168.2.x network.
if have interfaces on 2 different interfaces, then have route between 2 networks.
when device on 1 network (ra0) needs contact on eth0 network, device needs know send traffic ra0 eth0 , machine knows how route between two,
doing change approach, if want route between interfaces here detailed guide
also, consider using ics if want share eth0 connection lan devices
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Can't bridge wireless and wired interfaces
Ubuntu
Comments
Post a Comment