Forum Discussion
jcook_105986
Nimbostratus
Jun 17, 2008how do I get the "Routes" information.
How can I get the Destination, Netmask, Resource Type,
and the Resource.
I have looked into the iControl's "Route Table" APIs.
When I log into the F5 server with the web-interface,
I see some values in "Network->Routes" section.
However, when I try to use the iControl APIs,
all I get is null values or just meaningless string
such as "0,0,0,0" or "";
What am I doing wrong here?
- You have a default gateway setup (Default IPv4) so the destination and netmask are 0.0.0.0. Click on the entry in the GUI and you'll likely see 0.0.0.0 for those fields. If you want the other information, you can use the other methods like get_static_route_gateway(), get_static_route_vlan() or get_static_route_pool() to query the values depending on the type of route it is.
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