[quagga-users 7433] Re: BGP troubleshooting

bablam bablam at gmail.com
Wed Aug 23 07:48:52 IST 2006


Good morning,
      Being that I cannot find a list specifically for openbgp I am
going to send it here (to the mics@ list), if anyone knows of a list
more suited to openbgp troubleshooting please let me know.
     The issues is dropped neighborships between IBGP peers every 1-2
minutes.  One host is a PFsense (FC1) firewall running openbgp version
3.72 and the other a Fedora Core 5 box running Quagga 0.98.6. The
configs and debugs are below, anyone seen wierdness like this before?
This is not a complex config, looks like an undocumented feature.
Thanks all.

     Wade B

openbgp config
--------------------------------------------------------------------------------------
       #macros
       peer2="192.168.12.130"
       myip="192.168.12.129"

       neighbor $peer2 {
                remote-as 65001
                announce all
                holdtime 6
        }

       # networks we announce
        network 192.168.15.0/30
        network 0.0.0.0/0
---------------------------------------------------------------------------------------
bgpd config
---------------------------------------------------------------------------------------
router bgp 65001
 bgp router-id 192.168.12.130
 bgp log-neighbor-changes
 network 192.168.11.0/25
 network 192.168.11.128/25
 network 192.168.12.0/25
 network 192.168.12.128/25
 timers bgp 2 6
 neighbor 192.168.12.129 remote-as 65001
---------------------------------------------------------------------------------------
openbgp debug
bgpd -dv
peer2 = "192.168.12.130"
myip = "192.168.12.129"
startup
route decision engine ready
listening on 192.168.12.129
session engine ready
neighbor 192.168.12.130: state change None -> Idle, reason: None
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> Active, reason:
Connection closed
neighbor 192.168.12.130: state change Active -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
neighbor 192.168.12.130: state change Established -> Idle, reason:
HoldTimer expired
Connection attempt from neighbor 192.168.12.130 while session is in state Idle
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
neighbor 192.168.12.130: state change Established -> Idle, reason:
ConnectRetryTimer expired
Connection attempt from neighbor 192.168.12.130 while session is in state Idle
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
neighbor 192.168.12.130: state change Established -> Idle, reason:
ConnectRetryTimer expired
Connection attempt from neighbor 192.168.12.130 while session is in state Idle
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
neighbor 192.168.12.130: state change Established -> Idle, reason:
ConnectRetryTimer expired
Connection attempt from neighbor 192.168.12.130 while session is in state Idle
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
neighbor 192.168.12.130: state change Established -> Idle, reason:
ConnectRetryTimer expired
Connection attempt from neighbor 192.168.12.130 while session is in state Idle
neighbor 192.168.12.130: state change Idle -> Connect, reason: Start
neighbor 192.168.12.130: state change Connect -> OpenSent, reason:
Connection opened
neighbor 192.168.12.130: state change OpenSent -> OpenConfirm, reason:
OPEN message received
neighbor 192.168.12.130: state change OpenConfirm -> Established,
reason: KEEPALIVE message received
neighbor 192.168.12.130 (AS65001) update 192.168.11.0/25/134726144
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.128/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.12.0/25/134726272
192.168.12.130
neighbor 192.168.12.130 (AS65001) update 192.168.11.128/25/134726272
192.168.12.130
nexthop 192.168.12.130 now valid: directly connected
^Croute decision engine exiting
neighbor 192.168.12.130: state change Established -> Idle, reason: Stop
session engine exiting
kernel routing table decoupled
Terminating
------------------------------------------------------------------------------------------------------------

bgpd debug
BGP: 192.168.12.129 rcv message type 4, length (excl. header) 0
BGP: 192.168.12.129 send message type 4, length (incl. header) 19
BGP: 192.168.12.129 rcv message type 3, length (excl. header) 2
BGP: %NOTIFICATION: received from neighbor 192.168.12.129 5/0 (Finite
State Mach
                                                                   ine
Error) 0 bytes
BGP: 192.168.12.129 went from Established to Idle
BGP: %ADJCHANGE: neighbor 192.168.12.129 Down BGP Notification received
BGP: 192.168.12.129 went from Idle to Connect
BGP: 192.168.12.129 went from Connect to OpenSent
BGP: 192.168.12.129 sending OPEN, version 4, my as 65001, holdtime 6,
id 192.168

.12.130
BGP: 192.168.12.129 send message type 1, length (incl. header) 45
BGP: 192.168.12.129 went from OpenSent to Active
BGP: Performing BGP general scanning
BGP: 192.168.12.129 went from Active to OpenSent
BGP: 192.168.12.129 rcv message type 1, length (excl. header) 20
BGP: 192.168.12.129 rcv OPEN, version 4, remote-as 65001, holdtime 6,
id 192.168

.12.129
BGP: 192.168.12.129 sending OPEN, version 4, my as 65001, holdtime 6,
id 192.168

.12.130
BGP: 192.168.12.129 send message type 1, length (incl. header) 45
BGP: 192.168.12.129 rcv OPEN w/ OPTION parameter len: 10
BGP: 192.168.12.129 rcvd OPEN w/ optional parameter type 2 (Capability) len 8
BGP: 192.168.12.129 OPEN has CAPABILITY code: 1, length 4
BGP: 192.168.12.129 OPEN has MP_EXT CAP for afi/safi: 1/1
BGP: 192.168.12.129 OPEN has CAPABILITY code: 2, length 0
BGP: 192.168.12.129 OPEN has ROUTE-REFRESH capability(new) for all
address-famil

ies
BGP: 192.168.12.129 went from OpenSent to OpenConfirm
BGP: 192.168.12.129 send message type 4, length (incl. header) 19
BGP: 192.168.12.129 rcv message type 4, length (excl. header) 0
BGP: 192.168.12.129 went from OpenConfirm to Established
BGP: %ADJCHANGE: neighbor 192.168.12.129 Up

-- 
Wade B
"Integrity is more important than perception management"
"There are two kinds of pain, the pain of change and the pain of never changing"


More information about the Quagga-users mailing list