VMware

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  

guests cannot tftp on esxi 4 posted: Jun 12, 2009 12:19 PM

Click to view jimbartus's profile Novice 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.

Re: guests cannot tftp on esxi 4

1. Jun 12, 2009 12:24 PM in response to: jimbartus
Click to view RenaudL's profile Hot Shot 173 posts since
Sep 13, 2007
This is strange...

What about running both the tftp client & server in 2 VMs on the same host/vSwitch?

Re: guests cannot tftp on esxi 4

4. Jun 12, 2009 2:24 PM in response to: jimbartus
Click to view RenaudL's profile Hot Shot 173 posts since
Sep 13, 2007
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.

Re: guests cannot tftp on esxi 4

6. Jun 14, 2009 2:55 PM in response to: jimbartus
Click to view EDV-COMPAS's profile Enthusiast 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".

Re: guests cannot tftp on esxi 4

8. Jun 15, 2009 10:20 AM in response to: jimbartus
Click to view RenaudL's profile Hot Shot 173 posts since
Sep 13, 2007
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.

Re: guests cannot tftp on esxi 4

10. Jun 16, 2009 8:27 AM in response to: jimbartus
Click to view jordan lederman's profile Novice 14 posts since
Jun 3, 2008
Please post both your physical uplink config and your virtual switch config.

Re: guests cannot tftp on esxi 4

11. Oct 5, 2009 5:54 AM in response to: RenaudL
Click to view swhtng's profile Novice 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

Re: guests cannot tftp on esxi 4

12. Oct 8, 2009 3:40 AM in response to: swhtng
Click to view swhtng's profile Novice 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.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities