advertise ipv4 prefixes over ipv6 ibgp session

gautham devalapalli gautham.csus at gmail.com
Fri Apr 22 09:46:55 CEST 2022


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.... at .@ .....
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20220422/2983ded8/attachment.htm>


More information about the Bird-users mailing list