cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1042
Views
40
Helpful
5
Replies

DHCP alongside L3 switch

bluekirby
Level 1
Level 1

I am trying to use a dhcp server to issue ip addresses for pc0 and pc1 

It works fine when I have them on vlan 1 but when I move to another vlan, dhcp fails. 

I have them on vlan 10, have an ip address for that vlan (192.168.10.1) and an ip helper address that points to the ip address of my dhcp server.

I have created a service on the dhcp server for vlan 10 with

default gw 

of 192.168.10.1

Is there anything else I am missing?

1 Accepted Solution

Accepted Solutions

Hi

Found two errors on your  exercise.  First, the interface fasterther 0/3 should be on vlan 10 and it wasn´t.  But, also, the dhcp escope was incorrect.  The server pool, which is being used to serve ip address to PCs, had no gateway on it and the first ip address was 192.168.1.0 and should be like 192..168.1.2 at least.

View solution in original post

5 Replies 5

Hi

Found two errors on your  exercise.  First, the interface fasterther 0/3 should be on vlan 10 and it wasn´t.  But, also, the dhcp escope was incorrect.  The server pool, which is being used to serve ip address to PCs, had no gateway on it and the first ip address was 192.168.1.0 and should be like 192..168.1.2 at least.

whoops! My mistake, I am still a beginner. So it is giving the pc an ip address of 192.168.1.5 now which is good. But since I am using vlan 10, how can I make it so that an address such as 192.168.10.5 get used instead?

 

thank you so much for your help

I should note that I have a service in the dhcp server called vlan 10 with a

default gw

of 192.168.10.1 which is the same ip address as vlan 10's ip address. I would want to be able to have the pc's get an ip address of 192.168.10.x instead of 192.168.1.x

 

thank you again

actually I think I got it to work

Way to go my friend. Keep studing and practicing and ask whenever necessary. We are all learning here.

Review Cisco Networking for a $25 gift card