VMware Cloud Community
ESXi5dot1
Contributor
Contributor
Jump to solution

Network configuration / Routing / two NICs / NAT -- Rented / dedicated Dell R210 running VMware ESXi 5.1.0 build-799733

Network configuration / Routing / two NICs / NAT -- Rented / dedicated Dell R210 running VMware ESXi 5.1.0 build-799733

Hi,

I am trying to figure out how to configure a dedicated rented Dell R210 server running VMware ESXi 5.1.0 build-799733

This dedicated server is rented from www.online.net and is sitting somewhere in France. One of its NICs has a public IP address 62.210.177.20x . The other NIC is there, but I don’t understand how it is configured. According to www.online.net’s portal, the other NIC has or should have an IP address 10.90.116.20x. And what I am obviously trying to configure is to have some virtual machines running and be able to access the Internet. I have access to the Dell server’s console via the iDRAC and from I could see, one of the NICs has the IP address 62.210.177.20x defined, and the other one was shown as Down. I have managed to bring up the other interface but nowhere can I find how to assign the IP address 10.90.116.20x to that 2nd NIC. But then again I don’t even know whether I should or if I need to assing an IP address to that 2nd NIC. Is the cable even connected to this 2nd NIC ? I don’t know. Should it be – I don’t know either. I don’t know French and the manuals/instructions on www.online.net are in French. I can try some online translator but I don’t think what I am looking for is explained. How do I get this configured ? Do I need to do anything from the ESXi’s console on the server ? Should that 2nd interface be up or should it be down like it was originally ? Yesterday after watching someone’s videos on YouTube, I’ve added second virtual switch and moved the virtual hosts to that 2nd switch and assigned the 2nd NIC to it. But that 2nd NIC had a red X next to it presumably indicating that it was disconnected form the 2nd virtual switch. Today and now that I have managed to access the ESXi’s server console via iDRAC, I brought up the 2nd NIC, and now both of the NICs are assigned to the 1st virtual switch. But I believe that one NIC should be assigned to one switch and the other NIC to the 2nd switch. I am just a Windows desktop guy with enough knowledge to be dangerous J If you / someone put it in steps how and where to configure this… PLEASE

Thank you in advance

cweks

~ # vmware -v

VMware ESXi 5.1.0 build-799733

~ # esxcfg-route

VMkernel default gateway is 62.210.177.1

~ # esxcfg-vmknic -list

Interface  Port Group/DVPort   IP Family IP Address                              Netmask         Broadcast       MAC Address       MTU TSO MSS   Enabled Type

vmk0       Management Network  IPv4      62.210.177.20x                          255.255.255.0   62.210.177.255  d4:ae:52:cb:bb:84 1500    65535 true    STATIC

vmk0       Management Network  IPv6       fe80::d6ae:52ff:xxxx:bb84               64                              d4:ae:52:cb:bb:84 1500    65535     true STATIC, PREFERRED

www.online.net -- Portal information

NORMAL              1                ready    62.210.177.20x xxx.domain.eu.       d4:ae:52:ab:bb:84

PRIVATE               2                ready    10.90.116.20x                                d4:ae:52:ab:bb:85

Reply
0 Kudos
1 Solution

Accepted Solutions
ESXi5dot1
Contributor
Contributor
Jump to solution

http://wiki.hetzner.de/index.php/VMware_ESXi/en#Network_configuration

Network configuration

  • VMware vSphere Hypervisor is an "operating system" designed for pure virtualization and supports neither NAT nor routing. Therefore, only a true bridged setup can be used.
  • To use a subnet an additional IP needs to be setup as a router VM.

If I understand the above, I need to bring up some VM and set it up as a router ? So the VM that will act as a router will need to have two network interfaces where one is connected to one switch and the other network card to the other switch. Am I getting there ? The video on YouTube suggested that but I thought that maybe / somehow ESXi can route packets between the two network cards, but from what I am reading, ESXi cannot route packets. Do I need to order an additional / extra / 2nd IPv4 address so that it can be assign to the router's interface ?

View solution in original post

Reply
0 Kudos
5 Replies
amurrey
Enthusiast
Enthusiast
Jump to solution

Go to the properties of the switch with two adapters, and remove the NIC you don't want there.  Then go to the properties of the other switch, and add the NIC you want there.

Reply
0 Kudos
ESXi5dot1
Contributor
Contributor
Jump to solution

I moved vmnic1 off ot vSwitch0 and assigned it to vSwitch1. I am seeing vmnic1 as being DOWN and a red cross next to it – assuming something is still not right. And I’ve noticed that this vmnic1 does not have an IP address defined, and perhaps it should. But I could not even find where to define it…

Reply
0 Kudos
ESXi5dot1
Contributor
Contributor
Jump to solution

http://wiki.hetzner.de/index.php/VMware_ESXi/en#Network_configuration

Network configuration

  • VMware vSphere Hypervisor is an "operating system" designed for pure virtualization and supports neither NAT nor routing. Therefore, only a true bridged setup can be used.
  • To use a subnet an additional IP needs to be setup as a router VM.

If I understand the above, I need to bring up some VM and set it up as a router ? So the VM that will act as a router will need to have two network interfaces where one is connected to one switch and the other network card to the other switch. Am I getting there ? The video on YouTube suggested that but I thought that maybe / somehow ESXi can route packets between the two network cards, but from what I am reading, ESXi cannot route packets. Do I need to order an additional / extra / 2nd IPv4 address so that it can be assign to the router's interface ?

Reply
0 Kudos
ESXi5dot1
Contributor
Contributor
Jump to solution

Lost network connectivity on virtual switch

"vSwitch1". Physical NIC vmnic1 is down.

Affected portgroups:"vmnet_10.90.116.20x".

error

5/7/2014 10:15:18 PM

  1. xxx.cweks.xx
Reply
0 Kudos
amurrey
Enthusiast
Enthusiast
Jump to solution

If the VMNic is physically down, as in it has no speed / duplex tied to it, then its not physically plugged in.

Yes, you need a VM of some kind to route between the networks.

Reply
0 Kudos