Forum Discussion

faycal_29095's avatar
faycal_29095
Icon for Nimbostratus rankNimbostratus
Jan 13, 2008

Adding a static route in BIG IP

Hello;

 

i want to add a static route in my BigIP. but these route should stay after rebooting.

 

i suppose that i need to add these route in a specific file!

 

if yes, please where can i find the file to add theses route?

 

 

thanks you

4 Replies

  • Hello,

     

     

    You could try searching for 'static route' on AskF5.com (Click here). Just select your version of BIG-IP to get a relevant solution. If you run into any problems finding a solution, please post in the advanced configuration forum (Click here) and include what version of BIG-IP you are running (Click here).

     

     

    Aaron
  • hi;

     

    i'm talking about the static route that can be including in the Unix file:

     

    "route-eth0" for exemple.

     

    i know how to add static root using F5 web interface.

     

     

    can i have an exemple of a static route for this file and how can these new routes take effect without rebooting?

     

    thanks.
  • sure you can add this is the file, but don't do this, first you can add via GUI, if not you can edit the /config/bigip.conf file and add the:

     

    "route 192.168.1.0 netmask 255.255.255.0 {

     

    gateway w.x.y.z

     

    }

     

    if its an mgmt route than you can add it from /config/bigip_base.conf:

     

    mgmt route 1.2.3.0 netmask 255.255.255.0 {

     

    gateway w.x.y.z

     

    or from console you can use the "b mgmt route add" and do b base save

     

    this will work for you.

     

    i forgot be sure to do b load after the changes

     

    Shay
  • This is a little late, but maybe it will be useful for future visits. The below is a host specific route example.

     

    The file syntax for the route-eth0 file would be:

     

    ADDRESS0=10.10.10.10

     

    NETMASK0=255.255.255.255

     

    GATEWAY0=192.168.1.1

     

     

    This assumes that you eth0 interface is on the 192.168.1.0 network.