06-04-2024 09:31 PM
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
Solved! Go to Solution.
06-05-2024 06:30 AM
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...
06-05-2024 06:31 AM
you're so welcome @Malter17
06-05-2024 06:36 PM
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
06-04-2024 10:39 PM
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.
06-05-2024 12:11 AM
06-05-2024 05:52 AM
On all your Switches there is a mis configuration:
Delete the switchport mode dynamic auto command on ports where PC are connected !
06-05-2024 06:10 AM
hah?
even though I have never configured it like that...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide