12-06-2022 12:40 AM - edited 12-06-2022 12:41 AM
Hi Team, Greetings!!!
I established IPSEC-IPv6 tunnel with cisco end point 1000v. ICMP and UDP (IPv6) traffic is working fine over the tunnel but TCP traffic ( IPv6) is not working.Could you please help on this?
Topology:
Lanhost1--[Branchedge]--------[Cisco]---[Linux1]----[Endhost]
If i initiate tcp traffic from Lanhost1 , sync packet is received by Endhost, End host sent syn-ack , Linux1 sent syn-ack to Cisco
but cisco didn't forward this packet to Branch edge
I did tcpdump on branch edge , I see ESP packet from Branch edge to cisco but return esp packet i didn't see.
Cisco config:
crypto ikev2 proposal 21
encryption aes-cbc-128
integrity sha1
group 14
crypto ikev2 policy ikev221
match fvrf c1_global
match address local <Cisco IPv6 ip>
proposal 21
crypto ikev2 profile profile21
match fvrf c1_global
match identity remote address <BranchIPv6 IP>/128
authentication remote pre-share key velocloud
authentication local pre-share key velocloud
crypto ipsec transform-set ipsec-prop-vc-21 esp-aes esp-sha256-hmac
mode tunnel
crypto ipsec profile ipsec_profile21
set transform-set ipsec-prop-vc-21
set pfs group14
set ikev2-profile profile21
interface Tunnel21
vrf forwarding c1_global
no ip address
ipv6 address <some IPv6 ip>/64
ipv6 enable
ipv6 tcp adjust-mss 1320
tunnel source <Cisco IPv6 IP with which tunnel established>
tunnel mode ipsec ipv6
tunnel destination <Branch IP>
tunnel vrf c1_global
tunnel protection ipsec profile ipsec_profile21
end
12-06-2022 01:26 AM
is this lab or real environment ?
but TCP traffic ( IPv6) is not working.Could you please help on this?
can you explain what is TCP Traffic, is there any web server traffic or what port traffic ?
have checked SA is this encryption and decryption taking place when you intiated the traffic of TCP
ICMP and UDP (IPv6) traffic is working fine over the tunne
Lanhost1 to endhost ?
have you checked on Linux any Firewall ? (by default) also have you enabled ip forwarding in Linux ?
have you run the debug and checked ?
12-06-2022 01:45 AM - edited 12-06-2022 02:11 AM
Thanks @balaji.bandi for the response.
this is lab environment.
Its iperf on port 9005.
End host(Behind cisco) : iperf -V -s -p 9005 -i 1
Lanhost ( behind edge) : iperf -V -c <cisco endhost ip> -p 9005 -i 1 -t 10
I see decryption is taking place but encrypted packets count is not incrementing.
csr1#show crypto ipsec sa ipv6 interface: Tunnel21 protected vrf: c1_global | |
csr1#show crypto ipsec sa ipv6 interface: Tunnel21 protected vrf: c1_global |
There are no firewall which blocks tcp traffic in between. in-fact , no blocking rules to drop any traffic.
IKE and IPSEC SA are proper , tunnel is up and we are able to send ping6/UDP(IPv6) using iperf
12-06-2022 02:46 AM
are you use any Zone firewall ?
12-06-2022 03:40 AM
Hi @MHM Cisco World , Thanks for the response .
No. I am not using zone firewall.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide