[Xorp-users] Static route configuration
Pavlin Radoslavov
pavlin@icir.org
Sun, 15 May 2005 20:45:33 -0700
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.