05-11-2022 08:11 AM
Hi Everyone, I have a project for my university to design a VLAN but unfortunately I got in pc Configuration: DHCP failed APIPA is being used.
Can anyone help me, please?
I attached the Project in Packet tracer if someone wants to check
Solved! Go to Solution.
05-11-2022 12:14 PM
Hello,
there were a few IP addressing mistakes, that is why I was asking which instructions you are following.
Either way, here is what I changed:
--> the IP address of the DHCP server. It was the same as the router interface.
--> the default gateways of all server were set to the wrong IP address
--> the DHCP pools were misconfigured
--> added subinterfaces and descriptions for all Vlans
--> added trunk between Switch1 and the router
--> added IP helper addresses to the Vlan subinterfaces
--> added a management Vlan to the switches
--> changed the DNS server address in the DHCP pools to the correct address
--> added wireless modules to the laptops so they can connect to the access points
Attached the revised file, saved in Packet Tracer version 8.1.1, make sure you have that version installed, otherwise you cannot open the project.
05-11-2022 08:47 AM
Hi
Find attached a working file. I fixed the problem for "ComputerEngineering" so that you can follow the example.
What was wrong:
- You need to create the vlan in all switches. For example switch1 must have the vlan 210 on it. And all others vlans
- the router needs to have a subinterface on it corresponding the vlan 210 and the command "ip helper address " pointing to DHCP Server. You need to do this for all vlans you have.
-The DHCP server was configured with IP address in one network and gateway in another network. I fixed it.
Hope that help.
05-11-2022 10:13 AM
I tried but i got the same error. If you don't mind can you fix all switches ? or can you explain more to maybe i understand more too and solve by myself.
Because i must submit it today at 12:00 at GMT + 3:00
05-11-2022 11:10 AM
What you need to do is simple.
For switches:
The VLANs need to be created on switches.
uplinks between switch must be trunk
uplink between switch and router must be trunk
For router:
Create subinterface for vlans
interface FastEthernet0/1.100
encapsulation dot1Q 210
ip address 192.168.90.1 255.255.255.0
ip helper-address 192.168.2.2
!
You need to do this for the others vlans as well.
interface FastEthernet0/1.101
encapsulation dot1Q 200
ip address 192.168.XX.1 255.255.255.0
ip helper-address 192.168.2.2
!
interface FastEthernet0/1.102
encapsulation dot1Q 249
ip address 192.168.XX.1 255.255.255.0
ip helper-address 192.168.2.2
!
The DHCP server need to be on the network 192.168.2.X with gateway 192.168.2.1.
05-11-2022 10:30 AM
Hello,
what instructions are you following ? Which DHCP pool belongs to which Vlan ?
05-11-2022 11:11 AM
05-11-2022 12:14 PM
Hello,
there were a few IP addressing mistakes, that is why I was asking which instructions you are following.
Either way, here is what I changed:
--> the IP address of the DHCP server. It was the same as the router interface.
--> the default gateways of all server were set to the wrong IP address
--> the DHCP pools were misconfigured
--> added subinterfaces and descriptions for all Vlans
--> added trunk between Switch1 and the router
--> added IP helper addresses to the Vlan subinterfaces
--> added a management Vlan to the switches
--> changed the DNS server address in the DHCP pools to the correct address
--> added wireless modules to the laptops so they can connect to the access points
Attached the revised file, saved in Packet Tracer version 8.1.1, make sure you have that version installed, otherwise you cannot open the project.
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