Re: Adding a new route
- From: "robert" <robertlazarski@xxxxxxxxx>
- Date: 28 Aug 2006 09:36:51 -0700
Allen McIntosh escreveu:
3) When connecting via pptpconfig, I authenticate but the same default
gw is there. So:
original dhcp gw: 10.101.44.1
pptp needs to have some way to get packets to the network at the other
end, so you need to keep this entry.
vpn gw I need to use sometimes: 192.168.2.101What network do you need to contact?
You really need to give us more information. Post the output of "route
-n" before and after starting pptp, and tell us a bit more about the VPN.
To the other poster, I tried:
route add -net 192.168.2.101 netmask 255.255.255.255 dev eth0
But still had the same problem - I can't 'ping 192.168.2.93' .
Before:
/root> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.101.40.0 0.0.0.0 255.255.248.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 10.101.45.1 0.0.0.0 UG 0 0 0
eth0
After pptpconfig (24.199.x.x of course fictitious) :
/root> route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
24.199.x.x 10.101.45.1 255.255.255.255 UGH 0 0 0
eth0
192.168.2.101 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
10.101.40.0 0.0.0.0 255.255.248.0 U 0 0 0
eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 10.101.45.1 0.0.0.0 UG 0 0 0
eth0
Still can't 'ping 192.168.2.93' . The only way I can ping so far is
by:
linux(root)]
/root> route del default gw 10.101.45.1
[linux(root)]
/root> route add default gw 192.168.2.101
The only info I have on the vpn is its microsoft. Thanks for any help,
Robert
.
- Follow-Ups:
- Re: Adding a new route
- From: Allen McIntosh
- Re: Adding a new route
- References:
- Adding a new route
- From: robert
- Re: Adding a new route
- From: Allen McIntosh
- Adding a new route
- Prev by Date: Re: Adding a new route
- Next by Date: Re: Best router appliance with integrated DNS
- Previous by thread: Re: Adding a new route
- Next by thread: Re: Adding a new route
- Index(es):
Relevant Pages
|