[FROG] how to get routing table entries with different src ip / from dummy interface?

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Tue Sep 17 02:48:00 EDT 2019


Hello list,

i'm trying to get an linux kernel routing table entry like this one:
# ip r get 52.218.237.186
52.218.237.186 via 192.0.2.2 dev br99 src 37.228.152.3

but frr always creates entries like this one:
# ip r get 52.218.237.186
52.218.237.186 via 192.0.2.2 dev br99 src 192.0.2.3

37.228.152.3 is an ip of an dummy0 interface and 192.0.2.3 is the ip of
br99.

frr.conf:

router bgp XXXXX
 bgp router-id 37.228.152.3
 neighbor internal-bgp peer-group
 neighbor internal-bgp remote-as XXXXX
 neighbor internal-bgp capability dynamic
 neighbor 37.228.152.2 peer-group internal-bgp
 neighbor 37.228.152.2 description R2
 neighbor 37.228.152.2 update-source dummy0
 !
 address-family ipv4 unicast
  neighbor 37.228.152.2 next-hop-self
 exit-address-family
!

Greets,
Stefan



More information about the frog mailing list