03-24-2018 10:11 PM - edited 03-08-2019 02:23 PM
Hi, I'm relatively new to networking, I'm having trouble with the server configuring DHCP ip addresses for computers in three VLANS:10,20 and 30. I've configured the VLANs on one switch and configured the router's ip address as well as the ip address,subnet mask and gateway for the server which is the same for the router's fa0/0 ip address. However,I've not configured trunking as yet as I'm unsure if to configure an ip address for the switch. I've attached my network below, any feedback would be greatly appreciated
Solved! Go to Solution.
03-26-2018 10:45 AM
Hello,
I can only guess from your picture that you are using a ROAS (Router On A stick) and a switch set for layer 2 only, in this situation:
(Also, you need a different subnet for each VLAN)
*when i tried this configuration, it required more configuration to make the dhcp server send dhcp leases for subnets from which he has no IP addresses.
Regards, Guillaume
03-25-2018 12:44 AM
Hello,
post the Packet Tracer project file (save as .pkt and rename it to .jpg, otherwise the system does not let you upload)...
03-26-2018 10:45 AM
Hello,
I can only guess from your picture that you are using a ROAS (Router On A stick) and a switch set for layer 2 only, in this situation:
(Also, you need a different subnet for each VLAN)
*when i tried this configuration, it required more configuration to make the dhcp server send dhcp leases for subnets from which he has no IP addresses.
Regards, Guillaume
03-26-2018 10:48 AM
Yes thank you, it's much appreciated but with the ip helper address, do you use the same address as the default-router?
03-26-2018 11:00 AM
The default router will be different for each dhcp pool, it will be the IP address of the subinterface of the router for each VLAN:
The ip helper-address is used only if the dhcp server is the server at IP address 172.16.16.1 and should be configured the same on each subinterfaces:
Router(config-subif)#ip helper-address 172.16.16.1
03-26-2018 11:04 AM
Oh thank you, I think I understand now. One more thing tho, are there any more configurations on the switch besides configuring VLANs and switchport mode access, do I have to also configure an ip address?
03-26-2018 11:18 AM
If the switch has to be managed from the network (not console port) :
There are many others possible configurations...
03-26-2018 11:20 AM
Okay I got it thank you
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