[Xorp-users] Some xorp sintax help!

riccardo.sciaccaluga@tin.it riccardo.sciaccaluga@tin.it" <riccardo.sciaccaluga@tin.it
Tue, 25 Oct 2005 10:34:14 +0100 (GMT+01:00)


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"

----Messaggio originale----
Da: pavlin@icir.
org
Data: 25-ott-2005 7.40 AM
A: "riccardo.sciaccaluga@tin.it"<riccardo.
sciaccaluga@tin.it>
Cc: <pavlin@icir.org>
Ogg: Re: R: Re: [Xorp-users] 
Some help with xorp sintax! 

> ------=_Part_78549_28762835.
1130169891174
> Content-Type: text/plain; charset=UTF-8
> Content-
Transfer-Encoding: 7bit
> 
> Ok the patch you gave me it adds the 
information of the next-hop-router 
> address to my xorp routing table,
so it works.
> Unfortunately i have 
> another problem, my conifg.boot 
doesen't add the static route i 
> configured on it to the routing 
table of my system kernel and i don't 
> know why!
> For example if i 
set a very simple xorp configuration with 
> just set up a static route 
on my config.boot file, i can check it 
> succesfully on my system 
kernel route table.
> On the other hand if i add 
> some other routing 
protocol matched with some other interface i can't 
> see anymore my 
static route on the system kernel entries!

What is the output of the 
following operational commands when you
are running both static and 
RIP:

show route table ipv4 unicast static
show route table ipv4 
unicast rip
show route table ipv4 unicast final

> I attach my 
> 
config.boot file!  
> Sorry for my so often question but i'm a student 
> and i am working on my thesys with the need of beeing able to manage 
> the routing table of the router with xorp!
> Thanks in advance
> 
> P.
s:how 
> could do(i mena the sintax) if i would export the static route 
on my 
> file

Somebody else should answer the above question so if you 
don't
receive an answer then please resend the same question in a new
thread :)

Pavlin

> ------=_Part_78549_28762835.1130169891174
> 
Content-Type: APPLICATION/OCTET-STREAM; name=config.boot
> Content-
Transfer-Encoding: 7bit
> Content-Disposition: attachment; 
filename=config.boot; size=1717
> 
> interfaces {
> interface eth6 {
>         description:"data interface"
>         disable:false
>         vif eth6 {
>                 disable:false
>                 
address 192.168.6.1 {
>                         prefix-length: 24
>                         broadcast: 192.168.6.255
>                         disable:false
>                         }
>                 }
>         }
> interface eth8 {
>         
description:"data interface"
>         disable:false
>         vif eth8 
{
>                 disable:false
>                 address 192.168.8.1 
{
>                         prefix-length: 24
>                         
broadcast: 192.168.8.255
>                         disable:false
>                         }
>                 }
>         }
> interface 
eth9 {
>         description:"data interface"
>         disable:false
>         vif eth9 {
>                 disable:false
>                 
address 192.168.9.1 {
>                         prefix-length: 24
>                         broadcast: 192.168.9.255
>                         disable:false
>                         }
>                 }
>         }
> 
> 
> }
> fea {
> unicast-forwarding4 
{
>         disable:false
>         }
> }
> 
> protocols {
> 	static {
> 	interface-route4 192.168.10.0/24 {
>         next-hop-interface: 
"eth6"
>         next-hop-vif: "eth6"
>         next-hop-router: 
192.168.15.1
>         metric:7
>        
>                                }
>                 }
> }
> protocols 
{
> 	rip {
> 	export connected {
> 		metric: 0
> 		tag: 0
> 		}
> 	
interface eth8 {
> 		vif eth8 {
> 			address 192.168.8.1 {
> 				
disable: false
> 				}
> 			}
> 		}
> 	interface eth9 {
>                 vif eth9 {
>                         address 
192.168.9.1 {
>                                 disable: false
>                                 }
>                         }
> 		}
> 	}
> }
> 
> ------=_Part_78549_28762835.1130169891174--
>