Hi Xyxue,

What is your entire config at VPP2?  Looks like a misconfiguration in VPP2.

Thanks,
Pablo.


From: <vpp-dev-boun...@lists.fd.io> on behalf of 薛欣颖 <xy...@fiberhome.com>
Date: Friday, 12 January 2018 at 02:04
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Subject: [vpp-dev] problem in SRV6


Hi guys,

I'm testing SRV6 ,there is a problem: the packet was dropped  in the vpp2. More 
info and the configuration is shown below:

TC1-VPP1-VPP2-VPP3-TC2

VPP1:
the host-eth1、host-eth2 ipv6 address 1::1 、 2::2, create a loop int 3::3 , add 
the static routing.
  set sr encaps source addr 1::1
  sr policy add bsid 1::1:999 next 2::2 next 3::3
  sr steer l3 2003::1/64 via sr policy bsid 1::1:999

VPP# show sr policies
SR policies:
[0].- BSID: 1::1:999
Behavior: Encapsulation
Type: Default
FIB table: 0
Segment Lists:
[0].- < 2::2, 3::3 > weight: 1

The packet DIP = 2003::5 could match the sr, the trace info is correct.

VPP2:
sr localsid address 2::2 behavior end

trace info:
00:08:01:715943: af-packet-input
af_packet: hw_if_index 1 next-index 4
tpacket2_hdr:
status 0x20000001 len 178 snaplen 178 mac 66 net 80
sec 0x5a571fb9 nsec 0x2c338c0a vlan 0
00:08:01:715969: ethernet-input
IP6: 00:0c:29:4d:af:8d -> 00:0c:29:19:8e:58
00:08:01:716017: ip6-input
IPV6_ROUTE: 1::1 -> 2::2
tos 0x00, flow label 0x0, hop limit 63, payload length 124
00:08:01:716022: ip6-lookup
fib 0 dpo-idx 13 flow hash: 0x00000000
IPV6_ROUTE: 1::1 -> 2::2
tos 0x00, flow label 0x0, hop limit 63, payload length 124
00:08:01:716030: ip6-local
IPV6_ROUTE: 1::1 -> 2::2
tos 0x00, flow label 0x0, hop limit 63, payload length 124
00:08:01:716037: ip6-punt
IPV6_ROUTE: 1::1 -> 2::2
tos 0x00, flow label 0x0, hop limit 63, payload length 124
00:08:01:716044: error-punt
ip6-input: unknown ip protocol

Is there any problem in my configuration?

Thanks,
Xyxue
________________________________
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to