cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1304
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

9 Accepted Solutions

Accepted Solutions

In router do 

Int fa 0/1

No shut 

Abd check

MHM

View solution in original post

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 .ı|ı.ı|ı.

View solution in original post

@Malter17 

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.

 

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

View solution in original post

@Malter17 

Check server IP configuration: IP/subnet/Gateway. Does the server ping its Gateway ? Does the server ping 192.168.100.1 ?

 

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

View solution in original post

@Malter17 

Different issue on your SW and router configuration !

First on the SW:

Modify FA0/1 2 and 3 like this

M02rt37_1-1717590354282.png

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:

M02rt37_2-1717590445603.png

You have to configure the network command....

 

PC-16 and 17 should have an IP address:

M02rt37_0-1717590322718.png

 

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

View solution in original post

@Malter17 

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 ...

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

View solution in original post

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 .ı|ı.ı|ı.

View solution in original post

@Malter17 

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.

 

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

View solution in original post

you're so welcome @Malter17 

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

View solution in original post

21 Replies 21

In router do 

Int fa 0/1

No shut 

Abd check

MHM

still can't, sir

 

does switch (fa) to hub (eth)

Does different port type affect it?

this is packet tracer lab 
share it here 
there are some engineer excellent and can help you

MHM 

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

sorry I am busy now 
I hope other will answer you

MHM

@Malter17 

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.

 

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

Still cant

@Malter17 

Check server IP configuration: IP/subnet/Gateway. Does the server ping its Gateway ? Does the server ping 192.168.100.1 ?

 

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

For the server, I think I'll just leave it for now, for the PC that failed to catch DHCP, I'm confused sir...

@Malter17 

Different issue on your SW and router configuration !

First on the SW:

Modify FA0/1 2 and 3 like this

M02rt37_1-1717590354282.png

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:

M02rt37_2-1717590445603.png

You have to configure the network command....

 

PC-16 and 17 should have an IP address:

M02rt37_0-1717590322718.png

 

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

Malter17_0-1717591407554.png

it's always like this sir...

@Malter17 

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 ...

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

 

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?

@Malter17 

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.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card