Manually adding a route?

Discussion in 'Cisco Small Business Routers and VPN Solutions' started by zorglubxx, Oct 9, 2006.

  1. zorglubxx

    zorglubxx Network Guru Member

    I'm telneting into my RV082 and I want to manually add a route. Does anybody know the syntax of the route command? The furthest I've gotten is:

    route add default ixp1

    but any attempt to specify a netmask, gateway, metric returns and error.

  2. zorglubxx

    zorglubxx Network Guru Member

    I figured out the syntax:

    route add -net default netmask gateway dev ixp1 metric 40

    Does anybody know how to make this permanent so that it's there everytime I reboot the router? I've tried adding it through the GUI under Advanced Routing but then when I manually check the routing table it's not added, that's why I'm adding it manually. Any tips appreciated!
  3. pablito

    pablito Network Guru Member

    I've added static routes via the GUI and they show up and they persist after a reboot. It takes a few moments for it to show but show it does. The only reason it won't show is if the gateway is not in the same subnet as the interface chosen.
  4. zorglubxx

    zorglubxx Network Guru Member

    I havent had any luck getting routes entered in the GUI to show up in the routing table. In the online docs it says "In order to use static routing, the Router's DHCP settings must be disabled.". But what does that mean? Does it mean that if an interface's IP address is configured with DHCP then I cant add a route for that interface?
  5. pablito

    pablito Network Guru Member

    What version of firmware are you running? I don't recall seeing anything about not having DHCP running in order to create static routes. Are they saying the DHCP server must be off or DHCP client on the WAN side? I don't see that mentioned.

    On mine I can create static routes no problem. Are the static routes for the LAN or WAN side? I've been able to create both kinds. But of course the gateway for each route must be within the subnet of the interface it is set to or it doesn't show up or work.

    Perhaps you could layout a description of the network and what you are trying to do.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice