11-30-2024
07:45 AM
- last edited on
11-30-2024
04:17 PM
by
shule
The IPs of the machines behind the core network are assigned by DHCP via the DHCP server, not the pt-empty router. There are 2 VLANs that do not communicate with each other (still behind the core network): VLAN 10 & VLAN 20. The printers serve only the machines on their floor (a 3rd VLAN for them). And finally, the workstations in my LAN need to reach the WAN (basically, be able to ping the web server).
I am a beginner, just starting my learning journey, and I have a problem that I can't solve. I am unable to provide IP addresses via DHCP. Could someone give me the steps to follow? I will look up the commands myself if it takes too much time to specify them. Currently, I create the VLANs on the 2960 switches for each floor, as well as on the multilayer switch 3650. I assign the requested VLAN to the relevant ports (e.g., PC fa0/1 VLAN 10). I configure the trunk ports on the 2960s towards the 3650. I perform RIP routing between the multilayer switch and the router and create virtual interfaces on the router (e.g., g1/0.10, then enter the encapsulation dot1Q command) and create my DHCP pools on the server. What have I missed?
11-30-2024 07:56 AM
Related to DHCP. You need to have the command "ip helper-address 192.168.0.10> somewhere. And why I am saying somewhere. Because if you created interface vlan on the Core switch, you can put the command "ip helper-address" there. As you mentioned you create subinterface on router, which suggested you are doing route in a stick with the core, then you may need to put the "ip helper-address" there.
For PC on the LAN reach the Web server you need to check routing. The first router connected to the core does not know about the network configured on the Web server and the Second router does not know about the network configured on the LANs.
You can zip your PKT file and attach here in case you need further help
11-30-2024 11:13 AM
At the moment, I haven’t worked on my WAN part, as I am still trying to figure out the problem with my LAN. I’ve configured the ip helper-address, but I still can’t get it to work. I’m sharing the zip file with you if you want to take a look at it. For the routing, I’ve set up RIP version 2. I think my helper-address might not be on the correct port, but I’m not sure about it.
Just so you know, I’m trying to assign all my gateways to x.x.x.254, my computers to x.x.x.100, and my printers to x.x.x.50.
Thanks for your time!
12-01-2024 05:03 PM
@Dylan-a Sorry for the delay but I had no access to computers this weekend.
I have found two problems on your project. The DHCP server is connected to Fastethernet 0/0 but the interface was not configured.
Second, you added interface vlans on the Multilayer switch. If you intent to work with subinterface on the router "router in a stick", keep the IP addressing only on the router and put the "ip helper-address" on the subinterface.
As you can see, your lan can get ip address from DHCP server now.
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