cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1064
Views
10
Helpful
3
Replies

DHCP request failed Help

tyldif8776
Level 1
Level 1

I"m having trouble with the DHCP !

 

it say 

C:\>ipconfig /renew


DHCP request failed. 

 


What i did wrong ?Routing and Switching

2 Accepted Solutions

Accepted Solutions

Hi

 There was some mistakes on your project. Go through the config I did on router and try to make sense of it.

Basially, you need to have suinterface on router. You can´t do it with physical interface because you need put is as trunk and physical interface does not suport trunk

When you create subinterface you can enable trunk.

!

interface GigabitEthernet0/0/0.10

encapsulation dot1Q 10

ip address 10.21.1.50 255.255.255.128

!

interface GigabitEthernet0/0/0.20

encapsulation dot1Q 20

ip address 10.21.1.129 255.255.255.128

!


this configuration must mach with the DHCP scope:

 

ip dhcp pool mypool

network 10.21.1.0 255.255.255.128

default-router 10.21.1.50

dns-server 11.1.1.10

ip dhcp pool mypool2

network 10.21.1.128 255.255.255.128

default-router 10.21.1.129

dns-server 11.1.1.10

!


  The rest is OK. You put switches interfaces right, the communication between router and switch is  ok.  I tested and all machine got IP as it should.

View solution in original post

Did you look at my file?

 

I am going to attached devices config here for you.

 

Assuming you are trying to get ip address from the router. 

View solution in original post

3 Replies 3

Hi

 There was some mistakes on your project. Go through the config I did on router and try to make sense of it.

Basially, you need to have suinterface on router. You can´t do it with physical interface because you need put is as trunk and physical interface does not suport trunk

When you create subinterface you can enable trunk.

!

interface GigabitEthernet0/0/0.10

encapsulation dot1Q 10

ip address 10.21.1.50 255.255.255.128

!

interface GigabitEthernet0/0/0.20

encapsulation dot1Q 20

ip address 10.21.1.129 255.255.255.128

!


this configuration must mach with the DHCP scope:

 

ip dhcp pool mypool

network 10.21.1.0 255.255.255.128

default-router 10.21.1.50

dns-server 11.1.1.10

ip dhcp pool mypool2

network 10.21.1.128 255.255.255.128

default-router 10.21.1.129

dns-server 11.1.1.10

!


  The rest is OK. You put switches interfaces right, the communication between router and switch is  ok.  I tested and all machine got IP as it should.

It still didnt work

Did you look at my file?

 

I am going to attached devices config here for you.

 

Assuming you are trying to get ip address from the router. 

Review Cisco Networking for a $25 gift card