I am running OpenBSD 5.8 Release and I have a very simple BGP MPLS VPN
setup. I'm close to getting it to work but for bgpd. I think I have my
bgpd.conf setup correctly but I'm still having difficulty. Below I gave as
much diagnostic info as I could think of. Kindly let me know if I am
missing anything.
Thanks again for your time and attention,
Matt
#bgpctl show fib table 1
flags: * = valid, B = BGP, C = Connected, S = Static, D = Dynamic
N = BGP Nexthop reachable via this route
r = reject route, b = blackhole route
flags prio destination gateway
#bgpctl show interfaces
Interface Nexthop state Flags Link state
mpe0 ok UP unknown
lo1 ok UP unknown
lo0 ok UP unknown
enc0 invalid active
em2 ok UP Ethernet, unknown, 1000 MBit/s
em1 ok UP Ethernet, unknown, 1000 MBit/s
em0 ok UP Ethernet, unknown, 1000 MBit/s
#bgpctl show nei
BGP neighbor is 10.254.254.3, remote AS 65001
Description: PE2
BGP version 4, remote router-id 10.254.254.3
BGP state = Established, up for 00:01:52
Last read 00:00:22, holdtime 90s, keepalive interval 30s
Neighbor capabilities:
Multiprotocol extensions: IPv4 unicast, IPv4 vpn
Route Refresh
Graceful Restart: Timeout: 90, restarted, IPv4 unicast, IPv4 vpn
4-byte AS numbers
Message statistics:
Sent Received
Opens 1 1
Notifications 0 0
Updates 1 1
Keepalives 4 4
Route Refresh 0 0
Total 6 6
Update statistics:
Sent Received
Updates 0 0
Withdraws 0 0
End-of-Rib 1 1
Local host: 10.254.254.2, Local port: 11361
Remote host: 10.254.254.3, Remote port: 179
#cat /etc/bgpd.conf:
router-id 10.254.254.2
AS 65001
rdomain 1 {
descr CUSTOMER1
rd 65001:1
import-target rt 65001:1
export-target rt 65001:1
depend on mpe0
network 172.16.1.0/24
network 0.0.0.0/0
}
group ibgp {
announce IPv4 unicast
announce IPv4 vpn
local-address 10.254.254.2
remote-as 65001
neighbor 10.254.254.3 {
descr PE2
}
}
#bgpd -d -v
startup
rereading config
route decision engine ready
session engine ready
new ktable rdomain_0 for rtableid 0
listening on 0.0.0.0
listening on ::
SE reconfigured
neighbor 10.254.254.3 (PE2): state change None -> Idle, reason: None
neighbor 10.254.254.3 (PE2): state change Idle -> Connect, reason: Start
RDE reconfigured
neighbor 10.254.254.3 (PE2): state change Connect -> OpenSent, reason:
Connection opened
neighbor 10.254.254.3 (PE2): state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 10.254.254.3 (PE2): state change OpenConfirm -> Established,
reason: KEEPALIVE message received