Forum Discussion

jcook_105986's avatar
jcook_105986
Icon for Nimbostratus rankNimbostratus
Jun 17, 2008

how 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?

1 Reply

  • 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.

     

     

    Hope this helps...

     

     

    -Joe