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

My DHCP server is not giving ip to clients

Hi,

My DHCP server pool is not providing ip to any clients of diff vlans 

Below is the topology:- 

Sharanjeet_Kumar_0-1702644181291.png

I am using DHCP feature on window server 2k22 and created 7 pools for 7 different vlans and switch is 9300 series L3 switch, i created SVIs on it for each vlan.

when i trace packet between "switch and client" and "switch and server" i can clearly see that discover packet is reaching to server but not getting any offer or other packets.

 

i configured ip helper-address on each SVIs but still any client not getting ip.

 

TIA!!!!

10 Replies 10

M02@rt37
VIP
VIP

Hello @Sharanjeet_Kumar 

Please attach in a zip file your packet tracer project.

Thanks.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Thank you so much!!!

It got troubleshooted.

You're so welcome @Sharanjeet_Kumar 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Harold Ritter
Spotlight
Spotlight

Hi @Sharanjeet_Kumar ,

Does the DHCP server have a route to 192.168.1.1, 192.168.2.1, 192.168.3.1, etc pointing to 192.168.8.1? It does not need to be a specific route. It could be a default route.

This is required for the offer to be sent to the relay.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

You mention it l3 sw so that OK.

Now are the server have SVI in this SW or in othet SW?

MHM

Server svi is in same switch as I have shown in the diagram/topology

Can you share config 

What is model of this SW 

MHM

Blue_Bird
VIP
VIP

Hi sharanjeet Kumar,

is "ip routing" command issued on multilayer switch global mode ?

Best regards
******* If This Helps, Please Rate *******

I already did as I mentioned L3 switch 

Did server is assigned with gateway address...?

ip address: 192.168.8.2

subnet mask: 255.255.255.0

Default gateway: 192.168.8.1

if it is assigned... compare the following configuration...

hostname MLS
!
ip routing
!
spanning-tree mode pvst
!
interface FastEthernet0/1
switchport access vlan 10
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/2
switchport access vlan 20
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/3
switchport access vlan 30
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/4
switchport access vlan 40
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/5
switchport access vlan 50
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/6
switchport access vlan 60
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/7
switchport access vlan 70
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/8
switchport access vlan 80
switchport mode access
switchport nonegotiate
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
mac-address 0001.42b4.3402
ip address 192.168.1.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan20
mac-address 0001.42b4.3401
ip address 192.168.2.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan30
mac-address 0001.42b4.3403
ip address 192.168.3.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan40
mac-address 0001.42b4.3404
ip address 192.168.4.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan50
mac-address 0001.42b4.3405
ip address 192.168.5.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan60
mac-address 0001.42b4.3406
ip address 192.168.6.254 255.255.255.0
ip helper-address 192.168.8.2
!
interface Vlan70
mac-address 0001.42b4.3407
ip address 192.168.7.254 255.255.255.0
!
interface Vlan80
mac-address 0001.42b4.3408
ip address 192.168.8.1 255.255.255.0
!
ip classless
!
ip flow-export version 9
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
end

also check in dhcp service must be enabled

Gopinath_Pigili_0-1702886864193.png

Best regards
******* If This Helps, Please Rate *******