07-13-2023 09:53 AM
Hello,
I'm working on a lab assignment in packet tracer and when go into any of my devices and switch from static to DHCP it shows a message stating "DHCP failed. APIPA is being used."
I have no idea what this means and I'm not getting any feedback from my instructor. I tried to attach a .pkt file for what I have but I'm not able to. If someone can help in anyway that would be great. If you need anything from me just let me know and I'll share it with you as soon as I can. Thank you.
07-13-2023 10:00 AM
Hello @duanee30,
APIPA stands for Automatic Private IP Addressing, and it's a feature that allows a device to automatically assign itself an IP address when it's unable to obtain one from a DHCP server. When you see the message "DHCP failed. APIPA is being used," it means that the device was not able to acquire an IP address from the DHCP server and has resorted to using APIPA.
It's a pitty that you cannot share your PT project.
More elaborate your topology. DHCP on a server? Router? Is there any L3 equipement between PC and DHCP server/router ?
Double-check the settings of your DHCP server to ensure that it's properly configured with a valid IP address pool and lease duration. Make sure the DHCP service is enabled.
07-17-2023 07:30 AM
07-17-2023 08:04 AM - edited 07-17-2023 08:10 AM
Hello @duanee30
On your 3560-24PS you miss the configuration of the TRUNK port, int gig0/1 in front of the router!
After that, PC/server should have IP with DHCP:
Also between these two 3560 Sw, review the TRUNK configuration on interfaces:
switchport encapsulation dot1q
switchport mode trunck
no shut
N.B: note that on S2 3560 Sw, there is no vlan id configured.
07-13-2023 10:15 AM
You must attach PT file as ZIP format;
Regards, ML
**Please Rate All Helpful Responses **
07-17-2023 07:31 AM
07-17-2023 02:40 AM
First, can you check if you can ping the DHCP server? Is it reachable?
Next step is to verify your DHCP server configuration, probably something is wrong in the configurations such as the IP pool.
also check if you have configured DHCP relay in the pathway to reach DHCP server if that is a requirement.
07-17-2023 04:27 AM
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