- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023
12:11 PM
- last edited on
01-18-2023
09:57 PM
by
Translator
Hi, I've been playing around with DHCP Relay for 2 hours now, just to try and make it work
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?
Solved! Go to Solution.
- Labels:
-
Routing Protocols
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 01:05 PM
Hello,
your IP helper address was wrong, also the entire DHCP pool. There were also some incorrect static routes.
Attached the revised file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023
12:16 PM
- last edited on
01-18-2023
09:58 PM
by
Translator
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 12:23 PM
Hello,
post your zipped Packet Tracer project (.pkt) file...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 12:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 01:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 12:26 PM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 12:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 12:52 PM
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.
