I have a DHCP server (configured on a Windows Server). I'd like to know how I would go about configuring my Cisco Routers/Switches to allow my separate subnets/VLANs to receive the appropriate addresses from the correct pools on my server.
What prompted this effort was the fact that my network has grown beyond the point of what my /24 scope can facilitate. I've decided that breaking up the network into separate /24 subnets will solve that problem...but unsure on how to get it done.
A little additional information - I'm running Windows Server 2003, Cisco 2950 Switches on the LAN and a 2800 as my core router.
Create your vlans on the switch, apply the default gateway for each subnet to each vlan and add the helper address to each vlan as the windows server.
Put the relevant ports in the relevant vlan and any devices which send a dhcp request will always be assinged from the dhcp pool on your windows box which is relevant to the vlan the request comes from.
If that'e the only hardware you have then creating VLANs on the switch works but in order for the devices in that VLAN to receive an Ip address from the windows server that is on another VLAN you need the help from a layer 3 device that can move the DHCP discovery from the vlan of the host to the server.
The 2950 can't do thos task so you need your "inter-vlan routing" done by the router.
Take a look at the following example called "router on a stick".
Then you need the command:
ip helper address x.x.x.x (where x.x.x.x is the IP if the DHCP server)
This command will be applied on the NEW sub-interface that will route for each of the new VLANs.
Thanks.....I've tried your suggestions, but still unable to get traffic flowing through the subnets.
A little bit more details on the network...
We recently put in a CUCM and with that created 2 subnets (VLAN10 for data and VLAN20 for voice). The switches (2950) are configured with spanning tree PVST. I assumed that given that those 2 VLANs are pretty easily distributed along the switches that adding a third data VLAN wouldn't be too difficult. But I guess the requirement of separate DHCP scopes for each VLAN complicates it.
What I've done so far...
As suggested I've created the VLAN on the switches, and on the router (dot1q encapsulation). On the sub-interface on the router, I added the ip helper-address command, pointing it to the DHCP server.
Please let me know what I'm missing and if there's any additional info I can provide to make it any more clearer.
What works....Getting my laptop to be assigned an address from the respective DHCP scope. Thats a plus.
However, that only works if i'm connected to the same switch that the DHCP server is connected to. I tried that as a control measure. If I connect it to any other switch that branches off that main switch, I get nothing. This would look like a trunk problem, but all other switches are connected via trunk ports.
I notice though that after creating the additional VLans on the other switches, the interfaces are all down/down, except on the switch that I've assigned a port to that VLan. In other words, if I've only just created the VLan interface, and assigned an IP address to it, it remains down seemingly until I assign a switch port to it. Should this be the case?
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...