[Xorp-users] How to configure simple static subnet route?

Ben Greear greearb at candelatech.com
Thu Sep 13 21:29:10 PDT 2007


I'm feeling quite lame, but I cannot figure out how to get Xorp to
configure regular old subnet routes on it's interfaces.  I've been
trying things like:

    static {
        interface-route 0.0.0.0/0 {
            next-hop-interface: "my_discard"
            next-hop-vif: "my_discard"
        }
        route 10.0.0.0/24 {
            next-hop: 10.0.0.2
        }

        route 10.2.0.0/24 {
            next-hop: 10.2.0.1
        }

But, only the discard default route shows up!

All of the examples I can find in the user-guide seem to be wierd non-subnet
routes...surely Xorp can do this?

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com




More information about the Xorp-users mailing list