[Xorp-users] Static route configuration

Pavlin Radoslavov pavlin@icir.org
Sun, 15 May 2005 23:02:10 -0700


> Thanks for your reply. Yes, I configured those two,
> interfaces and fea too. I just didn't explain it. ;)
> Three interfaces are configured in R1 machine.

<DEL>

> and the static protocol.
> What do I have to configure more?

Were there any log messages that indicate any error?
And, of course, did you see the static routes installed in the
kernel? The output of "netstat -rn" should tell you what routes are
in the kernel.

Regards,
Pavlin

> 
> Thanks,
> Jake
> 
> 
> -----Original Message-----
> From: Pavlin Radoslavov [mailto:pavlin@icir.org] 
> Sent: Sunday, May 15, 2005 8:46 PM
> To: drcaesar@ecs.fullerton.edu
> Cc: xorp-users@xorp.org
> Subject: Re: [Xorp-users] Static route configuration 
> 
> Jake,
> 
> You need to configure the network interfaces that are
> going to be
> used by XORP (the "interfaces {}" configuration
> section).
> 
> Also, in your case you should enable the unicast
> forwarding as well:
> fea {
>     unicast-forwarding4 {
>         disable: false
>     }
> }
> 
> 
> Regards,
> Pavlin
> 
> > Hi everyone,
> > 
> >  
> > 
> > I'm having a hard time in configuring static routes.
> > 
> > Following is the topology.
> > 
> >  
> > 
> >              [RT2]
> > 
> >                                         /   \
> > 
> >                                   /       \
> > 
> > [PC1]------------[RT1]-----[RT3]-----------[PC2]
> > 
> >  
> > 
> >  
> > 
> > I configured only static protocol in the config.boot
> file on RT1 machine.
> > 
> > protocols {
> > 
> >              static {
> > 
> >                            route4 192.168.1.0/24 {
> > 
> >                                         next-hop:
> 192.168.1.20 /* interface
> > to PC 1 */
> > 
> >                                         metric: 1
> > 
> >                            }
> > 
> >                            route4 192.168.2.0/24 {
> > 
> >                                         next-hop:
> 192.168.2.21 /* interface
> > to RT2 */
> > 
> >                                         metric: 1
> > 
> >                            }
> > 
> >                            route4 192.168.4.0/24 {
> > 
> >                                         next-hop:
> 192.168.4.22 /* interface
> > to RT3 */
> > 
> >                                         metric: 1
> > 
> >                            }
> > 
> >              }
> > 
> > }
> > 
> >  
> > 
> > Ping never reaches to RT2 and RT3 from PC1. I was
> going to set up BGP in the
> > first place, but it didn't work. So I tried static
> route to see if it works
> > but it doesn't work either. What configuration
> should I check more? All
> > machines are running on FreeBSD and Xorp is running
> on RT1, 2, and 3
> > machines.
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users