Where should I suppose to declare "announce default-route"? And I commented all entries in the
# filter out prefixes longer than 24 or shorter than 8 bits # do not accept a default route # filter bogus networks In the internal OpenBSD machine, I did invoke: $ sudo bgpctl sh next Nexthop State 192.168.111.254 valid rl0 UP, Ethernet, active, 100 MBit/s $ ping www.yahoo.com ping: unknown host: www.yahoo.com $ ping 192.168.111.254 PING 192.168.111.254 (192.168.111.254): 56 data bytes 64 bytes from 192.168.111.254: icmp_seq=0 ttl=255 time=0.435 ms --- 192.168.111.254 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 0.435/0.435/0.435/0.000 ms $ Any comments? Regards, demuel >> OpenBSD With Internet And OpenBGP Running > > Does this one announce a default route into bgp to the other machine? > ('announce default-route') > >> OpenBSD machine that established BGP session to the gateway > > Does this one accept a default route announced by the other machine? > (comment out 'deny from any prefix 0.0.0.0/0') > >> $ sudo bgpctl show rib > > (if you're in wheel, you can skip the sudo.) > >> > Check the RIB and the kernel routing table. Do the routes look ok? Is the >> > fib coupled? Is the nexthop valid? Does the RIB on your secondary bgpd >> > look OK -- valid, correct nexthop? > > 'bgpctl sh nex' to check nexthops.