I have a routing problem with a Cisco router that is attached two to ADSL Interfaces. One interface (VPN) has a fixed IP address and is used to establish IPSec tunnels to the router. The second interface (INTERNET)is used to access the internet with a dynamic IP address given by the ISP.
Using the cisco VPN client I connect to the VPN interface and surf the internet through the Internet interface.
The default route of the router goes to the Internet interface.
My problem is that this only works if I know the IP address of the VPN client such that I can set up a route that sends the trafic for the VPN client out the VPN interface.
How can I specify routing such that I could connect to the VPN interface from anywhere and still have the router use the VPN interface for VPN traffic the the VPN client and the other interface for all other traffic?
I have tried policy based routing, using route-maps but I can't get it to work.
- I have the following interfaces: FastEthernet (which I don't actually need), ATM (for adsl), two ATM subinterfaces (one for each adsl line) and two Dialers.
I am not posting the config. I am interested in the concept, the correct way of achieving what I need.
thanks in advance,