Hi,

VPP adds FIB entries for all IP neighbours. These are used to forward traffic 
to those neighbours.

if you do:
 show ip6 fib 2001:7a0:10::111/128
you’ll see more detailed output that describes the sources’of the FIB entry, A 
source is the entity that added the route. The adjacency source is the entity 
that adds routes for neighbours.

/neale


From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of Chinmaya Aggarwal 
via lists.fd.io <chinmaya.agarwal=hsc....@lists.fd.io>
Date: Tuesday, 3 August 2021 at 14:17
To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Subject: [vpp-dev] FIB entry being created on peer VPP node for the localsid
Hi,

We have two VMs i.e. VM 1 and VM 2 running VPP. We are configuring localsid and 
nd proxy corresponding to that localsid on VM1.

sr localsid address 2001:7a0:10::111 behavior end psp
set ip6 nd proxy GigabitEthernet0/8/0 2001:7a0:10::111

When packet on VM 2 tries tires to reach VM 1's localsid, we see that a 
neighbor entry and a fib entry corresponding to that localsid is generated on 
VM 2

vpp# show ip6 fib
2001:7a0:10::111/128
  unicast-ip6-chain
  [@0]: dpo-load-balance: [proto:ip6 index:15 buckets:1 uRPF:17 to:[4:464]]
    [0] [@5]: ipv6 via 2001:7a0:10::111 GigabitEthernet0/8/0: mtu:9000 next:3 
525400ed7f2052540062079586dd
fe80::/10

vpp# show ip6 neighbors
    Time                       IP                    Flags      Ethernet        
      Interface
    242.5560            2001:7a0:10::111               D    52:54:00:ed:7f:20 
GigabitEthernet0/8/0

Whereas, when we tried the same scenario using linux SRv6 we see that only 
neighbor entry is created on VM 2 for the localsid but route table has nothing 
corresponding to it.

root@ubuntu:~# ip -6 route show
::1 dev lo proto kernel metric 256 pref medium
2001:7a0:10::/64 dev ens8 proto kernel metric 256 pref medium
fe80::/64 dev ens8 proto kernel metric 256 pref medium
fe80::/64 dev ens3 proto kernel metric 256 pref medium
root@ubuntu:~# ip -6 neigh
2001:7a0:10::111 dev ens8 lladdr 52:54:00:5a:9f:9c REACHABLE
fe80::5054:ff:fe6f:d8a8 dev ens3 lladdr 52:54:00:6f:d8:a8 STALE
fe80::5054:ff:fe5a:9f9c dev ens8 lladdr 52:54:00:5a:9f:9c router REACHABLE
root@ubuntu:~#

Can anyone please guide us why VPP adds a fib entry for the localsid?


Thanks and Regards,
Chinmaya Agarwal.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19902): https://lists.fd.io/g/vpp-dev/message/19902
Mute This Topic: https://lists.fd.io/mt/84637242/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