04-01-2024 02:29 AM - edited 04-01-2024 02:31 AM
I am doing a project for homework. But i get an error: "DHCP failed APIPA is being used". How can i fix this?
04-01-2024 03:40 AM
- FYI : Community group for Packet Tracer project questions
You can also look at a number of possible issues and corrections from : https://community.cisco.com/t5/switching/dhcp-failed-apipa-is-being-used/m-p/4608558#M523675
M.
04-01-2024 10:12 AM
Hello,
post the full instructions you are following. The problem is with your switches, it is unclear why you have configured Vlan interfaces on the switches...
04-01-2024 11:32 AM
hello.
actually I don't have much information. the teacher shows us and wants us to do the same
04-01-2024 12:37 PM - edited 04-01-2024 12:37 PM
Hello,
I made the following changes (that is usually what a standardized setup would look like):
1. removed all Vlan interfaces from both switches
2. enabled the DHCP service on the DHCP server and configured DHCP pools for all Vlans
3. added the 'ip helper-address' to the subinterfaces of the router
4. enabled 'spanning-tree portfast' on the access ports
5. enabled DHCP on all PCs
All PCs now receive DHCP assigned addresses. Attached the revised file...
04-01-2024 01:41 PM - edited 04-01-2024 01:55 PM
First of all, l2 switch will always has 1 SVI interface UP; you need L3 switch like c3650, c3560; My guess, By mistake you configured pools on DNS server not on DHCP server; and those servers need default gateway IP as well as static IP. IP of DHCP server should be in the command ip helper-address xyz, so 192.168.248.3 as of right now
In addition to Georg P. solution, as alternative, you could use DHCP on router; i.e. for vlan 37
ip dhcp excluded-address 192.168.247.1
ip dhcp pool 37
network 192.168.247.0 255.255.255.240
default-router 192.168.247.1
Router#sh ip dh binding
IP address Client-ID/ Lease expiration Type
Hardware address
192.168.247.4 0010.1118.4B4B -- Automatic
192.168.247.5 00E0.F702.7105 -- Automatic
Router#
Regards, ML
**Please Rate All Helpful Responses **
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