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