07-10-2014 01:12 AM - edited 03-07-2019 08:00 PM
Folks,
We have some Cisco 4510R+E switches installed in our network. For some reasons the VM's which are using VMWare workstation are not able to receive DHCP address. If I give them a static IP they work fine.
This is a Linux VM that I am trying on. It also gives the following output trying to search for DHCP(attached).
Any suggestion or anyone has come across this? I do not have Windows copy to try this out.
regards,
Nik
07-14-2014 06:42 PM
Hi Nik,
Is the switch acting as the DHCP server? If not we can do a quick test by creating a pool on the switch and try if in this way we accomplish the DHCP process succesfully.
Now in case that the DHCP server is on a different server/box as well in a different subnet make sure you have a relay-agent for the DHCPDISCOVER and DHCPREQUEST packets to reach the server on a different subnet.
Let me know how this goes.
Regards,
Adrian
07-03-2015 12:07 AM
Facing same Kind of issue.. The Linux systems are not working on DHCP while the window system are working fine. Kindly suggest...
07-03-2015 01:01 AM
Hi,
The DHCP message from the client has a flag that indicates to the DHCP server whether it expects a broadcast or unicast response.
In Windows the client will try both a 0 (client expects unicast response) and a 1 (client expects a broadcast response). See the DHCP Broadcast flag handling in Windows 7 blog for more details.
Looking at the dhclient and dhclient.conf man pages I don't see any similar statements for Liunux i.e., it will send a unicast or broadcast, but not try both.
Can you try running the dhclient command on your Linux hosts with -B (broadcast) option? This should make the DHCP server reply to the client with a broadcast.
Regards
07-03-2015 01:25 AM
There are so many linux devices in my network. Cant do this thing for every individual device. The Linux devices worked fine for first 10 days but facing this issue since last 3 days.
07-03-2015 01:29 AM
Are you able to try this on one or two host to confirm whether this is the issue that you are facing?
If we can prove or eliminate this, we can then consider next steps and long term options for your problem.
Regards
07-03-2015 01:44 AM
Yah I have done this but it isn't working. When I tries with Static IP then they start working.
07-03-2015 02:23 AM
Hi,
So I guess we need to go back to basics.
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide