cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
959
Views
10
Helpful
5
Replies

IPSec over dot1q logical interface

siong
Level 1
Level 1

Can we create a IPSec tunnel over dot1q logical interface?

I have managed to create IPSec tunnel on a FastEthernet interface, but when I moved it to a logical dot1q interface, the IPSec tunnel breaks.

1 Accepted Solution

Accepted Solutions

m.sir
Level 7
Level 7

When using crypto maps on logical interfaces, the map

must be applied to both the physical and logical interfaces

M.

Hope that helps, rate if it does

View solution in original post

5 Replies 5

m.sir
Level 7
Level 7

When using crypto maps on logical interfaces, the map

must be applied to both the physical and logical interfaces

M.

Hope that helps, rate if it does

Thanks for the tip. I missed out applying the crypto map on the physical interface.

One more question :-

The initial objective of trunking the FE interface was to create different crypto map for each logical interface.

If we need to apply crypto map to both logical & physical for IPSec to work, this will limit us to use only one crypto map. Since IOS cannot support more than one crypto map per interface.

Any workaround for this to achieve the objective? Thanks.

--

siong

I wonder if it is an IOS image. I have implemented crypto maps over logical subinterfaces without configuring crypto maps over the main interfaces. It works fine and there have been no issues. What code are you running on your boxes ?

Hi Siong,

When using crymap on dot1q subintf, there is no need to apply crymap on the physical intf.

You can apply different crymaps on different subintf's.

int g0/1

no ip addr

int g0/1.100

encap dot1q 100

ip addr 100.1.1.1

cry map cmap1

int g0/1.200

encap dot1q 200

ip addr 200.1.1.1

cry map cmap2

-Sunil.

Hi attrgautam & sunilc,

You guys are right.

I went back cleared all configuration and started everything from scratch.

The IPSec works on a logical dot1q interface without the need to apply the crypto map on the related phyiscal interface. I tried them out on 12.2.19 and 12.2.39 codes.

I must have done something wrong earlier on the crypto map. Thanks guys for pointing it out.

--

siong