cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
249
Views
0
Helpful
0
Replies

I can't ping the dhcp but I can get an IP address via a client machine

freezecorleone
Level 1
Level 1

hi , I can't ping a client machine to my windows server which acts as DNS and DHCP, so I can't link them to the domain.

I simulate an infrastructure with gns3 using only l3 switches.

I am a beginner.

Client machine : PING EVERYWHERE except DNS/DHCP but receives an ip

DNS/DHCP : PING EVERYWHERE

 

freezecorleone_0-1666181175812.png

My conf : 

R1:

Building configuration...

Current configuration : 4647 bytes
!
! Last configuration change at 09:53:23 UTC Wed Oct 19 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
vtp mode transparent
!
!
!
no ip dhcp snooping information option
ip cef
no ipv6 cef
!
!
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name IAM
revision 1
instance 1 vlan 10-11
!
spanning-tree mst 0 priority 4096
!
vlan internal allocation policy ascending
!
vlan 10
name SRV
!
vlan 11
name IAM
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet0/1
media-type rj45
negotiation auto
!
interface GigabitEthernet0/2
media-type rj45
negotiation auto
!
interface GigabitEthernet0/3
media-type rj45
negotiation auto
!
interface GigabitEthernet1/0
media-type rj45
negotiation auto
!
interface GigabitEthernet1/1
media-type rj45
negotiation auto
!
interface GigabitEthernet1/2
media-type rj45
negotiation auto
!
interface GigabitEthernet1/3
media-type rj45
negotiation auto
!
interface GigabitEthernet2/0
media-type rj45
negotiation auto
!
interface GigabitEthernet2/1
media-type rj45
negotiation auto
!
interface GigabitEthernet2/2
media-type rj45
negotiation auto
!
interface GigabitEthernet2/3
media-type rj45
negotiation auto
!
interface GigabitEthernet3/0
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode access
switchport nonegotiate
media-type rj45
no negotiation auto
no cdp enable
spanning-tree portfast edge
spanning-tree bpduguard enable
spanning-tree guard root
ip dhcp snooping trust
!
interface GigabitEthernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet3/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.10.121
!
interface Vlan11
ip address 192.168.11.1 255.255.255.0
ip helper-address 192.168.10.121
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server

and other switches are just with trunk and vlan :

Building configuration...

Current configuration : 4704 bytes
!
! Last configuration change at 07:31:34 UTC Wed Oct 19 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
vtp mode transparent
!
!
!
ip dhcp snooping vlan 10-11
no ip dhcp snooping information option
ip dhcp snooping
ip cef
no ipv6 cef
!
!
errdisable recovery cause bpduguard
errdisable recovery cause psecure-violation
errdisable recovery interval 30
!
spanning-tree mode mst
spanning-tree extend system-id
!
spanning-tree mst configuration
name IAM
revision 1
instance 1 vlan 10-11
!
!
vlan internal allocation policy ascending
!
vlan 10
name SRV
!
vlan 11
name IAM
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
switchport access vlan 11
switchport mode access
switchport nonegotiate
switchport port-security maximum 5
switchport port-security
media-type rj45
negotiation auto
no cdp enable
spanning-tree portfast edge
spanning-tree bpduguard enable
spanning-tree guard root
ip dhcp snooping limit rate 100
!
interface GigabitEthernet0/1
media-type rj45
negotiation auto
!
interface GigabitEthernet0/2
media-type rj45
negotiation auto
!
interface GigabitEthernet0/3
media-type rj45
negotiation auto
!
interface GigabitEthernet1/0
media-type rj45
negotiation auto
!
interface GigabitEthernet1/1
media-type rj45
negotiation auto
!
interface GigabitEthernet1/2
media-type rj45
negotiation auto
!
interface GigabitEthernet1/3
media-type rj45
negotiation auto
!
interface GigabitEthernet2/0
switchport access vlan 11
switchport mode access
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
!
interface GigabitEthernet2/1
media-type rj45
negotiation auto
!
interface GigabitEthernet2/2
media-type rj45
negotiation auto
!
interface GigabitEthernet2/3
media-type rj45
negotiation auto
!
interface GigabitEthernet3/0
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet3/1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet3/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
interface GigabitEthernet3/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
media-type rj45
negotiation auto
no cdp enable
ip dhcp snooping trust
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server

 

 

Thanks for your help,

0 Replies 0