cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
792
Views
9
Helpful
21
Replies

PC Cant catch dhcp

Malter17
Level 1
Level 1

why can't the pc catch dhcp?
even though my configuration remains the same as usual...
like

For

Switch Config:

No IP domain-lookup
Vlan 10
Name Malter
Exit
Int range fa 0/2-11
Switchport access vlan 10
No sh
Int fa 0/1
Trunk mode switchport

Router Config:

No IP domain-lookup
Int fa 0/1.10
encapsulation dot1Q 10
IP address 192.168.100.1 255.255.255.0
No sh
Exit

btw the switch and router are connected to 1 hub

21 Replies 21

Ah, sorry sir, at first it didn't work, it turned out that my Cisco software was having problems after I reinstalled it and finally got the DHCP IP.
Thank you very much for everything sir, sorry to bother you...

you're so welcome @Malter17 

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

Sir, I want to ask again

Do you have to configure the router before config that you provide?

 

Router Config:

No IP domain-lookup

Intfa 0/0.50

encapsulation dot1Q 50

IP address 10.10.10.50 255.255.255.0

No sh

Exit

 

or is there something wrong with the configuration above?

because when I opened it again today it couldn't even work anymore

M02@rt37
VIP
VIP

Hello @Malter17 

DHCP server configured on the Router ? service dhcp command in not disable ?

Do #show interface trunk on Switch and copy/paste the output here please.

 

 

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

still can't get DHCP... then my server won't connect either

M02@rt37
VIP
VIP

@Malter17 

On all your Switches there is a mis configuration:

M02rt37_0-1717591927089.png

Delete the switchport mode dynamic auto command on ports where PC are connected !

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

hah?
even though I have never configured it like that...

Review Cisco Networking for a $25 gift card