DMoL Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 May 2006 Posts: 100 Location: Minsk, Belarus
|
Posted: Wed Aug 30, 2006 8:30 pm Post subject: pptp and routing |
|
|
Where is ADSL in my home-LAN (192.168.102.253)
When I have explicit route to it, then I have internet access, otherwise I have no. What am I misunderstanding? As I think, explicit route should be unnecessary...
"Right configuration"
Code: | blackchains 23:20 ~ #netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
217.21.51.32 192.168.102.253 255.255.255.255 UGH 0 0 0 eth0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217.21.51.0 192.168.102.253 255.255.255.0 UG 0 0 0 eth0
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
blackchains 23:20 ~ #pon aichyna
blackchains 23:21 ~ #netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
217.21.51.32 192.168.102.253 255.255.255.255 UGH 0 0 0 eth0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217.21.51.32 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
217.21.51.0 192.168.102.253 255.255.255.0 UG 0 0 0 eth0
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 217.21.51.32 0.0.0.0 UG 0 0 0 ppp0
blackchains 23:21 ~ #poff aichyna
blackchains 23:21 ~ #netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
217.21.51.32 192.168.102.253 255.255.255.255 UGH 0 0 0 eth0
217.21.51.0 192.168.102.253 255.255.255.0 UG 0 0 0 eth0
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
[b]"Wrong configuration"[/b] :
blackchains 23:21 ~ #route del 217.21.51.32
blackchains 23:21 ~ #netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
217.21.51.0 192.168.102.253 255.255.255.0 UG 0 0 0 eth0
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
blackchains 23:21 ~ #pon aichyna
blackchains 23:22 ~ #netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
217.21.51.32 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
???????????????????????????
217.21.51.0 192.168.102.253 255.255.255.0 UG 0 0 0 eth0
192.168.102.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 217.21.51.32 0.0.0.0 UG 0 0 0 ppp0
|
|
|