02-27-2022 03:40 PM - last edited on 02-28-2022 12:56 PM by Translator
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?
Solved! Go to Solution.
02-27-2022 05:48 PM
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.
02-27-2022 05:48 PM
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.
02-27-2022 05:56 PM - edited 02-27-2022 05:56 PM
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
02-27-2022 06:08 PM - last edited on 02-28-2022 12:57 PM by Translator
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
02-27-2022 06:31 PM
actually I think I got it to work
02-28-2022 02:56 PM
Way to go my friend. Keep studing and practicing and ask whenever necessary. We are all learning here.
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