cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
547
Views
10
Helpful
7
Replies

Very simple DHCP Relay that is not working

loienejer
Level 1
Level 1

Hi, I've been playing around with DHCP Relay for 2 hours now, just to try and make it work

loienejer_2-1673467653358.png

 

 

Router0, is DHCP

 
ip dhcp excluded-address 10.1.1.0 10.1.1.20

!

ip dhcp pool FISH

network 10.1.1.0 255.255.255.0

default-router 10.1.1.1

interface GigabitEthernet0/1

ip address 10.1.1.2 255.255.255.0

ip ospf 1 area 0

duplex auto

speed auto

!

interface Vlan1

no ip address

shutdown

!

router ospf 1

router-id 1.1.1.1

log-adjacency-changes


 

Router1,

 

interface GigabitEthernet0/0

ip address 192.168.1.1 255.255.255.0

ip helper-address 10.1.1.1

ip ospf 1 area 0

duplex auto

speed auto

!

interface GigabitEthernet0/1

ip address 10.1.1.1 255.255.255.0

ip ospf 1 area 0

duplex auto

speed auto

!


Routing is OK. I have ospf

DHCP Pool is OK. 

IP Helper is pointing to 10.1.1.1 (aka. Router0 DHCP) on Router1 OK.

What is wrong I don't understand isnt this possible?

1 Accepted Solution

Accepted Solutions

Hello,

your IP helper address was wrong, also the entire DHCP pool. There were also some incorrect static routes.

Attached the revised file.

View solution in original post

7 Replies 7

this what you misconfig,  I correct it 


ip dhcp pool FISH

network  192.168.1.0 255.255.255.0

default-router  192.168.1.1 




ip dhcp excluded-address 192.168.1.1-192.168.1.x

<<- this also need to change depend on your requriment. 

Hello,

post your zipped Packet Tracer project (.pkt) file...

 

Hello,

your IP helper address was wrong, also the entire DHCP pool. There were also some incorrect static routes.

Attached the revised file.

balaji.bandi
Hall of Fame
Hall of Fame

In your network connection, you using p2p address 10.1.1.x /24 network, are you looking to get the same IP address for Clients?

If you looking to Clients to get 10.1.1.x/24 - then you need to change the p2p address to a different IP address with /30

or change the 192.168.1.X /24 as the DHCP pool for the client to work.

if you looking to use 192.168.1.x /24 network as DHCP pool make sure you exclude range as you did for 10.x.x.xnetwork.

ip dhcp excluded-address 192.168.1.1 192.168.1.20

I am sure you have routing good (since we did not see Router 1 OSPf config in the post so)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

loienejer
Level 1
Level 1

Hi, thank you so much for the answers I'm not sure if I understand. I have posted my little project

I'm trying to make the client get an address from 10.1.1.x/24 pool

friend how you assign IP to client from subnet that you already you use between routers ???
that not correct 
the client must get IP from subnet same as subnet you config ip helper under it. 
otherwise it never work.

Review Cisco Networking for a $25 gift card