VMware Communities > VMTN > VMware vSphere™ > VMware ESX™i 4 > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
12 Replies Last post: Oct 8, 2009 3:40 AM by swhtng
Reply

guests cannot tftp on esxi 4

Jun 12, 2009 12:19 PM

Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
For some reason TFTP and so far just TFTP is failing on all guests on esxi 4 for me. I have it installed on a Dell SC1435 and a Dell M610, both with very simple single-interface default networking configs.

When I boot up a new VM it dhcp's and gets its IP fine, but it times out at the tftp stage (my dhcp server is handing out the next-server and filename fields as part of a cobbler setup).

Here's some things I've tried to narrow it down.
  • using a separate M610 in the same blade chassis on the same network I can PXE boot a centos 5.3 install without issue
  • running centos 5.3 on that blade I can then use the cli tftp client to fetch the /pxelinux.0 file no probem.
  • tcpdumping on the tftp server it never sees the request (when it comes from a guest)
  • uploading a centos ISO to the datastore on the esxi server and building the vm from there works. That vm can then be ssh'd into, and can run yum update, but it cannot tftp (dns works too)
  • running a tftp server on the guest vm no other hosts can tftp fetch a file from it, so its both tftp in and tftp out failing

So whether its the bios/pxe-boot tftp client or the centos 5.3 tftp client neither work when the host is a guest on an esxi 4 server. However both work on the same hardware via the same network config if the physical host is running centos instead.
Reply Re: guests cannot tftp on esxi 4 Jun 12, 2009 12:24 PM
Click to view RenaudL's profile Hot Shot RenaudL 173 posts since
Sep 13, 2007
VMware
This is strange...

What about running both the tftp client & server in 2 VMs on the same host/vSwitch?
Reply Re: guests cannot tftp on esxi 4 Jun 12, 2009 1:45 PM
in response to: RenaudL
Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
Good idea. I installed a second vm using and .iso on the datastore and setup a tftp server on it. Neither of the vm's can tftp to or from each other. Both can tftp from themselves via loopback. iptables and selinux are disabled completely.
Reply Re: guests cannot tftp on esxi 4 Jun 12, 2009 2:15 PM
in response to: jimbartus
Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
Interesting new twist.

I have been using the e1000 interface that the create-new-vm wizard choses by default. I just tried changing one of the VMs over to a vmxnet3 interface. After installing vmware tools and rebooting the host can tftp as both a client and a server to other hosts that are not esxi4-guests with the e1000 driver.

So problem solved right? Just use vmxnet3.

Nope. It still does not work when trying to pxe boot. The bios screen clearly says "Network boot from VMware VMXNET3" and DHCP's just fine, but the tftp times out again.
Reply Re: guests cannot tftp on esxi 4 Jun 12, 2009 2:24 PM
in response to: jimbartus
Click to view RenaudL's profile Hot Shot RenaudL 173 posts since
Sep 13, 2007
VMware
Thanks for performing these experiments, that's exactly what I would have suggested.

Just to summarize, can you confirm this is what you're noticing?
  • With e1000, neither pxe-tftp nor a Linux tftp client/server can communicate.
  • With vmxnet3, pxe-tfp doesn't work but a tftp client/server can.
Reply Re: guests cannot tftp on esxi 4 Jun 12, 2009 3:39 PM
in response to: RenaudL
Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
Exactly, yes.
Reply Re: guests cannot tftp on esxi 4 Jun 14, 2009 2:55 PM
in response to: jimbartus
Click to view EDV-COMPAS's profile Enthusiast EDV-COMPAS 89 posts since
May 31, 2005

hi folks,

i have seen some similar things on an SLES9 guest os, with installed vmware tools, there are some network services that no longer work correctly (scp) ...

without vmware-tools, everything is fine.

i have already seen this behavior before on some firewalls/vpns/routers ,and it was always some mtu problems ..

If you find this information useful, please award points for "correct" or "helpful".

Reply Re: guests cannot tftp on esxi 4 Jun 15, 2009 10:18 AM
in response to: RenaudL
Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
RenaudL have you (or anyone else) been able to reproduce this? Is there a bug tracker I can file to or track this at?
Reply Re: guests cannot tftp on esxi 4 Jun 15, 2009 10:20 AM
in response to: jimbartus
Click to view RenaudL's profile Hot Shot RenaudL 173 posts since
Sep 13, 2007
VMware
jimbartus wrote:
RenaudL have you (or anyone else) been able to reproduce this? Is there a bug tracker I can file to or track this at?

I'm pretty busy with other issues at the moment, but be assured that this is in my queue.
Reply Re: guests cannot tftp on esxi 4 Jun 15, 2009 10:36 AM
in response to: RenaudL
Click to view jimbartus's profile Novice jimbartus 12 posts since
Jun 12, 2009
some more details, a freshly created guest with vmxnet2 (enhanced) chosen as the adaptor type fails both pxe-tftp and client/server tftp from the guest os. so to update your bulletpoints:

  • With e1000 or vmxnet2(e), neither pxe-tftp nor a Linux tftp client/server can communicate.
  • With vmxnet3, pxe-tfp doesn't work but a tftp client/server can.
Reply Re: guests cannot tftp on esxi 4 Jun 16, 2009 8:27 AM
in response to: jimbartus
Click to view jordan lederman's profile Novice jordan lederman 14 posts since
Jun 3, 2008
Please post both your physical uplink config and your virtual switch config.
Reply Re: guests cannot tftp on esxi 4 Oct 5, 2009 5:54 AM
in response to: RenaudL
Click to view swhtng's profile Novice swhtng 6 posts since
Oct 5, 2009

Hi,

Is there any update on this? I'm setting up a guest on ESXi 4 and trying to make them TFTP from an Altiris server, unsuccessfully. With VMWare Server 2 it works if I set the network card to E1000, but it still doesn't work with ESXi.

Thanks,

Erik

Reply Re: guests cannot tftp on esxi 4 Oct 8, 2009 3:40 AM
in response to: swhtng
Click to view swhtng's profile Novice swhtng 6 posts since
Oct 5, 2009

Ok, this was a pebkac. The support guy put the server onto a different network which was unable to reach the TFTP server...

It works with both E1000 and VMNET 3 cards.

Actions