Hi,

I've got a curious problem with a test I've been doing with bgpd on 4.7
release.  Hopefully someone can point out where I am going wrong.

Test Layout
:
BSD01 -> EBGP01
BSD02 -> EBGP01

BSDxx are both 4.7 release BGP speakers in
private ASN 64550 (OSPF running between them as IGP)
EBGP01 is a non OpenBSD
BGP speaker in private ASN 65432 (just sending default route for test
purposes)


BSD01 does not appear to be receiving routes from BSD02 (in this
case, it should be learning a higher pref default route from BSD02 over IBGP)
on BSD01 :
# bgpctl show sum
Neighbor     AS    MsgRcvd   MsgSent   OutQ
Up/Down  State/PrfRcvd
BSD02    64550   19             19               0
00:15:25         0
EBGP BOX 65432 20           19               0
00:17:09         1

#bgpctl show rib
*>  0.0.0.0/0   172.16.99.254  400 0
65432 i


on BSD02 :
# bgpctl show sum
Neighbor                   AS
MsgRcvd   MsgSent   OutQ  Up/Down  
State/PrfRcvd
BSD01    64550   121
125             0          
00:20:25       1
EBGP BOX 65432 1163          1188
0         01:17:09         1

#bgpctl show rib
I*> 0.0.0.0/0  172.16.99.254
400 0 65432 i
* 0.0.0.0/0  172.16.99.254 100 0 65432 i 



bgpd.conf from
BSD01 :

PEER_ASN="65432"
LOCAL_ASN="64550"
MY_ID="192.168.152.1"
REMOTE_IP="172.16.99.254"
IBGP_PEER="192.168.152.2"
LO1_IP="192.168.152.1"

AS
$LOCAL_ASN
router-id $MY_ID
holdtime 180
holdtime min 3
fib-update yes

group
"transit 65432" {
set localpref 400
remote-as $PEER_ASN
neighbor $REMOTE_IP {
descr "EBGP BOX"
announce self
}
}

group "IBGP Mesh" {
remote-as $LOCAL_ASN
local-address $LO1_IP
neighbor $IBGP_PEER {
descr "BSD02"
}
}

bgpd.conf from
BSD02 :

PEER_ASN="65432"
LOCAL_ASN="64550"
MY_ID="192.168.152.2"
REMOTE_IP="172.16.99.254"
IBGP_PEER="192.168.152.1"
LO1_IP="192.168.152.2"

AS
$LOCAL_ASN
router-id $MY_ID
holdtime 180
holdtime min 3
fib-update yes

group
"transit 65432" {
set localpref 400
remote-as $PEER_ASN
neighbor $REMOTE_IP {
descr "EBGP BOX"
announce self
}
}

group "IBGP Mesh" {
remote-as $LOCAL_ASN
local-address $LO1_IP
neighbor $IBGP_PEER {
descr "BSD01"
}
}

Reply via email to