VMware Cloud Community
nyx_user
Contributor
Contributor

dhcp server with two subnet masks different iface ubuntu

Hello guys.

 

I have create a router with with 2 port groups.

nyx_user_0-1646167940857.png

the router has dhcp server with different subnet mask on Network Network and Network Tor interfaces.
Network Network (NN), Network Tor(NT)

nyx_user_1-1646168123498.png

How ever when I create machine the connect to NT port group, The DHCP server returns me NN ip address.

is this esxi issue that I configured incorrectly or ubuntu issue ?
Thank you

Reply
0 Kudos
1 Reply
Tibmeister
Expert
Expert

Ok, so right off the bat, DHCP cannot distinguish two scopes by the subnet mask.  It has to be separate distinct subnets in order for DHCP to discern which pool to hand out addresses from.  Most DHCP servers will not let you overlap subnets in this way, so not sure if that's what you are meaning or not.

Otherwise, what router are you using.  I'm assuming it's virtualized on the ESXi host.  Let's start with that.

Reply
0 Kudos