http://gargoyle-router.com/phpbb/viewto ... t=51&p=155
One peculiarity: the LAN port and Wifi port, although both served by the same 192.168.1.x net and the same DHCP server, are not bridged. That is, I can connect host X to wifi and host Y to the LAN port, and I can ping hosts X and Y from the Fonera+ directly. However, I can not ping host X from host Y, failing on "Destination Port Unreachable." Likewise, TCP connections b/w the wifi and LAN port. I do not have the "isolate wifi clients" option checked.
I'm not immediately seeing the problem, but it looks as tho the virtual interface "br-lan" should include more than than just the physical interface eth0.0?
Here my current /etc/config/network
Code: Select all
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'ifname' 'eth0.0'
option dns '192.168.1.1 <DNS1> <DNS2>'
config 'interface' 'wan'
option 'ifname' 'eth0.1'
option 'proto' 'static'
option 'ipaddr' '<my IP>''
option 'netmask' '255.255.255.0'
option gateway '<my gw>'
Code: Select all
config 'wifi-device' 'wifi0'
option 'type' 'atheros'
option 'channel' '10'
config 'wifi-iface' 'cfg2'
option 'device' 'wifi0'
option 'mode' 'ap'
option 'network' 'lan'
option 'ssid' 'foofoo'
option 'encryption' 'none'
Code: Select all
ath0 Link encap:Ethernet HWaddr 00:18:...:1D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39631 errors:0 dropped:19819 overruns:0 frame:0
TX packets:19343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8368626 (7.9 MiB) TX bytes:5322818 (5.0 MiB)
br-lan Link encap:Ethernet HWaddr 00:18:...:1C
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19999 errors:0 dropped:0 overruns:0 frame:0
TX packets:19387 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4069257 (3.8 MiB) TX bytes:5374154 (5.1 MiB)
eth0 Link encap:Ethernet HWaddr 00:18:...:1C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20706 errors:0 dropped:0 overruns:0 frame:0
TX packets:20652 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5021881 (4.7 MiB) TX bytes:4642646 (4.4 MiB)
Interrupt:255 Base address:0x1000
eth0.0 Link encap:Ethernet HWaddr 00:18:...:1C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:216 errors:0 dropped:0 overruns:0 frame:0
TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31848 (31.1 KiB) TX bytes:69518 (67.8 KiB)
eth0.1 Link encap:Ethernet HWaddr 00:18:...:1C
inet addr:<my ip> Bcast:<my bcast> Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20490 errors:0 dropped:0 overruns:0 frame:0
TX packets:20370 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4658737 (4.4 MiB) TX bytes:4527033 (4.3 MiB)
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16000 Metric:1
RX packets:17979 errors:0 dropped:0 overruns:0 frame:0
TX packets:17979 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:4350739 (4.1 MiB) TX bytes:4350739 (4.1 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4456 (4.3 KiB) TX bytes:4456 (4.3 KiB)
wifi0 Link encap:UNSPEC HWaddr 00-18-...-1D-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:46253 errors:0 dropped:0 overruns:0 frame:179
TX packets:19659 errors:134 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:195
RX bytes:6930412 (6.6 MiB) TX bytes:5782249 (5.5 MiB)
Interrupt:3 Memory:b0000000-b00ffffc
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
<wan subnet> * 255.255.255.0 U 0 0 0 eth0.1
default <my gw> 0.0.0.0 UG 0 0 0 eth0.1