Multiple external IP passthrough for VDOMs
Quick background on the environment.
Root vdom contains all the physical connections to the VMWare stack and the internet.
VDOM A - All internet bound traffic (inbound or outbound) runs through an intervdom link. Everything works as expected.
I understand how one would pass traffic through for either all ports or a single port from an external IP, through a VIP on Root, to the intervdom link IP of VDOM-A and then another VIP on VDOM-A to 'inside' VDOM-A.
What happens when you need to have multiple external IPs all routing to something within VDOM-A? With the intervdom link, VDOM-A essentially only has 1 'external' IP.
For example, you've got external IP: 40.40.40.40 that goes to WebserverA in VDOM-A and you've got 40.40.40.41 that goes to WebserverB in VDOM-A.
Do I create separate intervdom links for each external IP?
Do I take the VIP from external to Root and do something like take 40.40.40.40 port 80 outside, translate it to 172.17.172.1 (intervdom link IP) port 80 then at the VDOM-A VIP, take 172.17.172.1 port 80 and translate to 10.10.10.10 port 80 (this I've done and it works). Then take 40.40.40.41 port 80 outside, translate it it to 172.17.172.1 port 79 then at the VDOM-A VIP translate 172.17.172.1 port 79 and translate it to 10.10.10.11 port 80.
So something like this:
| External IP | Root VIP | VDOM A VIP |
| 40.40.40.40 port 80 | 172.17.172.1 port 80 | 10.10.10.10 port 80 |
| 40.40.40.41 port 80 | 172.17.172.1 port 79 | 10.10.10.11 port 80 |
I'm not sure how else I would get the traffic from 'outside' to VDOM-A when VDOM-A essentially only has 1 IP. I can't VIP both of the external IPs to port 80 but I'm also not sure how to get around it.