06-14-2023 04:56 AM
Hey Everyone, I am creating a banking networking topology. I have 4 floors and 12 departments in my network, which are connected by routers. I am getting the above-mentioned error while accessing the dhcp on the pc on the left six departments of network, However I am getting the correct IP address while accessing the right side of network topology.
Please have a look at the attached file. Thanks
06-14-2023 05:16 AM
Hi
Your configuration seems to be all good. The error I have found was one interface from the Layer3 switch connected in the wrong interface on the Router
As you can see on your original file, the Layer3 is not forming OSPF neighbordship with the router thus not receiving any OSPF routes from the network. It was basically isolated from the network.
When I fix the interface on the Router side, it start receiving routes and DHCP worked.
You can check on the attached file
06-14-2023 08:09 AM
06-14-2023 08:54 AM
Hi
This is some software delay. The OSPF on the Layer3 switch probably did not came up yet.
Run this command on the Layer3 switch:
show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
10.10.10.33 1 FULL/BDR 00:00:35 10.10.10.2 GigabitEthernet1/0/1
layer-1-Sw#
You need to see this output (FULL/BDR)
Can you check please?
06-14-2023 06:08 PM
Hi , I ran the above-mentioned command on my L3 switch and this is the output I Got .
Neighbor ID Pri State Dead Time Address Interface
10.10.10.45 1 FULL/BDR 00:00:33 10.10.10.2 GigabitEthernet1/0/1
Its similar to the one you have mentioned, but in the first address's last octet it is .45
06-14-2023 06:15 PM
But if you run show ip route ospf
Do you have any route?
Can you ping from L3 switch to router interface?
06-14-2023 06:19 PM
06-14-2023 06:23 PM
Pretty good. You should be able to get IP address, the routing is fine.
Try to add a static IP address on one PC and try to ping the DHCP server. For test purpose.
06-14-2023 06:48 PM
06-14-2023 06:25 AM - edited 06-14-2023 06:25 AM
FLOOR-1-ROUTER, the IP on the gig interfaces are wrong (there is a lag). Please check.
Also, look the mask on your DHCP server: /24 ? no /26 ?
06-14-2023 08:11 AM
Hi, You are right about the gig interfaces. I corrected them however the error still persists. The Mask However is /26.
06-14-2023 11:57 AM - edited 06-16-2023 04:10 AM
Ok @mraza6601,
What about ospf adjencies now on L3 switch on the first floor topology ?
If it is not OK, please do #debug ip ospf events
and share the output.
06-16-2023 01:07 AM
The "sh ip ospf events" command is not working. I have attached its output below
06-16-2023 04:11 AM
#debug ip ospf events
I correct it, sorry.
06-17-2023 11:34 PM
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