DHCP on multiple interfaces?
-
So, im not sure if i'm missing something here,
but fairly straight forward request.
I have two separate VLANS trunked on my LAN interface,
I want 2 DHCP server to serve both VLAN interfaces? Yet, all I can see in the DHCP config is WAN and LAN.
any ideas?
Thanks
-
@deanfourie common mistake users make is when you create the vlan and put an IP on it, it defaults to a /32 mask.. Since /32 is a single IP there is no IPs to be able to hand out via dhcp so you can not enable dhcp on the vlan interface.
Make sure the vlan you created has a mask big enough to allow to run a dhcp server, and that the dhcp server is enable on the vlan interface.
-
@johnpoz Yea I just read that post,
I had it setup as a /31 as there was only going to be one host on it, but I could not set that host as static so tried to add the DHCP server,
Increased to a /30 and this seems to do the trick! I knew it had to be something stupid.
Thanks!