[Xorp-users] Static route configuration
Jake Kim
drcaesar@yahoo.com
Sun, 15 May 2005 23:21:31 -0700 (PDT)
Pavlin,
Everything seemed correct from "netstat -rn" and
"xorpsh". Let me check that again tomorrow. Additional
thing I'd like to ask you is that why metric is 0 when
I did "show route ... connected" in the xorp shell
whereas "show route ... static" shows metric is 1?
Does this mean something wrong?
One more question... when I run xorp, it stops at [no
more tasks to run] not allowing me to tpye any BSD
command unless I log out with ALT + F4, does this
indicate normal status of xorp?
I'm new to xorp...
Thanks,
Jake
--- Pavlin Radoslavov <pavlin@icir.org> wrote:
> > 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
>
>