0

I am not getting an IP in the subnet 10.0.0.0/24 where the DHCP is working and should serve an IP, I am getting instead only an IP in the subnet 169.254.0.0/16(link local address) that is probably given by Windows which runs on the laptop I am using to test this, which makes me think it might be a problem of the network firewall blocking the DHCP Discovery service.

And if that is caused by the firewall, which ports I should be opening for DHCP Discovery to work?

Eduard Florinescu
  • 831
  • 5
  • 24
  • 39

3 Answers3

1

DHCP Server UDP 67

DHCP Client UDP 68.

There are other ports requirements for different things depending on the implementation, but above is standard.

strongline
  • 592
  • 2
  • 8
1

I am going to assume you have a firewall (of some sort) between your machine, and the DHCP server - is this the case?

If so, does this firewall also route traffic? You may be required to switch on a DHCP helper (This is due to the fact DHCP uses broadcast traffic which routers will not forward on to other segments)

If this is not the case, have you tried some basic troubleshooting - i.e. plug in a device with no firewall. Does it get a DHCP lease? (i.e. is the problem common to all devices, or is it just certain devices)

Please give us some more information.

Snellgrove
  • 698
  • 4
  • 14
  • I don't have that information I don't "own" the network, I can request just outbound/inbound rules and exceptions – Eduard Florinescu May 11 '15 at 15:54
  • Not an insurmountable problem! How many nodes do you have on that network that can grab a DHCP lease? I'm hoping you have more than one. It may help you figure out whether it's a certain node with an issue (suggesting a localised configuration problem) or all nodes with the same behaviour (suggesting a network firewall or router not forwarding to the DHCP server). – Snellgrove May 12 '15 at 13:49
1

As stated in the comments:

  • Check with another computer to see if the problem appears in other computers
  • If it is the case check the configuration of the port this computer was plugged, as probably is configured in another VLAN.
alphamikevictor
  • 1,062
  • 6
  • 19