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

Jan Marquardt jm at artfiles.de
Tue Sep 17 03:03:17 EDT 2019


https://github.com/FRRouting/frr/issues/361

> Am 17.09.2019 um 09:00 schrieb Jan Marquardt <jm at artfiles.de>:
> 
> Hi Stefan,
> 
> as far as I remember I had a similar issue some time ago which
> I solved by adding the addresses to lo instead of dummyN.
> 
> Best Regards
> 
> Jan
> 
>> Am 17.09.2019 um 08:48 schrieb Stefan Priebe - Profihost AG <s.priebe at profihost.ag>:
>> 
>> 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
>> 
>> _______________________________________________
>> frog mailing list
>> frog at lists.frrouting.org
>> https://lists.frrouting.org/listinfo/frog
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20190917/8ba56434/attachment.sig>


More information about the frog mailing list