Sandros
03-08-2004, 12:06
Hi there :) , my router is connected to a LAN, using an IP like 172.20.., over this LAN the 500g connects to internet via a PPPOE, giving me an IP in the 145... range.
When I connect to internet I am unable to access my 172... LAN (lan.local) from behind my router. I managed so far that I can ping lan.local from the ssh prompt on the router, (by adding the 172..DNS-server and the inet DNS server) however this is not possible from behind the router. Therefore I thought that it would be neccesary to ad some routing, but without success so far :( . Can anybody help me?!
Sandros'WLAN<> ASUS500G <> LAN (172.20..) / pppoe (145.94..)<>inet
~ # ifconfig
br0 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
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:4009 errors:0 dropped:0 overruns:0 frame:0
TX packets:5262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:315646 (308.2 KiB) TX bytes:4485969 (4.2 MiB)
eth0 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:353 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5886 (5.7 KiB) TX bytes:116798 (114.0 KiB)
Interrupt:3 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
inet addr:172.20.xx.xxx Bcast:172.20.255.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127144 errors:2 dropped:0 overruns:0 frame:0
TX packets:4236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13507178 (12.8 MiB) TX bytes:335931 (328.0 KiB)
Interrupt:4 Base address:0x8000
eth2 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:3960 errors:0 dropped:0 overruns:0 frame:295619
TX packets:5367 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:366034 (357.4 KiB) TX bytes:4541225 (4.3 MiB)
Interrupt:6 Base address:0x2000
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:8950 errors:0 dropped:0 overruns:0 frame:0
TX packets:8950 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:818769 (799.5 KiB) TX bytes:818769 (799.5 KiB)
ppp0 Link encap:Point-Point Protocol
inet addr:145.94.xx.xx P-t-P:145.94.1.0 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3745 errors:0 dropped:0 overruns:0 frame:0
TX packets:2857 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4210803 (4.0 MiB) TX bytes:230363 (224.9 KiB)
~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
145.94.1.0 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
172.20.72.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
239.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0
0.0.0.0 145.94.1.0 0.0.0.0 UG 0 0 0 ppp0
~ #
When I connect to internet I am unable to access my 172... LAN (lan.local) from behind my router. I managed so far that I can ping lan.local from the ssh prompt on the router, (by adding the 172..DNS-server and the inet DNS server) however this is not possible from behind the router. Therefore I thought that it would be neccesary to ad some routing, but without success so far :( . Can anybody help me?!
Sandros'WLAN<> ASUS500G <> LAN (172.20..) / pppoe (145.94..)<>inet
~ # ifconfig
br0 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
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:4009 errors:0 dropped:0 overruns:0 frame:0
TX packets:5262 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:315646 (308.2 KiB) TX bytes:4485969 (4.2 MiB)
eth0 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:353 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5886 (5.7 KiB) TX bytes:116798 (114.0 KiB)
Interrupt:3 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
inet addr:172.20.xx.xxx Bcast:172.20.255.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:127144 errors:2 dropped:0 overruns:0 frame:0
TX packets:4236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13507178 (12.8 MiB) TX bytes:335931 (328.0 KiB)
Interrupt:4 Base address:0x8000
eth2 Link encap:Ethernet HWaddr 00:E0:18:06:2A:B3
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:3960 errors:0 dropped:0 overruns:0 frame:295619
TX packets:5367 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:366034 (357.4 KiB) TX bytes:4541225 (4.3 MiB)
Interrupt:6 Base address:0x2000
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:8950 errors:0 dropped:0 overruns:0 frame:0
TX packets:8950 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:818769 (799.5 KiB) TX bytes:818769 (799.5 KiB)
ppp0 Link encap:Point-Point Protocol
inet addr:145.94.xx.xx P-t-P:145.94.1.0 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3745 errors:0 dropped:0 overruns:0 frame:0
TX packets:2857 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4210803 (4.0 MiB) TX bytes:230363 (224.9 KiB)
~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
145.94.1.0 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
172.20.72.0 0.0.0.0 255.255.252.0 U 0 0 0 eth1
239.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0
0.0.0.0 145.94.1.0 0.0.0.0 UG 0 0 0 ppp0
~ #