I’ve been having some WIFI issues, mainly speed not being what I’d like it to be, so I decided to move some heavy hitter devices from wireless connection to wired, but I wanted to keep them in the BLUE zone. I figured a simple bridge would suffice. I used a spare ethernet port (eth2) and bridged it with wlan0. I did that by selecting “bridge” mode for BLUE in zone configuration and then assigned both wlan0 and eth2 as “native” for that zone. After a restart the bridge seems to be created and working:
brctl show output
bridge name bridge id STP enabled interfaces
blue0 8000.02501c41d748 no eth2
wlan0
ifconfig output
blue0 Link encap:Ethernet HWaddr 02:50:1C:41:D7:48
inet addr:192.168.2.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:897674 errors:0 dropped:0 overruns:0 frame:0
TX packets:4176736 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:103949218 (99.1 Mb) TX bytes:5858893628 (5587.4 Mb)
eth2 Link encap:Ethernet HWaddr 0C:C4:7A:40:CB:C4
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8893 errors:0 dropped:993 overruns:0 frame:0
TX packets:40649 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:933246 (911.3 Kb) TX bytes:4702261 (4.4 Mb)
Memory:df120000-df13ffff
green0 Link encap:Ethernet HWaddr 0C:C4:7A:40:CB:C3
inet addr:192.168.1.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1418039 errors:0 dropped:0 overruns:0 frame:0
TX packets:2086485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:443507918 (422.9 Mb) TX bytes:2163611373 (2063.3 Mb)
Memory:df140000-df15ffff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:7239 errors:0 dropped:0 overruns:0 frame:0
TX packets:7239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:464907 (454.0 Kb) TX bytes:464907 (454.0 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:216.160.122.98 P-t-P:63.231.10.67 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1492 Metric:1
RX packets:6184557 errors:0 dropped:0 overruns:0 frame:0
TX packets:2242815 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:7889645968 (7524.1 Mb) TX bytes:521362298 (497.2 Mb)
red0 Link encap:Ethernet HWaddr 0C:C4:7A:40:CB:C2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6188039 errors:0 dropped:0 overruns:0 frame:0
TX packets:2246296 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8026517298 (7654.6 Mb) TX bytes:570808736 (544.3 Mb)
Memory:df160000-df17ffff
wlan0 Link encap:Ethernet HWaddr 04:F0:21:80:06:88
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1189898 errors:0 dropped:0 overruns:0 frame:0
TX packets:4502378 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:321089905 (306.2 Mb) TX bytes:6157602349 (5872.3 Mb)
Based on this it seems like it will work OK, but wired connection doesn’t work. Wireless works fine, but if I connect a client to the wired it doesn’t. One issue I see is that DHCP gives a bogus 192.168.2.127 address, which is a loopback. If i assign a static IP it appears that I can ping local addresses, but can’t ssh or access them in any way. I tried adding “bridge=blue0” in /etc/hostapd.conf, but that didn’t seem to help.
Can anyone point me in the right direction on how to bridge wlan0 and eth2 together properly?
Thanks.