cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
376
Views
20
Helpful
6
Replies

Help with DHCP

astridrhea19
Beginner
Beginner

Hi everyone, I have this practice assignment I'm doing on PT and I can't seem to get my cisco router thats the DHCP server to work. I've spent hours on it and can't seem to figure it out, If anyone can please look at some of the config files I have to see what I've done wrong.

I have the "Edge Router" as the server with R2 and R1 connected to it. R1 has its own switch and R2 is connected to the main switch. I do have 2 other switches but I don't think they are the issue so I did not bother to post them here. The routers can all ping each other and the switches on the same LAN can ping each other as well, Although, I can't seem to ping the R1 switch to anyone.

Thank you for any help or Tips anyone can give.

1 ACCEPTED SOLUTION

Accepted Solutions

Great exercise.

 

What you need to do is install route on the Edge router like this:

ip route 192.168.40.0 255.255.255.0 192.168.2.2

Just repeat it for the others vlans.

 

As you can see bwlow, the PC on vlan 40 is getting IP address.

 

 

C:\>ipconfig


FastEthernet0 Connection:(default port)


Connection-specific DNS Suffix..: NCC.edu

Link-local IPv6 Address.........: FE80::2D0:D3FF:FE1B:DC8B

IPv6 Address....................: ::

IPv4 Address....................: 192.168.40.30

Subnet Mask.....................: 255.255.255.0

Default Gateway.................: :: 192.168.40.1

 

 

View solution in original post

6 REPLIES 6

Flavio Miranda
Advisor
Advisor

Attached the .pkt file zipped. If device has credential please provide.

Thank you so much for the help.

Great exercise.

 

What you need to do is install route on the Edge router like this:

ip route 192.168.40.0 255.255.255.0 192.168.2.2

Just repeat it for the others vlans.

 

As you can see bwlow, the PC on vlan 40 is getting IP address.

 

 

C:\>ipconfig


FastEthernet0 Connection:(default port)


Connection-specific DNS Suffix..: NCC.edu

Link-local IPv6 Address.........: FE80::2D0:D3FF:FE1B:DC8B

IPv6 Address....................: ::

IPv4 Address....................: 192.168.40.30

Subnet Mask.....................: 255.255.255.0

Default Gateway.................: :: 192.168.40.1

 

 

I can't believe that was it. The routing is the last thing in the packet and getting the hosts to get their DHCP is before that, now i have no idea why they set it up like this. THANK YOU!

Despite existing  a Layer 3 communication between routers, 192.168.2.1 and 192.168.2.2, when a machine sends a DHCP request, this request is sent through the vlan 40, which is 192.168.40.0.  Then, the EDGE router doesn´t know what do to with the packet cause it does not have route to the 192.168.40.0.  The same for all vlans.

Thank you for explaining this, truly.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: