[Xorp-hackers] Is xorp running?

Ben Greear greearb at candelatech.com
Mon Jun 25 10:31:20 PDT 2012


On 06/25/2012 10:26 AM, Farney, Kira (IS) wrote:
> Hi All,
>
> I am not sure if xorp is up and running. Here is the log when I try running it. My config file is also included below. I can ping a host from the development
> board, but when I ping two hosts being on different networks it says “Destination host unreachable”. I am not sure why.
>
> Can anyone help me out here please?

Looks like it is running.  You can use 'ps' to see the xorp processes.

And, xorpsh will complain if it cannot connect to the rtr-mgr.

You can inspect routes through xorp, and you can also look at
the linux routing table from the linux command line with something
like 'ip route show'.

Thanks,
Ben

>
> ./xorp_rtrmgr -b static.boot
>
> Not doing pidfile...
>
> [ 1970/01/06 02:30:35.218501 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/main_rtrmgr.cc:718 main ]
>
> XORP 1.8.5 BuildInfo:
>
> git version: 00000000 built: Tue Jun 19 10:32:36 EDT 2012
>
> By: root on machine: Linux embedded-dev 2.6.32-5-686 i686 unknown
>
> Recent git changes:
>
> Cannot detect, not a git repository
>
> [ 1970/01/06 02:30:35.222455 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/main_rtrmgr.cc:754 main ]
>
> Host Information:
>
> Linux (none) 2.6.32.27-Cavium-Octeon #4 SMP Fri May 11 13:04:17 EDT 2012 mips64 GNU/Linux
>
> [ 1970/01/06 02:30:35.379938 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/master_conf_tree.cc:257 execute ] Changed modules: interfaces, firewall, fea, rib, policy,
> static_routes
>
> [ 1970/01/06 02:30:35.382678 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: interfaces (xorp_fea)
>
> [ 1970/01/06 02:30:35.383658 WARNING xorp_rtrmgr:1942 XrlFinderTarget obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 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 enabled.
>
> [ 1970/01/06 02:30:35.383989 WARNING xorp_rtrmgr:1942 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0
> max_retries: 30
>
> [ 1970/01/06 02:30:36.389045 INFO xorp_fea:1945 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled
>
> [ 1970/01/06 02:30:36.389442 INFO xorp_fea:1945 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled
>
> [ 1970/01/06 02:30:36.390207 INFO xorp_fea:1945 MFEA fea/mfea_node_cli.cc:92 start ] CLI started
>
> [ 1970/01/06 02:30:36.390308 INFO xorp_fea:1945 MFEA fea/mfea_node.cc:295 enable ] MFEA enabled
>
> [ 1970/01/06 02:30:36.390404 INFO xorp_fea:1945 MFEA fea/mfea_node_cli.cc:126 enable ] CLI enabled
>
> [ 1970/01/06 02:30:36.390666 INFO xorp_fea:1945 MFEA fea/mfea_node_cli.cc:92 start ] CLI started
>
> [ 1970/01/06 02:30:36.415970 WARNING xorp_fea:1945 FEA fea/data_plane/ifconfig/ifconfig_get_netlink_socket.cc:149 try_read_config_one ] NOTE: Netlink get single
> network device works on this system.
>
> [ 1970/01/06 02:30:36.424249 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: firewall (xorp_fea)
>
> [ 1970/01/06 02:30:36.425733 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: fea (xorp_fea)
>
> [ 1970/01/06 02:30:36.427727 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: rib (xorp_rib)
>
> [ 1970/01/06 02:30:36.428345 WARNING xorp_rtrmgr:1942 XrlFinderTarget obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 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 enabled.
>
> [ 1970/01/06 02:30:36.428627 WARNING xorp_rtrmgr:1942 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0
> max_retries: 30
>
> [ 1970/01/06 02:30:37.431879 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: policy (xorp_policy)
>
> [ 1970/01/06 02:30:37.432586 WARNING xorp_rtrmgr:1942 XrlFinderTarget obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 handle_finder_0_2_resolve_xrl
> ] Handling method for finder/0.2/resolve_xrl failed: XrlCmdError 102 Command failed Target "policy" does not exist or is not enabled.
>
> [ 1970/01/06 02:30:37.432876 WARNING xorp_rtrmgr:1942 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0
> max_retries: 30
>
> [ 1970/01/06 02:30:38.436423 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/module_manager.cc:101 execute ] Executing module: static_routes (xorp_static_routes)
>
> [ 1970/01/06 02:30:38.437135 WARNING xorp_rtrmgr:1942 XrlFinderTarget obj/mips64-octeon-linux-gnu/xrl/targets/finder_base.cc:1135 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.
>
> [ 1970/01/06 02:30:38.437427 WARNING xorp_rtrmgr:1942 RTRMGR rtrmgr/task.cc:215 xrl_done ] Failed to receive reply, code: 201 Resolve failed retries: 0
> max_retries: 30
>
> [ 1970/01/06 02:30:39.444492 INFO xorp_rtrmgr:1942 RTRMGR rtrmgr/task.cc:2242 run_task ] No more tasks to run
>
> /usr/local/xorp/sbin # ./xorpsh
>
> Invalid window width (0); window width unchanged (80)
>
> Invalid window height (0); window height unchanged (25)
>
> Welcome to XORP v1.8.5 on (none)
>
> Version tag: 00000000 Build Date: 2012-06-19 10:32 64-bit
>
> root@(none)>
>
> static.boot configuration file:
>
> /* $XORP$ */
>
> interfaces {
>
> interface eth0 {
>
> vif eth0 {
>
> address 192.168.0.10 {
>
> prefix-length: 24
>
> }
>
> }
>
> }
>
> interface eth1 {
>
> vif eth1 {
>
> address 192.168.10.10 {
>
> prefix-length: 24
>
> }
>
> }
>
> }
>
> }
>
> fea {
>
> unicast-forwarding4 {
>
> disable: false
>
> }
>
> }
>
> protocols {
>
> static {
>
> route 192.168.0.50/24 {
>
> next-hop: 192.168.10.10
>
> }
>
> }
>
> }
>
> Thanks,
>
> Kira
>
>
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list