dhcp server and vlans

Unanswered Question
Mar 7th, 2008
User Badges:

Hi all, If I have my network say on a on vlan 1 and a dhcp server on that network also, and I have a scope on my dhcp server for this, say to, If I create another scope on my dhcp server say to /24 will the hosts be able to see this scope on vlan 1 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)

Yes. It is a broadcast remember.

If you want the DHCP server to give out specific IP addresses to specific workstations then I would not put the DHCP server in the same VLAN as all of the other hosts.

Consider creating 3 VLANs.

1 for your servers

1 for your workstations (I would make this a smaller network)

1 for your workstations (make this a smaller network also)

Then configure ip helper on your vlan interfaces. The DHCP server will get a relay message from the gateway of the respective network and it will understand to supply the IP address accordingly.

vlan 2

name server-net-

vlan 3

name workstation-net-

vlan 4

name workstation-net-

interface vlan 2

ip address

no shut

interface vlan 3

ip address 10.1.x.x/16

no shut

ip helper-address

interface vlan 4

ip address 10.5.x.x/16

no shut

ip helper-address

Not sure if that is what you are looking to do but good luck.

carl_townshend Wed, 03/12/2008 - 08:01
User Badges:

If the server is on say network and there is a scope on the server for this same subnet and also a scaope of there for say network, which scope would it give out? would it give the scope out as the server has an interface on that subnet ?

amohabir1 Wed, 03/12/2008 - 08:17
User Badges:

It will give out whatever the forwarding network is. in this case. will never be assigned, unless you specify another vlan that contains hosts that will potentially be on this network. You will then have to setup the ip helper-address to forward the dhcp requests to the dhcp server.


This Discussion