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-04-2024 09:39 PM
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 02:09 AM
On Int fa 0/1.10 add ip helper-address x.x.x.x command
with x.x.x.x the IP address of your DHCP server.
06-05-2024 02:56 AM
Check server IP configuration: IP/subnet/Gateway. Does the server ping its Gateway ? Does the server ping 192.168.100.1 ?
06-05-2024 05:28 AM
Different issue on your SW and router configuration !
First on the SW:
Modify FA0/1 2 and 3 like this
Fa0/1 and FA0/2 are access mode because PC are connected!
FA0/3 is a Trunk port !
On the Router:
Modify pool 50 like this:
You have to configure the network command....
PC-16 and 17 should have an IP address:
06-05-2024 05:46 AM
The modifications I show you it is only for vlan 50....
so PC-16 and 17 should have an IP if you follow me.
For the others VLAN you have to adjust the configuration ...
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:14 AM
Port connected to PC have to be in switchport mode access with access vlan x command ! x the vlan id.
Port on Switch connected to others Switch or Router have to be in Trunk mode! switchport mode trunk command.
06-05-2024 06:31 AM
you're so welcome @Malter17
06-04-2024 09:39 PM
In router do
Int fa 0/1
No shut
Abd check
MHM
06-04-2024 09:46 PM
still can't, sir
does switch (fa) to hub (eth)
Does different port type affect it?
06-04-2024 11:02 PM
this is packet tracer lab
share it here
there are some engineer excellent and can help you
MHM
06-05-2024 12:10 AM - edited 06-05-2024 12:11 AM
06-05-2024 12:41 AM
sorry I am busy now
I hope other will answer you
MHM
06-05-2024 02:09 AM
On Int fa 0/1.10 add ip helper-address x.x.x.x command
with x.x.x.x the IP address of your DHCP server.
06-05-2024 02:29 AM
Still cant
06-05-2024 02:56 AM
Check server IP configuration: IP/subnet/Gateway. Does the server ping its Gateway ? Does the server ping 192.168.100.1 ?
06-05-2024 03:11 AM
06-05-2024 05:28 AM
Different issue on your SW and router configuration !
First on the SW:
Modify FA0/1 2 and 3 like this
Fa0/1 and FA0/2 are access mode because PC are connected!
FA0/3 is a Trunk port !
On the Router:
Modify pool 50 like this:
You have to configure the network command....
PC-16 and 17 should have an IP address:
06-05-2024 05:44 AM
it's always like this sir...
06-05-2024 05:46 AM
The modifications I show you it is only for vlan 50....
so PC-16 and 17 should have an IP if you follow me.
For the others VLAN you have to adjust the configuration ...
06-05-2024 06:07 AM
why when I configure the switch
Switch(config)#interface range FastEthernet0/2-13
Switch(config-if-range)#switchport access vlan 30
does the switchport remain in trunk mode?
do I have to do it manually config?
06-05-2024 06:14 AM
Port connected to PC have to be in switchport mode access with access vlan x command ! x the vlan id.
Port on Switch connected to others Switch or Router have to be in Trunk mode! switchport mode trunk command.
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