cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1402
Views
3
Helpful
15
Replies

DHCP failed. APIPA is being used. for some endpoints

Bysic
Level 1
Level 1

Even after configuring everything, some of my endpoints still cannot receive IP addresses from DHCP.

I am unable to locate the problem, it might be a packet tracer issue.

2 Accepted Solutions

Accepted Solutions

Hi @Bysic 

  The erros I have found was related to not create vlans on Layer3 switches

  Not configuring interface between switches in trunk

 Not adding ip dhcp exclude address in some routers.

The vlans created on the Access switches must be create on the switches above also.

The file I am attaching should be working. Sometimes when we transfer files like this, the PCs return to static IP addres so make sure all of them are in DHCP mode.

View solution in original post

Hi

 Well, Take a look on this file now. It worked for me. On the first file I sent, I did not care with servers as I though they could be using static IP address as it is normal for servers.  That´s why I missed the problem.

 Now, they are working with DHCP.  The only thing I end up doing was remove the DHCP scope on the router and add again. This is probably some Bug.

But, I also make a change on the spanning-tree as the access switch was playing the root role for vlan 15 and 47 and it is not good. If you have a distribution/core like you did, it is better them be the root.

View solution in original post

15 Replies 15

Hi

For you attach the PacketTracer project here you need to zip your project file.

 

Hi @Bysic 

  The erros I have found was related to not create vlans on Layer3 switches

  Not configuring interface between switches in trunk

 Not adding ip dhcp exclude address in some routers.

The vlans created on the Access switches must be create on the switches above also.

The file I am attaching should be working. Sometimes when we transfer files like this, the PCs return to static IP addres so make sure all of them are in DHCP mode.

Thank you for your help. I appreciate it.

every endpoint has a DHCP IP address now except (Network, Infra, and InfraServers) why is that?

The servers are getting IP just fine here in my file?  Did you check if they are in DHCP?

 

FlavioMiranda_0-1687694638918.png

 

yes the domain controller is fine, I mean these laptops use APIPA only

Screenshot (213).png

Laptops is also fine here.  Are you using the file I sent? Any area in specific or all laptops?

 

Alright it's fine now after redownloading it, But these 2 servers are not using DHCP IPs

Screenshot (214).png

Yeah, there is a problem on those switches. Let me see.

Hi

 Well, Take a look on this file now. It worked for me. On the first file I sent, I did not care with servers as I though they could be using static IP address as it is normal for servers.  That´s why I missed the problem.

 Now, they are working with DHCP.  The only thing I end up doing was remove the DHCP scope on the router and add again. This is probably some Bug.

But, I also make a change on the spanning-tree as the access switch was playing the root role for vlan 15 and 47 and it is not good. If you have a distribution/core like you did, it is better them be the root.

Bysic
Level 1
Level 1

could you please share the configurations you did on the spanning-tree, I would like to do it on another project.

Pretty simple. Just go to the switch you want to act as root, which means, have all ports enabled, and run the command

 

spanning-tree vlan XX root primary

 

On your project I ran in the Server-Distribution-Sw01

spanning-tree vlan 15 root primary

spanning-tree vlan 47 root primary

Bysic
Level 1
Level 1

Thank you for your assistance

Review Cisco Networking for a $25 gift card