Built in VPN with Cisco IOS IPsec: not working due to 2 default routes
Hello,
I'm trying to establish a full tunneling VPN (not split tunneling) between the built in VPN Mac client and a router Cisco IOS 871.
I think my config on the Cisco router is ok because with a client like VPN tracker, all is working.
With the built in client, after the session is launched and well established, I got 2 default routes, so the traffic is not well routed.
To give you more details, the result of "netstat -nr -f inet" at differents steps:
- Before launching the vpn:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.8.254 UGSc 10 3 en1
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 1 236 lo0
169.254 link#4 UCS 0 0 en1
192.168.8 link#4 UCS 2 0 en1
192.168.8.38 127.0.0.1 UHS 0 1 lo0
192.168.8.254 0:24:d4:5c:5a:c UHLWIi 11 1829 en1 1199
192.168.8.255 ff:ff:ff:ff:ff:ff UHLWbI 0 34 en1
- when the vpn session is established with Mac built-in client:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.8.254 UGSc 8 0 en1
default utun0 UCSI 0 0 utun0
10.0.128.206 10.0.128.206 UH 0 0 utun0
127 127.0.0.1 UCS 0 18 lo0
127.0.0.1 127.0.0.1 UH 1 11652 lo0
169.254 link#4 UCS 0 0 en1
178.23.33.193 192.168.8.254 UGHS 0 0 en1
192.168.8 link#4 UCS 3 0 en1
192.168.8.38 127.0.0.1 UHS 1 1 lo0
192.168.8.254 0:24:d4:5c:5a:c UHLWIi 16 2716 en1 1195
192.168.8.255 ff:ff:ff:ff:ff:ff UHLWbI 0 2 en1
- when the vpn session is established with VPN tracker client:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default gif0 UGSc 10 5 gif0
127 127.0.0.1 UCS 0 18 lo0
127.0.0.1 127.0.0.1 UH 1 11656 lo0
127.1.2.3 10.0.128.206 UH 0 0 gif0
169.254 link#4 UCS 0 0 en1
178.23.33.193 192.168.8.254 UGHS 2 0 en1
192.168.8 link#4 UCS 2 0 en1
192.168.8.38 127.0.0.1 UHS 0 1 lo0
192.168.8.254 0:24:d4:5c:5a:c UHLWIi 1 2769 en1 1199
192.168.8.255 ff:ff:ff:ff:ff:ff UHLWbI 0 30 en1
I tried to check on logs, the only point I found is this one, during establishment of VPN session with built-in client:
Aug 26 23:18:32 TRI-MAC-GD configd[16]: IPSec Network Configuration: SPLIT-INCLUDE.
Aug 26 23:18:32 TRI-MAC-GD configd[16]: host_gateway: write routing socket failed, command 2, No such process
Aug 26 23:18:32 TRI-MAC-GD configd[16]: cannot write on routing socket: File exists (address 0.0.0.0, gateway 10.0.128.206)
Do you have any idea about this issue?
Thank you,
Regards,
Gauthier
MacBook Pro, Mac OS X (10.7.1)