advertise ipv4 prefixes over ipv6 ibgp session
Hello, I am trying to advertise an ipv4 host/prefix over an ipv6 ibgp session. But I keep seeing a withdrawn message on the bgp update message for the ipv4 routes. The same works with ixia traffic generator.(the router-id is picked up as the next hop in ixia's case). Can you please point me in the right direction? bgp update packet: 0000 00 de fb d4 89 c7 00 00 10 00 10 02 81 00 00 65 ...............e 0010 86 dd 6c 00 00 00 00 40 06 40 20 01 0d b8 00 10 ..l....@.@ ..... 0020 00 00 00 00 00 00 00 00 00 02 20 01 0d b8 00 10 .......... ..... 0030 00 00 00 00 00 00 00 00 00 01 e7 1f 00 b3 76 3c ..............v< 0040 8e 81 0f 3b 59 6e 80 18 00 e1 6d 83 00 00 01 01 ...;Yn....m..... 0050 08 0a 20 e1 8b 5d 46 08 2b ba ff ff ff ff ff ff .. ..]F.+....... 0060 ff ff ff ff ff ff ff ff ff ff 00 20 02 00 09 20 ........... ... 0070 14 01 01 01 18 1e 01 01 00 00 .......... bird config. protocol bgp ibgp_phy1_node01 { local 2001:db8:10::2 as 100; neighbor 2001:db8:10::1 as 100; ipv4 { import all; export filter { if net ~[20.1.1.1/32] || net ~[30.1.1.0/24] then { bgp_ext_community.add((unknown 0x4004,100,0x447a0000)); accept; } reject; }; }; ipv6 { import all; export filter { if net ~[2000:1:1::1/128] || net ~[3000:1:1::0/96] then { bgp_ext_community.add((unknown 0x4004,100,0x447a0000)); accept; } reject; }; }; } protocol static staticv4 { ipv4 { import all; export all; }; route 20.1.1.1/32 via 2001:db8:10::2; route 30.1.1.0/24 via 2001:db8:10::2; } protocol static staticv6 { ipv6 { import all; export all; }; route 2000:1:1::1/128 via 2001:db8:10::2; route 3000:1:1::0/96 via 2001:db8:10::2; } Sincerely Gautham
Hey, Try enabling `extended next hop`: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#bgp-extended-next-hop Andi
Andi my dude that was awesome. It fixed my issue. Thanks a ton. Is there a wiki that has example usage for all these attributes? Some of them are straightforward but others not so much. I want to be able to exhaust my debug options before I come disturb you guys. show bgp ipv4 unicast summary BGP summary information for VRF default, address family IPv4 Unicast BGP router identifier 1.1.1.1, local AS number 100 BGP table version is 170, IPv4 Unicast config peers 5, capable peers 1 2 network entries and 2 paths using 552 bytes of memory BGP attribute entries [1/360], BGP AS path entries [0/0] BGP community entries [0/0], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 2001:db8:10::2 4 100 307 263 170 0 0 00:00:01 2 On Fri, Apr 22, 2022 at 1:39 AM Andreas Rammhold <andreas@rammhold.de> wrote:
Hey,
Try enabling `extended next hop`: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#bgp-extended-next-hop
Andi
participants (2)
-
Andreas Rammhold -
gautham devalapalli