Questions

Cisco VPN Client can't access internet when connected

Tags:
+
0 Votes
Locked

Cisco VPN Client can't access internet when connected

congers
Here is the problem. When I connect to some of the companies that I consult for using the cisco vpn client I can use the internet. They have split tunneling turned off. So I can fix this by enabling split tunneling. I also have allow local LAN on but that doesn't make a differece.

SOOOO, I am wondering if I have 2 NIC cards in the machine and I use 1 to connect to the VPN can I use the other to connect to the internet? The problem being I have one DSL router that controls my work. It is the DHCP and my way to the outside world. I was thinking that if I set up 1 NIC card (subnet A 192.168.1.2 mask 255.255.0.0 statically set with gateway of 192.168.2.2 (Dlink Game Lounger 4300 and DNS statically set to what the router has) and the other NIC as subnet B (192.168.2.143 mask 255.255.255.0 dynamically given out by the DHCP)

Now the DLink Game Lounger has 2 routes added to the routing table:

192.168.1.2 (NIC 1 subnet A) mask 255.255.0.0 gateway 192.168.2.2 (DLINK Router IP)

192.168.1.0 (NIC 1 subnet A) mask 255.255.0.0
gateway 0.0.0.0

I am running windows XP and I have IPForwarding enabled.

I haven't been able to connect to VPN and get to the internet. Any help would be greatly appreciated.

Thanks,
Susan
  • +
    0 Votes
    m_sonnoti

    make your internet GW the default GW and add static route to your VPN

    Try
    route -p add xx.xx.xx.xx mask 255.X.X.X YY.YY.YY.YY metric N
    when:
    xx.xx.xx.xx = destination IP
    255.X.X.X = destination Subnet mask
    YY.YY.YY.YY = the gateway
    N = The metric "the cost of gateway"

    +
    0 Votes
    m7spark

    It seems the routing table as defined in your cisco connection prevents you from accessing the internet..

    In windows xp, you can change that manually as follows:
    route delete 0.0.0.0
    route add 0.0.0.0 mask 0.0.0.0 10.101.24.1
    route add 10.160.121.0 mask 255.255.255.0 10.160.136.47

    where:
    10.101.24.1 ==> is my internet gateway as seen in ipconfig
    10.160.121.0 ==> is the subnet of the servers I want to access through VPN
    10.160.136.47 ==> is the cisco client ip as seen in vpn statistics

  • +
    0 Votes
    m_sonnoti

    make your internet GW the default GW and add static route to your VPN

    Try
    route -p add xx.xx.xx.xx mask 255.X.X.X YY.YY.YY.YY metric N
    when:
    xx.xx.xx.xx = destination IP
    255.X.X.X = destination Subnet mask
    YY.YY.YY.YY = the gateway
    N = The metric "the cost of gateway"

    +
    0 Votes
    m7spark

    It seems the routing table as defined in your cisco connection prevents you from accessing the internet..

    In windows xp, you can change that manually as follows:
    route delete 0.0.0.0
    route add 0.0.0.0 mask 0.0.0.0 10.101.24.1
    route add 10.160.121.0 mask 255.255.255.0 10.160.136.47

    where:
    10.101.24.1 ==> is my internet gateway as seen in ipconfig
    10.160.121.0 ==> is the subnet of the servers I want to access through VPN
    10.160.136.47 ==> is the cisco client ip as seen in vpn statistics