cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1608
Views
0
Helpful
1
Replies

Packet Tracer Help - Trying to get 3 separate VLANs to use DHCP pools, only one VLAN works

DWTerbus
Level 1
Level 1

Hi, I'm trying to create a network with three separate VLANs and two DHCP pools, with two of the VLANs using the first pool, and the other using the second pool.  The end devices in the first VLAN, 101, can receive an IP address via DHCP without a problem, but the devices in the other two VLANs present an error message.  "DHCP failed. APIPA is being used." FORUM POST.jpg

 

I've changed the port type to a trunk between the Router and Switch, allocated the ports from the switch into the correct VLANs, and created subinterfaces for each VLAN, gig0/0.101, 0.201 and 0.301.  I'm not sure where I've gone wrong, any help would be greatly appreciated!  Thanks!

1 Reply 1

luis_cordova
VIP Alumni
VIP Alumni

Hi @DWTerbus 

 

You need a DHCP pool for each vlan.

Two different networks (vlan) cannot get addresses from the same DHCP pool.

If the DHCP server is located on an external network, then you must enter the command ip helper-address <ip of DHCP server> on the interface that hosts the requesting network's gateway

Regards