On 05/04/06, tony sarendal <[EMAIL PROTECTED]> wrote:
>
>
> After a jug of coffee I tried being a bit more methodical.
>
> I took the entire network down and brought up one router at a time.
> I monitored the prefix 192.168.30.0/24 from a route-collector sitting on
> 192.168.30.10,
> the first router brought online was ar213-FRA which has 192.168.30.0/24 as
> connected.
>
> Have a look at originator_id in the different steps.
> bgpd config at the bottom of the file.
> I am running a current a few days old with Hennings next-hop self patch.
>
> Highlights, step 2 & 3 shows backward originator_id, step 4 shows changed
> originator_id.
> Please let me know if there is any other info I can provide.
>
>
> 1. Bring ar213-FRA online
>
> quagga-bgpd# sh ip bgp 192.168.30.0
> BGP routing table entry for 192.168.30.0/24
> Paths: (1 available, best #1, table Default-IP-Routing-Table)
>   Not advertised to any peer
>   Local
>     172.16.0.3 from 172.16.0.3 (172.16.0.3)
>       Origin IGP, localpref 100, valid, internal, best
>       Last update: Wed Apr  5 12:36:15 2006
>
> quagga-bgpd#
>
>
> 2.Bring cr212-FRA online
>
> quagga-bgpd# sh ip bgp 192.168.30.0
> BGP routing table entry for 192.168.30.0/24
> Paths: (2 available, best #2, table Default-IP-Routing-Table)
>   Not advertised to any peer
>   Local
>     172.16.1.21 from 10.0.0.8 (3.0.16.172)
>       Origin IGP, metric 100, localpref 100, valid, internal
>       Originator: 3.0.16.172, Cluster list: 10.0.0.8
>       Last update: Wed Apr  5 12:46:37 2006
>
>   Local
>     172.16.0.3 from 172.16.0.3 (172.16.0.3)
>       Origin IGP, localpref 100, valid, internal, best
>       Last update: Wed Apr  5 12:36:15 2006
>
> quagga-bgpd#
>
>
> 3. Bring cr211-FRA online
>
> quagga-bgpd# sh ip bgp 192.168.30.0
> BGP routing table entry for 192.168.30.0/24
> Paths: (3 available, best #3, table Default-IP-Routing-Table)
>   Not advertised to any peer
>   Local
>     172.16.1.17 from 10.0.0.7 (3.0.16.172)
>       Origin IGP, metric 100, localpref 100, valid, internal
>       Originator: 3.0.16.172, Cluster list: 10.0.0.7
>       Last update: Wed Apr  5 12:54:54 2006
>
>   Local
>     172.16.1.21 from 10.0.0.8 (3.0.16.172)
>       Origin IGP, metric 100, localpref 100, valid, internal
>       Originator: 3.0.16.172, Cluster list: 10.0.0.8
>       Last update: Wed Apr  5 12:46:37 2006
>
>   Local
>     172.16.0.3 from 172.16.0.3 (172.16.0.3)
>       Origin IGP, localpref 100, valid, internal, best
>       Last update: Wed Apr  5 12:36:15 2006
>
> quagga-bgpd#
>
> 4. Bring cr208-HAM online
>
> quagga-bgpd# sh ip bgp 192.168.30.0
> BGP routing table entry for 192.168.30.0/24
> Paths: (4 available, best #4, table Default-IP-Routing-Table)
>   Not advertised to any peer
>   Local
>     10.1.1.34 from 10.0.0.6 (7.0.0.10)
>       Origin IGP, metric 200, localpref 100, valid, internal
>       Originator: 7.0.0.10, Cluster list: 10.0.0.6 10.0.0.8
>       Last update: Wed Apr  5 12:59:20 2006
>
>   Local
>     172.16.1.17 from 10.0.0.7 (3.0.16.172)
>       Origin IGP, metric 100, localpref 100, valid, internal
>       Originator: 3.0.16.172, Cluster list: 10.0.0.7
>       Last update: Wed Apr  5 12:54:54 2006
>
>   Local
>     172.16.1.21 from 10.0.0.8 (3.0.16.172)
>       Origin IGP, metric 100, localpref 100, valid, internal
>       Originator: 3.0.16.172, Cluster list: 10.0.0.8
>       Last update: Wed Apr  5 12:46:37 2006
>
>   Local
>     172.16.0.3 from 172.16.0.3 (172.16.0.3)
>       Origin IGP, localpref 100, valid, internal, best
>       Last update: Wed Apr  5 12:36:15 2006
>
> quagga-bgpd#
>
>
> ------- configs -----
>
> ar213-FRA /etc/bgpd.conf
>
> AS 65000
> router-id 172.16.0.3
> log updates
> network connected
> network static
> network 172.16.0.3/32
>
> group "ibgp" {
>         remote-as 65000
>         route-reflector
>         set metric +100
>         set nexthop self
>         holdtime 10
>         neighbor 172.16.1.18 {
>                 local-address 172.16.1.17
>         }
>         neighbor 172.16.1.22 {
>                 local-address 172.16.1.21
>         }
> }
>
> neighbor 192.168.30.10 {
>         remote-as 65000
>         local-address 172.16.0.3
> }
>
>
>
> cr212-FRA /etc/bgpd.conf
>
> AS 65000
> router-id 10.0.0.8
> log updates
> network connected
> network static
> network 10.0.0.8/32
>
> group "ibgp" {
>         remote-as 65000
>         route-reflector
>         set metric +100
>         set nexthop self
>         holdtime 10
>         neighbor 10.1.1.29 {
>                 local-address 10.1.1.30
>         }
>         neighbor 10.1.1.33 {
>                 local-address 10.1.1.34
>         }
>         neighbor 172.16.1.21 {
>                 local-address 172.16.1.22
>         }
> }
>
> neighbor 192.168.30.10 {
>         remote-as 65000
>         local-address 10.0.0.8
> }
>
>
> cr211-FRA /etc/bgpd.conf
>
> AS 65000
> router-id 10.0.0.7
> network connected
> network static
> network 10.0.0.7/32
>
> group "ibgp" {
>         remote-as 65000
>         route-reflector
>         set metric +100
>         set nexthop self
>         holdtime 10
>         neighbor 10.1.1.25 {
>                 local-address 10.1.1.26
>         }
>         neighbor 10.1.1.30 {
>                 local-address 10.1.1.29
>         }
>         neighbor 172.16.1.17 {
>                 local-address 172.16.1.18
>         }
> }
>
> neighbor 192.168.30.10 {
>         remote-as 65000
>         local-address 10.0.0.7
> }
>
>
> cr208-HAM /etc/bgpd.conf
>
> AS 65000
> router-id 10.0.0.6
> log updates
> network connected
> network static
> network 10.0.0.6/32
>
> group "ibgp" {
>         remote-as 65000
>         route-reflector
>         set metric +100
>         set nexthop self
>         holdtime 10
>         neighbor 10.1.1.21 {
>                 local-address 10.1.1.22
>         }
>         neighbor 10.1.1.34 {
>                 local-address 10.1.1.33
>         }
> }
>
> neighbor 192.168.30.10 {
>         remote-as 65000
>         local-address 10.0.0.6
> }
>
>
>
> -----
>
> On a side note, at this stage I did:
>
> cr211-FRA# bgpctl reload
> reload request sent.
> cr211-FRA#
>
> on the neighbor cr212-FRA I get this:
>
> Apr  5 13:13:39 cr212-FRA bgpd[2618]: neighbor 172.16.1.21: received
> notification: Cease, unknown subcode 0
> Apr  5 13:13:39 cr212-FRA bgpd[2618]: neighbor 172.16.1.21: state change
> Established -> Idle, reason: NOTIFICATION received
> Apr  5 13:13:39 cr212-FRA bgpd[16469]: neighbor 10.1.1.29 (AS65000)
> withdraw 10.0.0.6/32
> Apr  5 13:13:39 cr212-FRA bgpd[16469]: neighbor 10.1.1.29 (AS65000)
> withdraw 10.1.1.20/30
> Apr  5 13:13:39 cr212-FRA bgpd[16469]: fatal in RDE: attr_diff: equal
> attributes encountered
> Apr  5 13:13:39 cr212-FRA bgpd[3196]: Lost child: route decision engine
> exited
> Apr  5 13:13:39 cr212-FRA bgpd[2618]: fatal in SE: session_dispatch_imsg:
> pipe closed: Connection refused
> Apr  5 13:13:39 cr212-FRA bgpd[3196]: kernel routing table decoupled
> Apr  5 13:13:39 cr212-FRA bgpd[3196]: Terminating
>
Doh, sent to early, rde in ar213-FRA also shutdown when doing the bgpctl
reload:

Apr  5 12:52:46 ar213-FRA bgpd[4507]: neighbor 172.16.1.18: state change
OpenConfirm -> Established, reason: KEEPALIVE message received
Apr  5 12:52:46 ar213-FRA bgpd[5938]: nexthop 172.16.1.18 now valid:
directly connected
Apr  5 13:14:19 ar213-FRA bgpd[19227]: fatal in RDE: attr_diff: equal
attributes encountered
Apr  5 13:14:19 ar213-FRA bgpd[5938]: Lost child: route decision engine
exited
Apr  5 13:14:19 ar213-FRA bgpd[4507]: neighbor 192.168.30.10: state change
Established -> Idle, reason: Stop
Apr  5 13:14:19 ar213-FRA bgpd[4507]: neighbor 172.16.1.22: state change
Established -> Idle, reason: Stop
Apr  5 13:14:19 ar213-FRA bgpd[4507]: neighbor 172.16.1.18: state change
Established -> Idle, reason: Stop
Apr  5 13:14:19 ar213-FRA bgpd[5938]: kernel routing table decoupled
Apr  5 13:14:19 ar213-FRA bgpd[4507]: session engine exiting
Apr  5 13:14:19 ar213-FRA bgpd[5938]: Terminating

Time for a break.

--
Tony Sarendal - [EMAIL PROTECTED]
IP/Unix
       -= The scorpion replied,
               "I couldn't help it, it's my nature" =-

Reply via email to