I have a VMware environment in which VMs are running a simulation suite. The software used has hardcoded IP addresses, about 10-15 VMs, and we are running multiple instances of this software each in different distributed port groups. So SIM1 VM set has 192.168.1.0/24 in VLAN10 and SIM2 has 192.168.1.0/24 in VLAN20, etc...
This works fine, there is no need for SIM1 VMs to talk to SIM2 VMs and so on. A new requirement has popped up and I now need to be able to remotely monitor progress, manage, and share data from a physical set of machines. The management PCs will live in VLAN200 connected to a catalyst cisco switch.
I have 4x10gbe uplinks on the distributed switch. I was going to run those to some Cisco 10gbe Router (I want to keep 10gbe connectivity to the VMs, not sure exactly which model would do this) and use VRF on subinterfaces for each VLAN using that interface as the gateway and static NAT each virtual machine. So SIM1 machine1 has IP 192.168.1.2 which would NAT publicly to 10.0.10.2. The 4th octet would match the private vm IP and the 3rd octet would match the VLAN. So SIM2 machine1 (192.168.1.2) would NAT to 10.0.20.2. The management side could also be a subinterface on a different port and live in global or a shared VRF. To manage SIM2 machine1 I should be able to use 10.0.20.2. If shared routes between the VRFs and NAT was working.
I started trying to build something similar up in GNS3 and quickly got overwhelmed. So I want to make sure my design is sane or if there is another better more sane way of dealing with the problem. Or any tips or pointers on how to accomplish this?
Thanks!
Edit: Added a diagram:
The idea would be that SIM1-S1 would NAT to 10.0.10.2, SIM1-S2 would NAT to 10.0.10.3, etc... SIM2-S1 would NAT to 10.0.20.2, SIM2-S2 would NAT to 10.0.20.3, etc...
fast0/0.10
andfast0/0.20
andfast0/0.nn
(with their respective 802.1q tag) on that router, I doubt that it will allow you to configure overlapping IP ranges on the subinterfaces. When I tried, my C891-24X just barked:% 192.168.1.254 overlaps with GigabitEthernet0/1.10
. I don't see this happening without VRFs. What router model do you have there, and how many interfaces does it have?