02-29-2024 11:02 AM - edited 02-29-2024 11:06 AM
I am confused about a DHCP config. I have a scenerio where I have two physical ports working as Router on a Stick for the same VLANs on a Cisco router running DHCP. I want both sets of subinterfaces to pull IPs from one set of DHCP pools. From my understanding, as long as the IP of the subinterface is in the DHCP pool, that pool will be selected for the vlan. However, when testing this in packet tracer I found that you cannot have subnets that differ from the DHCP pools on the subints. However, these subnets must be smaller than the pool's for both subints to pull from the pool, as the subint networks cannot overlap.
Is this a flaw in Packet Tracer or DHCP? I was expecting two DORA processes, where the PC only accepts one.
02-29-2024 11:10 AM
Two subinterface have same IP in one router?
If Yes that not work' router not accept two interface to have same IP or subnet
MHM
02-29-2024 11:16 AM
No, the subinterfaces have separate IPs in separate networks that are subnets of the DHCP pool.
02-29-2024 11:25 AM
Are you use ip helper-address ?
MHM
02-29-2024 11:31 AM
No, DHCP is running on the same device as the subinterfaces.
02-29-2024 11:49 AM
Can you share topolgy and config
MHM
02-29-2024 12:07 PM
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