Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE DHCP got wrong gateway
2017-02-24, 09:58
Post: #4
RE: iPXE DHCP got wrong gateway
I got the answer from isc-dhcp-server mail list.

Rui Mao <> wrote:

> I installed a Ubuntu 16.04 and configured isc-dhcp-server 4.3.3 as DHCP/BOOTp server. But the iPXE didn't got correct gateway from it.
> The DHCP server is, and the client is in another VLAN which gateway is
> I captured Ethernet packages by tcpdump, and also used a Windows Server 2012 for comparison. It seems ISC-DHCP-Server sent a wrong gateway.
> Is this a configuration issue or a bug of ISC-DHCP-Server?

It's a configuration issue - and a known "gotcha" !

Move your class statements out of the subnet declarations - regardless of where you define them, they are global in scope (ditto for host statements). So a client can match a class even if you **think** you've defined it only for a specific subnet. When this happens, the client gets options inherited from the class in the other subnet - and a side effect is getting (in this case) the router option from a different subnet.

dhcp-users mailing list
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: iPXE DHCP got wrong gateway - maorui2k - 2017-02-24 09:58

User(s) browsing this thread: 1 Guest(s)