I have a L2TP over IPsec VPN set up on my EdgeRouter. I have this VPN set up on my Mac. Sometimes once I connect to the VPN from my Mac, some traffic will route correctly and some will not. For example, I can ping/access some of my subnets, but not others.
I have some 172.20.x.x subnets and some 10.x.x.x subnets configured on my EdgeRouter. Over VPN, I can ping the 172.x subnets, but not the 10.x subnets.
How does the EdgeRouter/VPN tell the Mac which subnets to route through it upon connection?
The IP my VPN connection grabbed is: 172.20.20.100.
Here is what the routing table on my mac looks like:
$ netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.16.64.10 UGSc 168 138 en0 default link#11 UCSI 1 0 ppp0 10.255.255.0 172.20.20.100 UH 2 21 ppp0 73.223.193.19 172.16.64.10 UGHS 1 0 en0 127 127.0.0.1 UCS 1 0 lo0 127.0.0.1 127.0.0.1 UH 8 99771 lo0 172.16 link#4 UCS 2 0 en0 172.16.18.90/32 link#4 UCS 1 0 en0 172.16.64.10/32 link#4 UCS 2 0 en0 172.16.64.10 0:1b:xx:xx:xx:xx UHLWIir 171 130 en0 466 172.16.255.255 link#4 UHLWbI 1 24 en0 172.20 ppp0 USc 2 2 ppp0 224.0.0/4 link#4 UmCS 3 0 en0 224.0.0/4 link#11 UmCSI 2 0 ppp0 224.0.0.251 1:0:xx:xx:xx:xx UHmLWI 1 0 en0 239.255.255.250 1:0:xx:xx:xx:xx UHmLWI 1 84 en0 239.255.255.250 link#11 UHmWI 1 24 ppp0 255.255.255.255/32 link#4 UCS 1 0 en0 255.255.255.255/32 link#11 UCSI 1 0 ppp0
Thanks!