Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

-single physical server with 2 NIC (physical) interfaces
-installed ESXi 5.0
-NIC1 connected to internet (modem)
-NIC2 connected to Cisco switch (LAN)
-virtual machine (debian) installed on esxi - should be a router

The virtual machine (debian) should take care of internet access of whole network (should be a router). I'd like to isolate the two physical NICs so ONLY the router could access NIC1 (the internet) and any other PC (VM or physical) could access internet ONLY via the router (debian)

I'm a newbie in ESXi.

How to do that?

share|improve this question
Be a pro, get some training, this site's for pro's not beginners. – Chopper3 Feb 18 '12 at 22:24
Everyone is beginner in some field. I'm in ESXi, not in networking, linux administrating etc. Dont be rough – daftu Feb 18 '12 at 22:30
Two vswitches, 0 & 1, 0 with one port group on the ext NIC, 1 with a vmkernel port group and the int traffic, give the VM two vNICs, one on each port group. The end. – Chopper3 Feb 18 '12 at 22:43
up vote 2 down vote accepted

To my knowlege, you can't dedicate a nic to a vm the way you can a LUN. Or if you can, it requires supported hardware for the feature.

Keep in mind that other vms will not be able to access that nic unless it is configured to have that nic in the settings. You aren't using vlans, so won't be able to aggregate both nics into a virtual switch. They will be separately assigned entities. So long as you control vm config from the esx side, this should not be a concern.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.