Hi there, I currently use openbsd bgpd (w/ openbsd 3.6) with announcing /24 but it seems that bgpd removes the /24 when announcing to peers.
Config : peer="10.1.1.1" # global configuration AS 65789 router-id 10.218.105.1 holdtime 180 holdtime min 3 listen on 10.1.1.2 listen on 10.218.105.1 #fib-update no fib-update yes # route-collector yes log updates network 10.218.105.0/24 neighbor $peer { remote-as 65345 descr Peer 1 multihop 20 local-address 10.1.1.2 announce self } # filter out prefixes longer than 24 or shorter than 8 bits deny from any allow from any prefixlen 8 - 24 # do not accept a default route deny from any prefix 0.0.0.0/0 # filter bogus networks deny from any prefix 10.0.0.0/8 prefixlen >= 8 deny from any prefix 172.16.0.0/12 prefixlen >= 12 deny from any prefix 192.168.0.0/16 prefixlen >= 16 deny from any prefix 169.254.0.0/16 prefixlen >= 16 deny from any prefix 192.0.2.0/24 prefixlen >= 24 deny from any prefix 224.0.0.0/4 prefixlen >= 4 deny from any prefix 240.0.0.0/4 prefixlen >= 4 Result on a peer : * 10.218.105.0 10.1.1.2 0 65789 i As we see we don't get any /24 announce example of a /24 announce of peer: *> 10.18.208.0/24 10.28.3.183 1000 0 65257 i *> 10.18.210.0/24 10.28.3.183 1000 0 65257 i Is there any problem on my configuration or is this a software bug ? Thanks, /Xavier