[Xorp-users] Re: Fw: configure xorp

Pavlin Radoslavov pavlin@icir.org
Fri, 22 Jul 2005 03:59:01 -0700


[Note: email CC to xorp-users@xorp.org, because it is the right
email address for such questions]

> can't understud where i can configure the protocols ! to create a static =
> router wath can i do?
> At this moment i have only configure a ip address and prefix-length..=20
> pelase help me

The "Getting Started" Web page
http://www.xorp.org/getting_started.html contains information about
how to configure XORP. The User Manual document (available from the
Documentation menu from the XORP front page) contains more details
about the configuration.

Basically, to run XORP as a static router you need to configure the
following:
1. The network interfaces (which you have done already)
2. The unicast forwarding, which in case of IPv4 is basically the
   following:

fea {
    unicast-forwarding4 {
        disable: false
    }
}


3. The static routes which typically are a number of "route4"
   entries like:

protocols {
    static {
        route4 10.20.0.0/16 {
            next-hop: 10.10.10.20
            metric: 1
        }
        route4 10.30.0.0/16 {
            next-hop: 10.10.10.20
            metric: 1
        }
    }
}


Good luck!
Pavlin