Static route need SELF IP?

Hello everyone!

my topology:

on my F5: i have VIP 10.0.0.2/24 and the external interface is connected to my router that have IP 10.0.0.1/24 (so it’s directly connected to my VIP)

Question:

on AUTO LAST HOP enabled. the client reach my F5 (destination IP: VIP) so the router send it to F5 and F5 reply by using destination mac address (the mac of the router) .

If i disable the AUTO LAST HOP. so for reply now i need default static route on F5 ( 0.0.0.0/0 next hop 10.0.0.1 ) The question is on reply for static route F5 Use the VIP or we need a SELF_IP same subnet of 10.0.0.0/24?

Regards.

You don’t need a self, as long as you have the route for egress traffic in lieu of auto-last hop.

When I create 0.0.0.0/0 via 10.0.0.1 with only a VIP in 10.0.0.0/24 and no self IP, does the BIG-IP accept the route?

And how does it ARP for 10.0.0.1 without one?

oh duh…yeah, I misspoke, sorry about that. Was conflating the lack of a need to have a self IP on an external interface with the lack of auto-lasthop in use. Yeah, if you want to disable auto-lasthop (and there are good reasons to in a DMZ), you’ll want a self with allow None in the same subnet as your egress gw router so you can add the route.

HOWEVER…if you don’t want that, you can mimic auto-lasthop behavior with iRules. Can capture the egress router’s mac

set cs_mac [LINK::lasthop]
set cs_vlan [LINK::lasthop name]

and then set return traffic to that lasthop

lasthop $cs_vlan $cs_mac

And then set whatever conditions you want to control when traffic is returned.

Example in the codeshare: HSRP and VRRP Optimization

what is your app traffic use case?

despite f5 hardware looks like switch/router, it is better and easier if you treat it as reverse proxy server.
avoid using it as switch/router.