fragir
27-05-2008, 19:38
Help, please. There is wl700, WAN-PPTP connection. Default gateway for local resources is 10.9.70.1. PPTP-server is 77.50.0.100. So, all local resources are 10.x.x.x and 77.50.x.x. Routs for wl700 have set and no more changes in rc.local. Computer's network connection have set as automatic. Two static routs added for computer with gateway 192.168.1.1 (router address).
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
77.50.0.100 10.9.70.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
10.9.70.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
77.50.0.0 10.9.70.1 255.255.0.0 UG 1 0 0 eth0
192.168.0.0 10.9.70.1 255.255.0.0 UG 1 0 0 eth0
10.0.0.0 10.9.70.1 255.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 ppp0
route print
Destination Mask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 20
10.0.0.0 255.0.0.0 192.168.1.1 192.168.1.2 1
77.50.0.0 255.255.0.0 192.168.1.1 192.168.1.2 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.2 192.168.1.2 20
192.168.1.2 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.2 192.168.1.2 20
224.0.0.0 240.0.0.0 192.168.1.2 192.168.1.2 20
255.255.255.255 255.255.255.255 192.168.1.2 192.168.1.2 1
Default gateway: 192.168.1.1
Static routs:
Destination Mask Gateway Metric
10.0.0.0 255.0.0.0 192.168.1.1 1
77.50.0.0 255.255.0.0 192.168.1.1 1
As a result - there are no problems with connection from router - both local and internet resources are available. But there is no access to local resoures (10.x.x.x and 77.50.x.x) resources from computer (except 10.9.70.34 - router address). It seems problem not router, but computer, but I have no idea what is the reason. What I've missed to get it work?
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
77.50.0.100 10.9.70.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
10.9.70.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
77.50.0.0 10.9.70.1 255.255.0.0 UG 1 0 0 eth0
192.168.0.0 10.9.70.1 255.255.0.0 UG 1 0 0 eth0
10.0.0.0 10.9.70.1 255.0.0.0 UG 1 0 0 eth0
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 ppp0
route print
Destination Mask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 20
10.0.0.0 255.0.0.0 192.168.1.1 192.168.1.2 1
77.50.0.0 255.255.0.0 192.168.1.1 192.168.1.2 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.2 192.168.1.2 20
192.168.1.2 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.2 192.168.1.2 20
224.0.0.0 240.0.0.0 192.168.1.2 192.168.1.2 20
255.255.255.255 255.255.255.255 192.168.1.2 192.168.1.2 1
Default gateway: 192.168.1.1
Static routs:
Destination Mask Gateway Metric
10.0.0.0 255.0.0.0 192.168.1.1 1
77.50.0.0 255.255.0.0 192.168.1.1 1
As a result - there are no problems with connection from router - both local and internet resources are available. But there is no access to local resoures (10.x.x.x and 77.50.x.x) resources from computer (except 10.9.70.34 - router address). It seems problem not router, but computer, but I have no idea what is the reason. What I've missed to get it work?