Hello,

I have a problem - unnumbered IPv6 interface is not working.

*Configuration*

For example, let's create memifs, one of them will be IPv6 unnumbered.

*vpp1:*

> 
> 
> 
> create interface memif id 0 master
> set int ip address memif0/0 fc00::1/120
> set int state memif0/0 up
> 
> 

*vpp2:*

> 
> 
> 
> create loopback interface
> set int ip address loop0 fc00::2/120
> set int state loop0 up
> 
> create interface memif id 0 slave
> set int unnumbered memif0/0 use loop0
> ip route add fc00::1/128 via memif0/0
> set int state memif0/0 up
> trace add memif-input 10
> 
> 

If we look at the traces:

Packet 1

00:00:15:424691: memif-input
  memif: hw_if_index 2 next-index 4
    slot: ring 0
00:00:15:435043: ethernet-input
  IP6: 02:fe:1a:fa:94:43 -> 33:33:ff:00:00:02
00:00:15:435050: ip6-input
  ICMP6: fc00::1 -> ff02::1:ff00:2
    tos 0x00, flow label 0x0, hop limit 255, payload length 32
  ICMP neighbor_solicitation checksum 0xcf5c
    target address fc00::2
00:00:15:435055: ip6-mfib-forward-lookup
  fib 0 entry 4
00:00:15:435057: ip6-mfib-forward-rpf
  entry 4 itf -1 flags 
00:00:15:435063: ip6-drop
    fib:0 adj:4 flow:0
  ICMP6: fc00::1 -> ff02::1:ff00:2
    tos 0x00, flow label 0x0, hop limit 255, payload length 32
  ICMP neighbor_solicitation checksum 0xcf5c
    target address fc00::2
00:00:15:435070: error-drop
  rx:memif0/0
00:00:15:435087: drop
  ip6-input: drops due to concurrent reassemblies limit

IPv6 sends packets to mcast node, but:

DBGvpp# show mfib entry 
FIB Entries:
0@(*, 0.0.0.0/0):  flags:Drop,
  Interfaces:
  multicast-ip4-chain
  [@0]: dpo-drop ip4
1@(*, 224.0.0.1/32): 
  Interfaces:
  multicast-ip4-chain
  [@1]: dpo-replicate: [index:0 buckets:1 flags:[has-local ] to:[0:0]]
    [0] [@1]: dpo-receive
2@(*, 224.0.0.2/32): 
  Interfaces:
  multicast-ip4-chain
  [@1]: dpo-replicate: [index:1 buckets:1 flags:[has-local ] to:[0:0]]
    [0] [@1]: dpo-receive
3@(*, ::/0):  flags:Drop,
  Interfaces:
  multicast-ip6-chain
  [@0]: dpo-drop ip6
4@(*, ff02::1:ff00:0/104): 
  Interfaces:
   loop0: Accept,
  multicast-ip6-chain
  [@1]: dpo-replicate: [index:2 buckets:1 flags:[has-local ] to:[0:0]]
    [0] [@1]: dpo-receive
5@(*, ff02::2/128): 
  Interfaces:
   loop0: Accept,
  multicast-ip6-chain
  [@1]: dpo-replicate: [index:3 buckets:1 flags:[has-local ] to:[0:0]]
    [0] [@1]: dpo-receive
6@(*, ff02::1/128): 
  Interfaces:
   loop0: Accept,
  multicast-ip6-chain
  [@1]: dpo-replicate: [index:4 buckets:1 flags:[has-local ] to:[4:288]]
    [0] [@1]: dpo-receive
7@(*, ff02::16/128): 
  Interfaces:
   loop0: Accept,
  multicast-ip6-chain
  [@1]: dpo-replicate: [index:5 buckets:1 flags:[has-local ] to:[1:136]]
    [0] [@1]: dpo-receive

Entry 4 has *loop0* interface...

Is there a way to make the configuration correct?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20143): https://lists.fd.io/g/vpp-dev/message/20143
Mute This Topic: https://lists.fd.io/mt/85649127/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to