[Xorp-hackers] Static routes module doesn't get installed

Paolo Pisati paolo.pisati@iit.cnr.it
Thu, 15 Apr 2004 09:41:06 +0200


As the subject says,
the statis routes module, even if it's compiled correctly,
it doesn't get installed in $PREFIX/xorp/static_routes (actually not even
the statis_routes directory is created).
Is it correct?
So i copied the binary "xorp_static_routes" from my working copy to
$PREFIX/xorp/static_routes.

This is my cfg now:

interfaces {
   interface xl0 {
     description: "control interface"
     vif xl0 {
       address 192.168.0.1 {
         prefix-length: 24
         broadcast: 192.168.0.255
       }
     }
   }
}

protocols {
   static_routes {
     route4 10.10.0.0/16 {
       nexthop: 127.0.0.1
     }
   }
}

And this is xorp output:

[skip the beginnig]
ModuleManager::new_module fea
**********************************************************
new module: fea path: /usr/local/xorp/fea/xorp_fea
**********************************************************
ModuleManager::new_module rib
**********************************************************
new module: rib path: /usr/local/xorp/rib/xorp_rib
**********************************************************
ModuleManager::new_module static_routes
**********************************************************
new module: static_routes path:  
/usr/local/xorp/static_routes/xorp_static_routes
**********************************************************
**********************************************************
running module: fea path: /usr/local/xorp/fea/xorp_fea
**********************************************************
New module has PID 80619
[ 2004/04/15 09:36:19  WARNING xorp_rtrmgr:80617 XrlFinderTarget +406  
finder_bas
e.cc handle_finder_0_2_resolve_xrl ] Handling method for  
finder/0.2/resolve_xrl
failed: XrlCmdError 102 Command failed Target "fea" does not exist or is  
not ena
bled.
**********************************************************
running module: rib path: /usr/local/xorp/rib/xorp_rib
**********************************************************
New module has PID 80620
[ 2004/04/15 09:36:20  WARNING xorp_rtrmgr:80617 XrlFinderTarget +406  
finder_bas
e.cc handle_finder_0_2_resolve_xrl ] Handling method for  
finder/0.2/resolve_xrl
failed: XrlCmdError 102 Command failed Target "rib" does not exist or is  
not ena
bled.
[ 2004/04/15 09:36:20 WARNING xorp_fea XrlFeaTarget ] Handling method for  
ifmgr/
0.1/get_configured_vif_addresses6 failed: XrlCmdError 102 Command failed  
IPv6 is
  not available
**********************************************************
running module: static_routes path:  
/usr/local/xorp/static_routes/xorp_static_ro
utes
**********************************************************
New module has PID 80621
[ 2004/04/15 09:36:21  WARNING xorp_rtrmgr:80617 XrlFinderTarget +406  
finder_bas
e.cc handle_finder_0_2_resolve_xrl ] Handling method for  
finder/0.2/resolve_xrl
failed: XrlCmdError 102 Command failed Target "static_routes" does not  
exist or
is not enabled.
##############################################################
## commit_pass2_done
## commit seems successful
MasterConfigTree::config_done: success
commit was successful, finalizing...
finalizing done
MasterConfigTree::config_done returning

What about the WARNINGs?

Thank you.

-- 

P.

Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/