Adding a new route
Hi all I have a simple problem:
1) I get an IP and default gw from DHCP.
2) I need to sometimes connect to an external vpn. To do this, I use a
program called pptpconfig .
3) When connecting via pptpconfig, I authenticate but the same default
gw is there. So:
original dhcp gw: 10.101.44.1
vpn gw I need to use sometimes: 192.168.2.101
So I do:
route del default gw 10.101.44.1
route add default gw 192.168.2.101
That gives me everything on the vpn, but then I don't have internate /
local lan access. How can I get both the vpn and local lan access.
Thanks!
Robert
.
Relevant Pages
- Re: DNS and NetBIOS names not resolving over a PPTP VPN using RRAS
... whatever DNS and WINS wettings are on the VPN server will be inherited ... by all VPN clients. ... with the DHCP Relay Agent. ... (microsoft.public.windows.server.networking) - Re: VPN Folder Sharing
... PPP adapter RAS Server Interface: ... > If you allocate a static IP to your VPN Server, ... > static IP address is within the sub-net of the router, but outside the DHCP ... > DHCP pool range is 192.168.0.100 and higher, then you should allocate static ... (microsoft.public.windowsxp.work_remotely) - Re: DNS and NetBIOS names not resolving over a PPTP VPN using RRAS
... by all VPN clients. ... What if the VPN server has more than one network ... I have a separate DHCP server on the remote ... To assign the DNS and WINS to a VPN client for name resolution, ... (microsoft.public.windows.server.networking) - RE: VPN, RRAS & DHCP
... DHCP correctly bound to Internal NIC. ... ISA firewall client was not used by the VPN client computer ... Check the status of the local server. ... <only when RRAS is set to obtain IP address from DHCP server. ... (microsoft.public.windows.server.sbs) - Re: Using DNS servers with DHCP
... When you get your network config from DHCP, you are allocated an IP with a lease time. ... When you get your network config from a VPN server it is usually only active for the duration of the connection. ... Microsoft VPN avoids this problem by having the RRAS server lease the IPs from DHCP, then allocating them to remote clients for the duration of the connection. ... If the remote machine itself registers the IP in DNS, it should be released when the connection is closed. ... (microsoft.public.windows.server.networking) |
|