Virtual Private Networks cisco VPN ipsec tunnel virtual interface operation detail question

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
cisco VPN ipsec tunnel virtual interface operation detail question ricecs 07-28-06
Posted by on July 28, 2006, 3:06 pm
Please log in for more thread options
Basically I am not clear about the virtual interface and physical
interface interaction in the whole communication process, How TCP/IP
stack, routing process, virtual interface, physical interface, IPSec
fit together in a tunnel all or split-tunnel situation? it would be
greatly appreciated if somebody can shed me some light on this.

VPN server CISCO VPN concentrator 3000,
VPN client CISCO VPN client v4.7 on windows xp.

I noticed that once I establish a tunnel with concentrator, a virtual
interface get activated and routing table get changed.
For example.
my physical interface ip 10.1.1.1 gateway 10.1.1.254
routing table(omit loopback and broadcast/multicast entries):
network 0.0.0.0 mask 0.0.0.0 gateway 10.1.1.1.254 interface
10.1.1.1 metics 1

Once VPN tunnel established(Tunnel All traffics in this case) with VPN
server IP as 192.168.1.254
virtual interface IP 192.168.1.1 gateway 192.168.1.254
routing table(omit loopback and broadcast/multicast entries):
network 0.0.0.0 mask 0.0.0.0 gateway 192.168.1.254 interface
192.168.1.1 metrics 1
network 192.168.1.254 mask 255.255.255.255 gateway 10.1.1.254
interface 10.1.1.1 metrics 1

I understand that all traffic will be routed then to the virtual
interface which tunnels it to vpn server.

My question here is:
What will happen if we manually add a route to the routing table as
following
network 172.16.1.8 mask 255.255.255.255 gateway 10.1.1.254 interface
10.1.1.1 metrics 1

I tried this, the connection will not go, I am wondering where the
traffic gets dropped? Is it in the VPN client computer TCP/IP stack? Or
at the end of the tunnel VPN server dropped the unprotected traffic?
How does the routing process work during the whole process?

Question continued,
Similar scenario.


my physical interface ip 10.1.1.1 gateway 10.1.1.254
routing table(omit loopback and broadcast/multicast entries):
network 0.0.0.0 mask 0.0.0.0 gateway 10.1.1.1.254 interface
10.1.1.1 metics 1

Once VPN tunnel established(split-tunnel in this example, only tunnel
192.168.2.0/24.) with VPN server IP as 192.168.1.254
virtual interface IP 192.168.1.1 gateway 192.168.1.254
routing table(omit loopback and broadcast/multicast entries):
network 0.0.0.0 mask 0.0.0.0 gateway 10.1.1.1.254 interface 10.1.1.1
metics 1
network 192.168.2.0 mask 255.255.255.0 gateway 192.168.1.254 interface
192.168.1.1 metrics 1
network 192.168.1.254 mask 255.255.255.255 gateway 10.1.1.254
interface 10.1.1.1 metrics 1

All traffic destined for 192.168.2.0/24 network is routed to virtual
interface thus tunnelled. All other traffic is routed to physical
interface and unprotected.

My question here is:
What will happen if we manually add two routes to the routing table as
following

which add the following entry to the routing table:
network 172.16.1.8 mask 255.255.255.255 gateway 192.168.1.254 interface
192.168.1.1 metrics 1
network 192.168.2.8 mask 255.255.255.255 gateway 10.1.1.254 interface
10.1.1.1 metric 1

I tried the similar scenario in real split-tunnel VPN connection,
manually redirect the first similar situation(Redirect plain traffic to
the virtual interface) will not go anywhere, is it dropped by virtual
interface or VPN server?
manually redirect the second similar situation(Redirect supposedly
protected traffic to the physical interface) go to the destination
without VPN tunnelling. How that occured? So VPN client does not
mandate the protected traffic to virtual interface?


Posted by Joe Beasley on July 28, 2006, 9:44 pm
Please log in for more thread options
You would have to turn on split-tunneling on the concentrator for
this to work.

--
jbeasley@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Similar ThreadsPosted
cisco VPN ipsec tunnel virtual interface operation detail question July 28, 2006, 3:06 pm
Cisco 2800 - Multiple VPNs Using Virtual-Template December 7, 2006, 7:30 am
Cannot access device connected to trust interface on Netscreen 5GT from tunnel. June 16, 2005, 4:24 pm
IPSec tunnel works to one concentrator, not another March 23, 2005, 5:57 pm
Please Help : IPsec VPN Tunnel Established, but no Traffic April 2, 2005, 12:47 am
Can establish IPSec Tunnel but no traffic through it March 9, 2006, 5:52 pm
IPSec Tunnel strange problem March 22, 2006, 1:43 pm
A question for IPsec ---ISAKMP September 24, 2008, 10:49 pm
A question about security profile for a VPN tunnel October 3, 2006, 5:36 pm
Need detail on TDI NBNS Request(SSLVPN) April 12, 2005, 3:21 am
VPN tunnel between Dlink DFL-700 and Cisco January 18, 2007, 2:57 pm
domain logon through a cisco tunnel March 1, 2006, 1:22 pm
Microsoft PPTP + Cisco PIX + Split Tunnel June 13, 2007, 7:55 pm
Infotecs Advances ViPNet Virtual Private Network With New Security And Communication Features July 17, 2006, 10:54 am
Can Someone Step Me Through Making A VPN Tunnel From A Cisco 1812 To A Linksys WRV200 August 22, 2006, 5:19 pm