09-19-2018 01:13 PM - edited 03-05-2019 10:56 AM
Hello All!
I am working on building a network for a project, but I'm having trouble with the DHCP server portion. I have not used this before, and have spent a few hours troubleshooting it. I have entered my VPN networks and the helper addresses, but I'm getting errors on the PC's when they try to get addresses. I know there is a lot of work that still needs to be done, this project is one that we get additional instructions week-by-week, but I'm stuck trying to get the DHCP working from last week. Any insight you could provide would be greatly appreciated!
https://drive.google.com/file/d/1LpRbawIN1tyA-MM9TUXzPADBYmqVv4NE/view?usp=sharing
Solved! Go to Solution.
09-20-2018 02:23 AM
I have made some changes to your network. A few inter switch links were not configured as trunks, and the router now has subinterfaces. Keep in mind that your router as well as the DHCP server have a scope for Vlan 10, you need to decide which one you want to use...
09-19-2018 01:20 PM
Which version of Packet Tracer are you using ?
09-19-2018 02:56 PM
I managed to open your file.
There are numerous issues with your setup. First of all, your DHCP server has two NICs, which VLAN do you want to use for the DHCP server ?
On the router, you need to set up a subinterface for each VLAN, it would look like this:
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 192.0.2.1 255.255.255.192
ip helper-address 192.0.2.196
!
interface GigabitEthernet0/0.20
encapsulation dot1Q 20
ip address 192.0.2.65 255.255.255.192
ip helper-address 192.0.2.196
!
interface GigabitEthernet0/0.40
encapsulation dot1Q 40
ip address 192.0.2.193 255.255.255.192
On the subinterfaces you need to configure a helper address, which is the IP address of your DHCP server.
09-20-2018 01:42 PM
I'm using version 7.2.0.0226
09-19-2018 10:41 PM
Hi,
As per mentioned by Georg, you are missing "IP helper-address" command on sub interfaces or Vlans.
By using the ip helper-address command, a router can be configured to accept a broadcast request for a UDP service and then forward it as a unicast to a specific IP address.
Command syntax must be like
Interface gig 0/0.100
Ip helper-address 10.10.10.10 <DHCP Server IP>
Regards,
Deepak Kumar
09-20-2018 02:23 AM
09-22-2018 04:33 PM
Thank you so much for your help! I've been able to add the rest of my vlans and get the DHCP to pull. I really appreciate your time. Now on to the rest of the network!
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