My router terminates for both IPSec and PPTP. When I use IpSec to connect to the router, then I can ping any hosts on internal network 192.168.247.0/24. When I use PPTP to connect to the router, then I cannot.
I turned on the debug and it shows that for PPTP, the packets are forwarded to the interface 0/0 that connects to the Internet, therefore it never gets to the internal network which is on interface Vlan2. For Ipsec, the packets are forwarded correctly.
Both Ipsec and PPTP ip pool are from the same network 192.168.235.0/24.
Below are two debug output for PPTP and IPSEC
** PPTP ** 007209: *Jul 18 21:45:21.551: IP: tableid=0, s=192.168.235.1 (Virtual-Access3), d=192.168.247.2 (FastEthernet0/0), routed via RIB 007210: *Jul 18 21:45:21.551: IP: s=192.168.235.1 (Virtual-Access3), d=192.168.247.2, len 60, rcvd 4 007211: *Jul 18 21:45:27.055: IP: tableid=0, s=192.168.235.1 (Virtual-Access3), d=192.168.247.2 (FastEthernet0/0), routed via RIB** IPSEC ***
007263: *Jul 18 21:51:33.051: IP: tableid=0, s=192.168.235.105 (FastEthernet0/0), d=192.168.247.2 (Vlan2), routed via RIB 007264: *Jul 18 21:51:33.055: IP: s=192.168.235.105 (FastEthernet0/0), d=192.168.247.2 (Vlan2), g=192.168.247.2, len 60, forward 007265: *Jul 18 21:51:33.055: IP: tableid=0, s=192.168.247.2 (FastEthernet0/1), d=192.168.235.105 (FastEthernet0/0), routed via RIBWhy does that path decision change with PPTP ? I must have some wrong settins but I have no clue.
Thanks for your advice,
DT