I wish to establish multiple default routes in more or less a virtual router perspective. I have four ports on a LTM (C62a, running BigIP 9.4.0) partitioned into two private networks and two public networks. Conceptually, I have a one-to-one relationship between each pair of public and private networks, in so much as the private networks can be thought of on paper as PV1 and PV2 and the public interfaces PB1 and PB2. The public networks host virtual servers and the private networks host the pools and pool members. There is a one-to-one relationship for PV1 and PB1. Similarly a one-to-one relationship for PV2 and PB2.
I have configured a virtual server on PB1 to use the “Last Hop” feature, which guarantees that traffic directed to any participating pool members registered with the virtual server will always egress back through PB1. The same works for PB2, but it doesn’t seem to apply to NATs in PB2 when PB1 is the default route.
I have a definitive need for NATs and I would like to know if it’s possible to configure routing such that traffic initiated by hosts (individual pool members) in PV1 can always egress through PB1 and similarly hosts (individual pool members) in PV2 will always egress through PB2.
Currently the BigIP has a default route that egresses through PB1. All NATs in PV2, though, egress through PB1, which is not what I want. I want PV2 traffic to egress through PB2.
I would prefer that hosts in PV1 and PV2 egress as their unique public IP on PB1 and PB2 respectively, however, I will be satisfied even if it’s only possible to egress on a shared IP from PB1 for PV1 traffic and a PB2 shared IP for traffic in PV2.
Does anyone have any design (or redesign) suggestions? Are there better ways to implement this design? Can port ranges be proxied by a virtual server published on the private networks that serves as a proxy for the pool members (provided any conflicting NATs are removed)?