Forum Discussion
faycal_29095
Nimbostratus
Jan 13, 2008Adding 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
- hoolio
Cirrostratus
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 - faycal_29095
Nimbostratus
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. - Shay_Ben-David1
Nimbostratus
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 - ThatGuy
Nimbostratus
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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects