[Xorp-hackers] question about running XORP-0.5 on Linux

Liang Qin lqin@sce.carleton.ca
Wed, 12 Nov 2003 15:19:47 -0500


Thanks Atanu!

Now Xorp is running. But when I run xorsh to show interface and vif, I 
get following message from rtrmgr process (it really returns the IP info 
of the interface actually):

[WARNING xopr_fea XrlFeaTarget ] Handling method for 
ifmgr/0.1/unregister_client failed: XrlcmdError 102 Command failed 
interface_monitor5401 not register

I checked the rtrmgr console, found some Warnings for each module (fea, 
bgp and rib):

xorp_rtrmgr: 5357 XrlFinderTarget +376 finder_base.cc 
handle_finder_0_2_resolve_xrl ] handling method for 
finder/0.2/resovlve_xrl failed: XrlCmdrror 102 command failed Target 
"bgp" does not exist or is not enabled

But all three modules are running.

Liang








Atanu Ghosh wrote:

>    Liang> I comment out the peer section, the rtrmgr process aborted
>    Liang> when it was processing fea:
>
>    Liang> [FATAL xorp_rtrmgr:2116 RTRMGR +975 task.cc find_task]
>    Liang> Assertion (_module_commands.find(modname) !=
>    Liang> _module_commands.end())
>
>I knew I should have tried it before suggesting this course of
>action:-(.
>
>The config below works for me with a dummy peer entry. There is a
>comment by every entry you need to change.
>
>      Atanu.
>
>----------------------------------------
>interfaces {
>  interface rl0 {			/* Your interface name */
>    description: "control interface"
>    vif rl0 {				/* Your interface name */
>      address 192.150.187.108 {		/* Your interface address */
>        prefix-length: 24		/* Your prefix length */
>        broadcast: 192.150.187.255	/* Your broadcast address */
>      }
>    }
>  }
>}
>
>protocols {
>  bgp {
>    bgp-id: 192.150.187.108		/* Your interface address */
>    local-as: 65002
>    peer 10.10.10.1 {
>      local-ip: 192.150.187.108		/* Your interface address */
>      peer-ip: 10.10.10.1
>      as: 65000
>      holdtime: 90
>      next-hop: 10.10.10.2
>    }
>  }
>}
>----------------------------------------
>
>  
>