[Xorp-users] INFO xorp_rib RIB Received death event for protocol bgp shutting down

Eneas Hunguana eneas.hunguana at gmail.com
Mon Nov 19 14:47:57 PST 2007


Dear All,

I've been trying to configure XORP to assign a local preference to BGP  
routes received from a specific neighbor. I've done that by setting up  
the following import policy:

policy {
     policy-statement LP {
         term rule1 {
             from {
                 neighbor: 172.16.2.12..172.16.2.12
             }
             then {
                 localpref: 300
             }
         }
     }


It works fine, BUT, when I use an export policy so that the router  
injects static routes into BGP in order to announce it to its peers,  
XORP BGP module crashes with the following message: [the same problem  
occurs if I inject "connected" routes into BGP]

================= Logs ======================
[ 2007/11/13 11:03:04  ERROR xorp_rtrmgr:2784 RTRMGR +747  
module_manager.cc done_cb ] Command "/usr/local/src/xorp-1.4/bgp/ 
xorp_bgp": terminated with signal 11.
[ 2007/11/13 11:03:04  INFO xorp_rtrmgr:2784 RTRMGR +294  
module_manager.cc module_exited ] Module abnormally killed: bgp
[ 2007/11/13 11:03:04 INFO xorp_rib RIB ] Received death event for  
protocol bgp shutting down -------
OriginTable: ebgp
EGP
next table = Merged:(ebgp)+(ibgp)
[ 2007/11/13 11:03:04 INFO xorp_rib RIB ] Received death event for  
protocol bgp shutting down -------
OriginTable: ebgp
EGP
next table = Merged:(ebgp)+(ibgp)
[ 2007/11/13 11:03:04 INFO xorp_rib RIB ] Received death event for  
protocol bgp shutting down -------
OriginTable: ebgp
EGP
next table = Merged:(ebgp)+(ibgp)
[ 2007/11/13 11:03:04 INFO xorp_rib RIB ] Received death event for  
protocol bgp shutting down -------
OriginTable: ebgp
EGP
next table = Merged:(ebgp)+(ibgp)
=============================================

This is the export policy I am using:

  policy-statement "static-to-bgp" {
         term rule1 {
             from {
                 protocol: "static"
             }
             to {
                 neighbor: 172.16.2.12..172.16.2.12
             }
             then {
                 accept {
                 }
             }
         }
     }

Did any of you ever experience a similar problem?! What could the  
reason behind this behavior be?

Than You in advance

Regards

/Eneas

P.S: Below is my XORP configuration file


=============== config.boot =================
/*XORP Configuration File, v1.0*/
protocols {
     bgp {
         bgp-id: 10.1.1.1
         local-as: 10
         peer "172.16.2.12" {
             peer-port: 179
             local-port: 179
             local-ip: "172.16.2.11"
             as: 20
             next-hop: 172.16.2.11
             holdtime: 90
             delay-open-time: 0
             client: false
             confederation-member: false
             disable: false
             ipv4-unicast: true
             ipv4-multicast: false
             ipv6-unicast: false
             ipv6-multicast: false
         }
         peer "172.16.5.14" {
             peer-port: 179
             local-port: 179
             local-ip: "172.16.5.11"
             as: 10
             next-hop: 172.16.5.11
             holdtime: 90
             delay-open-time: 0
             client: false
             confederation-member: false
             disable: false
             ipv4-unicast: true
             ipv4-multicast: false
             ipv6-unicast: false
             ipv6-multicast: false
         }

	import: "LP"
	export: "static-to-bgp"
     }
     static {
         disable: false
         route 100.1.1.0/24 {
             next-hop: 172.16.141.1
             metric: 1
         }
     }
}
policy {
     policy-statement LP {
         term rule1 {
             from {
                 neighbor: 172.16.2.12..172.16.2.12
             }
             then {
                 localpref: 300
             }
         }
     }
     policy-statement "static-to-bgp" {
         term rule1 {
             from {
                 protocol: "static"
             }
             to {
                 neighbor: 172.16.2.12..172.16.2.12
             }
             then {
                 accept {
                 }
             }
         }
     }
}
fea {
     unicast-forwarding4 {
         disable: false
     }
}
interfaces {
     restore-original-config-on-shutdown: false
     interface eth1 {
         disable: false
         discard: false
         description: "data interface"
         vif eth1 {
             disable: false
             address 172.16.2.11 {
                 prefix-length: 24
                 disable: false
             }
         }
     }
     interface eth2 {
         disable: false
         discard: false
         description: ""
         vif eth2 {
             disable: false
             address 172.16.5.11 {
                 prefix-length: 24
                 disable: false
             }
         }
     }
     interface eth3 {
         disable: false
         discard: false
         description: ""
         vif eth3 {
             disable: false
             address 172.16.141.200 {
                 prefix-length: 24
                 disable: false
             }
         }
     }
}


=========================================




More information about the Xorp-users mailing list