[Xorp-hackers] cannot add to RIB
Pavlin Radoslavov
pavlin@icir.org
Fri, 12 Mar 2004 12:29:25 -0800
> My question is StaticRoutes module? Is there any example in XORP
> which uses it?
StaticRoutes is like a (very dummy) routing protocol: it is
configured with the static routes, and then it injects them into the
RIB. You can find a sample configuration example inside
rtrmgr/config.boot :
protocols {
static_routes {
route4 10.10.0.0/16 {
nexthop: 192.150.187.108
}
route4 10.20.0.0/16 {
nexthop: 192.150.187.108
metric: 10
}
}
}
If you need to configure static IPv6 routes, then just add "route6"
entries (with IPv6 addresses of course).
Regards,
Pavlin