Forum Discussion

Herman2024's avatar
Dec 09, 2024

how to forward the traffics when there are two default routes

Hi, four interfaces are configured on our F5: two internal, one external and mgmt. There are two static default routes which the exit interface is external interface and mgmt interface respectively. 

How does F5 choose the next hop based on the routing table if dns pool member IP 10.50.50.1 is not routable via internal interface as shown below?  Seems there is no VRF configured for mgmt interface, don't know how F5 manage the routing table. Can someone please help advise?  thanks in advance!

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         193.20.x.1     0.0.0.0         UG    0      0        0 vlan_999  (external)

0.0.0.0         10.20x.20.1      0.0.0.0         UG    4096   0        0 mgmt

10.20.0.0      10.20.0.254     255.255.255.0                        vlan_10 (internal-01)

10.30.0.0      10.30.0.254     255.255.255.0                        vlan_30 (internal-02)

  • The first listed default route (GW: 193.20.x.1) will be preferred over the second listed default route (GW: 10.20x.20.1). The former is a TMM route, while the latter is a Management route. TMM routes are assigned lower metrics than Management routes and are therefore preferred.

     

    More information in the following article:

    https://my.f5.com/manage/s/article/K13284

  • The first listed default route (GW: 193.20.x.1) will be preferred over the second listed default route (GW: 10.20x.20.1). The former is a TMM route, while the latter is a Management route. TMM routes are assigned lower metrics than Management routes and are therefore preferred.

     

    More information in the following article:

    https://my.f5.com/manage/s/article/K13284