Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 919
  • Last Modified:

how to activate network for vmware host 2.5.2

I will move some virtual machines running on a vmware server 2.5.2 to a new ESXi5.  I found the root and password account, and i have physical access to the console. The VMs are running fine. But – I cannot access to Server with SSH.  Ping will not answer. If I go to the console (physically) with ifconfig eth0 I can see the IP, but all traffic counters for this if are 0. I cane not ping anything in the LAN.  The vmnic0 looks fine.

How cane I activate the network adapter to manage the vm’s and use ssh?  What is blocking the network traffic for the host?
0
perolin
Asked:
perolin
  • 4
  • 4
  • 3
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you upload a screen shot of your networking?

have you connected with the vSphere Client, and started SSH and ESXi shell?
0
 
skullnobrainsCommented:
this is a networking question probably completely unrelated with vmware

we need much more information in order to help because at that state, the problems can range from "the cable is not plugged" to "the network card is dead" ( very unlikely to be the case ) including various possibilities such as a wrong vlan, the ip of the machine is alone in an isolated network...

what IP, what gateway, what mask do you use ?
what physical equipments do you go through from the ESX to it's gateway ?
what happens when you ping the gateway ?
what is the output of "arp -a" after you pinged it ?
...
0
 
perolinAuthor Commented:
Ok – more details and answers to questions:

Yes, i agree, that it is a unix setting, that makes my trouble
-- please belief me , there is only one Ethernet adapter, and the vm is running fine. So cable an everything like hardware is ok. One vm is running on 171.1.1.16.


what IP, what gateway, what mask do you use ?
171.1.1.44  171.1.1.19  255.255.255.0      and yes a know that this is not a private range

what physical equipments do you go through from the ESX to it's gateway ?
I can only use the console directly plug in to hardware. NetAdapter, Cable, unmanaged Switch, Cable, Firewall (Gateway).  And this is working fine for the vm - but not for the host.

what happens when you ping the gateway ?
ping results with “Destination Host Unreachable”   20 times …  0 packet received

what is the output of "arp -a" after you pinged it ?
? (171.1.1.19) at >incomplete> on eth0          

171.1.1.19 is the gateway, eth0 is one of three adapter when I call ifconfig  (eth0, lo, vmnic0)

I am not used with unix. With windows wording it seams like something is disabled, or a local firewall is preventing any network traffic.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
perolinAuthor Commented:
and a screenshot from
ping 171.1.1.16
arp -a
Bildschirmfoto-2012-09-15-um-19..png
Bildschirmfoto-2012-09-15-um-19..png
0
 
skullnobrainsCommented:
- i'll assume the VM does have networking
- i'll assume the VM and the host are on separate networks
- i'll assume the firewall is the gateway for both the VM and the host

i don't believe in the firewall issue, but you can check the firewall rules using iptables-save from root

most likely, it is regular networking issue such as a vlan issue. vmware ESX contains a virtual switch that understands VLANs. i believe the host itself is not associated to any particular VLAN, but it is likely that the VM is.

- does the gateway exist on the firewall ?
- is it associated to a specific VLAN ?
- what adapter has wich adress on the host ?
- do you see the network traffic of the guest using a tcpdump on the host. on what interface ?
0
 
skullnobrainsCommented:
what is the complete output of ipconfig ?
how many NICs are there ?
all plugged ?
are you sure the eth0 interface is actually plugged to something ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
can you connect with the vSphere Client?

is this ESXi ?
0
 
perolinAuthor Commented:
Hi skullnobrains


Problem is solved.

Unbelievable! After your opinion I decide to check the hardware. Because I am working remote, I asked the operator once more, but this time, I asked him to send me a picture from the backside of this server.  And what did I saw at the piture!!  Two cables plug in – but only on one plug LED burning!!

I don’t really know what hi did, but now I can ping.

Thanks you, to go thru with me the checklists.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
you could have used the following ESXi commands

Esxcfg-vswitch
Esxcfg-vmknic
Esxcfg-nics

references to eth0 are really not relevant in ESXi world, ESXi is not really Linux or Unix.

vmnic(x) are the interfaces.
0
 
skullnobrainsCommented:
@perolin
not sure i was that helpfull, here, but thanks
sometimes it does come to something dumb
it's good to see you solved your problem

@hanccocka
i believe these commands would have proven helpful, thancks for the input
but just for the record, esxi is a patched redhat5
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
@skull.....ESXi 5.0 has no service console. ESX was nearer Linux.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now