Need some help in VMware NSX to route between two vSwitch in single ESXi server for different Subnet ?

Senior IT System Engineer
Senior IT System Engineer used Ask the Experts™
on
People,

Using VMware NSX v6, can anyone here please assist me what is the steps that I can use to route traffic between two different vSwitch which contains VM with different IP subnet in a single ESXi server ?

The idea is to eliminate the physical router appliance so that all routing and firewalling can be done virtually in vSphere environment.

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Aaron TomoskyDirector of Solutions Consulting
Commented:
A physical router adds vlans and interfaces but nsx calls them segments. The VMware blog explains it well
https://blogs.vmware.com/networkvirtualization/2014/07/getting-started-vmware-nsx-part-ii-building-virtual-networks.html

Author

Commented:
Thanks Aaron,

So does this means I can deploy NSX in each of my ESXi servers and then expect it to route between two vSwitch / vDS ?

If yes, I need some guide to do that.
Aaron TomoskyDirector of Solutions Consulting

Commented:
Why not just add another vnic to the VM? While you can do what you are asking, You may want to consider not just duplicating your physical setup but redesigning based on the virtual capabilities open you.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Hi Aaron,

So if I add another vNIC to each and every VM (like exchange heartbeat network) what's the default gateway ?
Director of Solutions Consulting
Commented:
The default gateway is what the nic uses to get out of its subnet, so to other subnets on your lan, or the Internet.
So the default gateway stays on the nic that already gives you access to the Internet.

Author

Commented:
Hm...,
That's bit confusing.

Because the existing gateway vNIC1 in my test VM is already set to 192.168.1.1

I cannot set the other vNIC2 I the same VM to the same 192.168.1.1 ?
Top Expert 2015
Commented:
You need a router between two vlans. It can be a VM with some router software.

Author

Commented:
Gheist, I used to play & test around Vyatta but it is not free anymore.

Is there any Windows server equivalent ?
Aaron TomoskyDirector of Solutions Consulting

Commented:
Back to your original question, nsx can totally do this. The blog post goes through it pretty well and the basic concept of a virtual router is the same as a physical router.

Give it access to both subnets, be the gateway.

Author

Commented:
Aaron, quick question.

so in the real world, when using NSX Virtual Appliance, does that means the physical appliance will be just Layer 3 switch connected to the modem / FIbre Channel aggregator ?
Aaron TomoskyDirector of Solutions Consulting

Commented:
Plugin the ISP hardware to an Untagged "wan vlan" on a switch, pass the wan vlan to the VM.

Author

Commented:
Is there any other options without using NSX perhaps ?
Because I feel that NSX is to overkill for this purpose.
Aaron TomoskyDirector of Solutions Consulting
Commented:
Something has to do the routing. So if not physical hardware than a VM. Amy Linux distro, pfsense and others are made for routing.

Author

Commented:
Thanks !

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial