[Xorp-users] [OSPFv2] Router Crash]

karnik karnik.jain at einfochips.com
Fri Oct 24 00:00:47 PDT 2008


I am doing some testing work of ospf with xorp for configuring  virtual 
link between two ABRs. at that time i have noticed following errors in 
xorp.
At that time xorp is giving following errors and crash :
i don't understand what happens, tell me why this happen with xorp .


/*/*I have attached the scenario  and configuration file of both ABRs 
that i have created to configure the virtual link. */ */


/**/ON 1st ABR i have found following errors in xorp./* */

[ 2008/10/24 11:42:30  FATAL xorp_ospfv2:3594 OSPF +85 peer.hh

get_interface_prefix_length ] Assertion (0 != _interface_prefix_length) 
failed
[ 2008/10/24 11:42:30  ERROR xorp_rtrmgr:3567 RTRMGR +747 module_manager.cc
done_cb ] Command "/usr/local/xorp/ospf/xorp_ospfv2": terminated with 
signal 6.
[ 2008/10/24 11:42:30  INFO xorp_rtrmgr:3567 RTRMGR +294 module_manager.cc
module_exited ] Module abnormally killed: ospf4
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf





/*/*ON 2nd ABR i have found following errors in xorp. */

*/[2008/10/24 11:42:30  FATAL xorp_ospfv2:3594 OSPF +85 peer.hh
get_interface_prefix_length ] Assertion (0 != _interface_prefix_length) 
failed
[ 2008/10/24 11:42:30  ERROR xorp_rtrmgr:3567 RTRMGR +747 module_manager.cc
done_cb ] Command "/usr/local/xorp/ospf/xorp_ospfv2": terminated with 
signal 6.
[ 2008/10/24 11:42:30  INFO xorp_rtrmgr:3567 RTRMGR +294 module_manager.cc
module_exited ] Module abnormally killed: ospf4
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
[ 2008/10/24 11:42:30 INFO xorp_rib RIB ] Received death event for protocol
ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf
rib RIB ] Received death event for protocol ospfv2 shutting down -------
OriginTable: ospf
IGP
next table = Redist:ospf





/*Test Setup:
Test Setup

*/

*/ON 1st ABR's configuration file./*
------------------------------------------------------------------------

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05 atanu Exp $ */


interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
	description: "data interface"
	disable: false
	/*default-system-config*/
	vif eth0 {
	    disable: false
	    address 192.168.14.1 {
		prefix-length: 24
		broadcast: 192.168.14.255
		disable: false
	    }
	}
    }

    interface eth1 {
        description: "data interface"
        disable: false
        /*default-system-config*/
        vif eth1 {
            disable: false
            address 192.168.16.20{
                prefix-length: 24
                broadcast: 192.168.16.255
                disable: false
            }
        }
    }
	
} 

fea {
    unicast-forwarding4 {
	disable: false
	forwarding-entries {
	    retain-on-startup: false
	    retain-on-shutdown:	false
	}
    }
}

protocols {
   ospf4 {
	router-id: 10.10.10.10
	/* export: "static" */


	traceoptions {
	    flag {
		all {
		    disable: false
		}
	    }
	}

	
	area 0.0.0.0{
	 virtual-link 10.10.10.11{
                transit-area: 1.1.1.1
           }
	    interface eth0 {
		/* link-type: "broadcast" */
		vif eth0 {
		    address 192.168.14.1 {
			 priority: 1 
			 hello-interval: 10 
			 router-dead-interval: 40
			 /*interface-cost: 1*/
			 /*retransmit-interval: 5*/
			 /*transit-delay: 1 */

/*
			authentication {
			    simple-password: "password";

			    md5 @: u32 {
				password: "password";
				start-time: "2006-01-01.12:00"
				end-time: "2007-01-01.12:00"
				max-time-drift: 3600
			    }
			}
*/

			/* passive: false */

			/* disable: false */			

		    }
		}
	    }
	}
	area 1.1.1.1{
           interface eth1 {
                /* link-type: "broadcast" */
                vif eth1 {
                    address 192.168.16.20 {
                         priority: 9
                         hello-interval: 10
                         router-dead-interval: 40
                         /*interface-cost: 1*/
                         /*retransmit-interval: 5*/
                         /*transit-delay: 1 */

/*
                        authentication {
                            simple-password: "password";

                            md5 @: u32 {
                                password: "password";
                                start-time: "2006-01-01.12:00"
                                end-time: "2007-01-01.12:00"
                                max-time-drift: 3600
                            }
                        }
*/


                    }
                }
            }
	}	
	
	}
    }


