Hi -
Is it possible to steer L3 multicast packets (either IPv4 or IPv6) into an SRv6
policy? I tried using "sr steer l3" command but it seems only to create a
routing entry in the unicast FIB, which isn't invoked since multicast packets
are handled by "ip4-mfib-forward-lookup".
This is what I tried:
sr policy add bsid c0::999:2 next C1::999:2 encap
sr steer l3 225.5.0.0/16 via bsid c0::999:2
This creates an entry in ip fib:
225.5.0.0/16
unicast-ip4-chain
[@0]: dpo-load-balance: [proto:ip4 index:40 buckets:1 uRPF:43 to:[0:0]]
[0] [@12]: dpo-load-balance: [proto:ip4 index:38 buckets:1 uRPF:-1 to:[0:0]
via:[139:11676]]
[0] [@13]: SR: Segment List index:[0]
Segments:< c1::999:2 > - Weight: 1
But nothing created in mfib. When I ping 225.5.5.5 from the host attached, vpp
trace shows:
------------------- Start of thread 0 vpp_main -------------------
Packet 1
06:57:49:822991: af-packet-input
af_packet: hw_if_index 1 next-index 4
tpacket2_hdr:
status 0x20000081 len 98 snaplen 98 mac 66 net 80
sec 0x5ef667a3 nsec 0x2651795f vlan 0 vlan_tpid 0
06:57:49:823009: ethernet-input
IP4: 02:42:ac:18:00:02 -> 02:fe:b6:09:64:2b
06:57:49:823012: ip4-input
ICMP: 172.24.0.2 -> 225.5.5.5
tos 0x00, ttl 64, length 84, checksum 0xa884 dscp CS0 ecn NON_ECN
fragment id 0x0000, flags DONT_FRAGMENT
ICMP echo_request checksum 0x7c4f
06:57:49:823015: ip4-mfib-forward-lookup
fib 0 entry 0
06:57:49:823018: ip4-mfib-forward-rpf
entry 0 itf -1 flags
06:57:49:823020: ip4-drop
ICMP: 172.24.0.2 -> 225.5.5.5
tos 0x00, ttl 64, length 84, checksum 0xa884 dscp CS0 ecn NON_ECN
fragment id 0x0000, flags DONT_FRAGMENT
ICMP echo_request checksum 0x7c4f
06:57:49:823021: error-drop
rx:host-eth1
06:57:49:823023: drop
ip4-input: Multicast RPF check failed
Would appreciate any help or information - thanks
Fang
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16835): https://lists.fd.io/g/vpp-dev/message/16835
Mute This Topic: https://lists.fd.io/mt/75142919/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-