[Xorp-users] Some xorp sintax help!

Pavlin Radoslavov pavlin@icir.org
Tue, 25 Oct 2005 09:05:25 -0700


> Here you have the answers to the following operational xorp commands:
> show route table ipv4 unicast static
> show route table ipv4 unicast rip
> show route table ipv4 unicast final
> 
> Xorp> show route table ipv4 
> unicast static
> Network 192.168.10.0/24
>     Nexthop := 192.168.15.1
>     
> Metric :=     7    Protocol := static    Interface := eth6    Vif := 
> eth6
> Xorp> show route table ipv4 unicast rip
> Network 192.168.6.0/24
>     
> Nexthop := 192.168.6.1
>     Metric :=     0    Protocol := rip    
> Interface := eth6    Vif := eth6
> Network 192.168.8.0/24
>     Nexthop := 
> 192.168.8.1
>     Metric :=     0    Protocol := rip    Interface := 
> eth8    Vif := eth8
> Network 192.168.9.0/24
>     Nexthop := 192.168.9.1
>     Metric :=     0    Protocol := rip    Interface := eth9    Vif := 
> eth9
> Xorp> show route table ipv4 unicast final
> Network 192.168.6.0/24
>     Nexthop := 192.168.6.1
>     Metric :=     0    Protocol := 
> connected    Interface := eth6    Vif := eth6
> Network 192.168.8.0/24
>     Nexthop := 192.168.8.1
>     Metric :=     0    Protocol := 
> connected    Interface := eth8    Vif := eth8
> Network 192.168.9.0/24
>     Nexthop := 192.168.9.1
>     Metric :=     0    Protocol := 
> connected    Interface := eth9    Vif := eth9
> Network 192.168.10.0/24
>     Nexthop := 192.168.15.1
>     Metric :=     7    Protocol := 
> static    Interface := eth6    Vif := eth6
> 
> >From those outputs i can 
> see that there is the static route i set up but i can't see it with the 
> linux bash command "route"

The above routes seem fine, and the static route is in the RIB's
final table.
What is the output of "/sbin/ip route"?
Also, were there any route-related warning/error messages?

Previously you said that you see the static route in the kernel only
if you are not running RIP. Can you double-check this:
1. Verify with "/sbin/ip route" that the 192.168.10.0/24 route is
   not in the kernel.
2. Start XORP with "static" only (i.e., no RIP) and verify that the
   above route is in the kernel.
3. Stop XORP and verify that the route is gone.

Finally, can you set the "XRLTRACE" environmental variable and run
XORP with both "static" and RIP configured. This will produce lots
of output with all XRLs transmitted. Save this output and look for
the "redist_transaction4/0.1/add_route" XRLs which are sent from RIB
to the FEA. You should see such XRLs for all routes that are in the
"final" RIB table (see the output of
"show route table ipv4 unicast final").

Pavlin