plumbing {
    mfea4 {
	disable: false
	interface eth0 {
	    vif eth0 {
		disable: false
	    }
	}

	 interface eth1 {
            vif eth1 {
                disable: false
            }
        }

	interface register_vif {
	    vif register_vif {
		/* Note: this vif should be always enabled */
		disable: false
	    }
	}
	traceoptions {
	    flag all {
		disable: false
	    }
	}
    }
}

/*
 * Note: fib2mrib is needed for multicast only if the unicast protocols
 * don't populate the MRIB with multicast-specific routes.
 */
protocols {
    fib2mrib {
	disable: false
    }
}


*/ON 2nd ABR's configuration file./*
------------------------------------------------------------------------

/* $XORP: xorp/rtrmgr/config.boot.sample,v 1.46 2007/03/12 10:16:05 atanu Exp $ */


interfaces {
    restore-original-config-on-shutdown: false
    interface eth0 {
	description: "data interface"
	disable: false
	/*default-system-config*/
	vif eth0 {
	    disable: false
	    address 192.168.14.2 {
		prefix-length: 24
		broadcast: 192.168.14.255
		disable: false
	    }
	}
    }

    interface eth1 {
        description: "data interface"
        disable: false
        /*default-system-config*/
        vif eth1 {
            disable: false
            address 192.168.16.201 {
                prefix-length: 24
                broadcast: 192.168.16.255
                disable: false
            }
        }
    }
	
} 

fea {
    unicast-forwarding4 {
	disable: false
	forwarding-entries {
	    retain-on-startup: false
	    retain-on-shutdown:	false
	}
    }
}

protocols {
   ospf4 {
	router-id: 10.10.10.11
	/* export: "static" */


	traceoptions {
	    flag {
		all {
		    disable: false
		}
	    }
	}
	area 0.0.0.0{
           virtual-link 10.10.10.10{
		transit-area: 1.1.1.1
 	   } 
	    interface eth0 {
		/* link-type: "broadcast" */
		vif eth0 {
		    address 192.168.14.2 {
			 priority: 7 
			 hello-interval: 10 
			 router-dead-interval: 40
			 /*interface-cost: 1*/
			 /*retransmit-interval: 5*/
			 /*transit-delay: 1 */

/*
			authentication {
			    simple-password: "password";

			    md5 @: u32 {
				password: "password";
				start-time: "2006-01-01.12:00"
				end-time: "2007-01-01.12:00"
				max-time-drift: 3600
			    }
			}
*/

			/* passive: false */

			/* disable: false */			

		    }
		}
	    }
	}	
	
	area 1.1.1.1{
	interface eth1 {
                /* link-type: "broadcast" */
                vif eth1 {
                    address 192.168.16.201 {
                         priority: 6
                         hello-interval: 10
                        router-dead-interval: 40
                         /*interface-cost: 1*/
                         /*retransmit-interval: 5*/
                         /*transit-delay: 1 */

/*
                        authentication {
                            simple-password: "password";

                            md5 @: u32 {
                                password: "password";
                                start-time: "2006-01-01.12:00"
                                end-time: "2007-01-01.12:00"
                                max-time-drift: 3600
                            }
                        }
*/

                        /* passive: false */

                        /* disable: false */

                    }
                }
            }
	}
    }
  }


plumbing {
    mfea4 {
	disable: false
	interface eth0 {
	    vif eth0 {
		disable: false
	    }
	}

	 interface eth1 {
            vif eth1 {
                disable: false
            }
        }
	

	interface register_vif {
	    vif register_vif {
		/* Note: this vif should be always enabled */
		disable: false
	    }
	}
	traceoptions {
	    flag all {
		disable: false
	    }
	}
    }
}

/*
 * Note: fib2mrib is needed for multicast only if the unicast protocols
 * don't populate the MRIB with multicast-specific routes.
 */
protocols {
    fib2mrib {
	disable: false
    }
}

-- 
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
__________________________________________________________________________
 



More information about the Xorp-users mailing list