Temat: Brak internetu w LAN, jest na openwrt
witam
robie z przymusu udostepnianie aero2 z openwrt dla lanu
sprawa wyglada dziwnie - jedyne co zmienialem to podsiec - uzywam aktualnie 192.168.0.0/24
na openwrt sierra dziala pieknie (jest to jako wan2), wan aktualnie brak (stad ten przymus
)
na komputerze podlaczonym do openwrt przez lan bramka - 192.168.0.15 (ip openwrt), pingi ida do openwrt ladnie, ale pingi do dns 8.8.8.8 juz nie
config:
root@OpenWrt:~# ifconfig
3g-wan2 Link encap:Point-to-Point Protocol
inet addr:84.39.168.176 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:772 (772.0 B) TX bytes:1094 (1.0 KiB)
br-lan Link encap:Ethernet HWaddr 00:27:xx:xx:xx:xx
inet addr:192.168.0.15 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1960 errors:0 dropped:403 overruns:0 frame:0
TX packets:581 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:225680 (220.3 KiB) TX bytes:135358 (132.1 KiB)
eth0 Link encap:Ethernet HWaddr 00:27:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2418 errors:0 dropped:89 overruns:119706 frame:0
TX packets:662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:407593 (398.0 KiB) TX bytes:169444 (165.4 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr 00:27:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2134 errors:0 dropped:0 overruns:0 frame:0
TX packets:584 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:301436 (294.3 KiB) TX bytes:135496 (132.3 KiB)
eth0.2 Link encap:Ethernet HWaddr 00:27:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:30261 (29.5 KiB)
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:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6814 (6.6 KiB) TX bytes:6814 (6.6 KiB)
root@OpenWrt:~# ping wp.pl
PING wp.pl (212.77.100.101): 56 data bytes
64 bytes from 212.77.100.101: seq=0 ttl=249 time=268.865 ms
^C
--- wp.pl ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 268.865/268.865/268.865 ms
root@OpenWrt:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.64.64.64 0.0.0.0 UG 0 0 0 3g-wan2
10.64.64.64 * 255.255.255.255 UH 0 0 0 3g-wan2
192.168.0.0 * 255.255.255.0 U 0 0 0 br-lanco decyduje, ze openwrt wie ze ma udostepnic to czy inne lacze dla lan? intertnet connection sharing jakis? ![]()
tcpdump pokazuje, ze dochodza zapytania z komputera do dhcp, ale ten juz nie odpowiada ![]()
probowalem: /etc/init.d/firewall stop ale to nie pomaga
na komputerze wylaczylem tez zapore
jakies pomysly? ![]()
Za pomoc Cezarego w poscie powyzej i ponizej dziekuje z gory :-)