11-07-2014 11:49 AM - edited 03-07-2019 09:25 PM
Company wants to move all DHCP for computers and voice to a new Windows DHCP server from Linux. Right now the DHCP pool at headquarters is 192.168.1.100 - 192.168.1.200 and there are servers on that same subnet. They want to use 192.168.3.0/24 as a new pool and ditch 192.168.1.100 - 192.168.1.100 leaving that for only servers. Below is the switch and router info.
Company has 192.168.1.0/24 and 192.168.8.0/24 on VLAN 100 which is their access vlan at their headquarters
SWITCHES:
Access VLAN 100
Voice VLAN 10
VLAN 10
ip address 192.168.101.254 255.255.255.0
ip helper-address 192.168.101.3
VLAN 100
ip address 192.168.8.2 255.255.255.0 secondary
ip address 192.168.1.2 255.255.255.0
We are moving from a Linux DHCP that has two addresses:
192.168.1.6
192.168.101.3
NOTE: I do not know why it has 2 addresses. All IP helpers at the remote locations point to 192.168.1.6
ROUTER:
Interface Gigabit0/0.100
IP Address 192.168.1.1 255.255.255.0
IP Address 192.168.8./1 255.255.255.0 (secondary)
Would I just add another address to VLAN 100 (192.168.3.2) and another address to the 0/0.100 interface (192.168.3.1) to the router then an IP helper on VLAN 100 on the core switch to point to 192.168.1.21 (new DHCP server)? I'd also modify the VLAN 10 IP Helper to point to 192.168.1.21.
Or, would it be better to create another VLAN and modify all the switchports "access" VLAN's via the appropriate Macro/individual switchport? I suppose I'd also have to add all the routing as well as a new sub interface on the router like 0/0.80 and add the new VLAN to all the trunks if this were done as well.
Thanks in advance.
11-08-2014 10:28 AM
Change the IP of VLAN 100 and the corresponding g/w address on the router, that way you don't need to move ports.
Create another VLAN for the servers, you will need to create a sub interface for the same on the router.
Correct, you need to specify the address of the DHCP server via 'IP Helper', as by this plan, the DHCP server will be in the server VLAN.
Remember to add your new g/w address to your DHCP configuration.
You don't need to change any routing!
The interface that connects to the router needs to remain as a trunk.
You would only need to add the new VLAN to the trunk, if you have only allowed certain VLAN's, by default all are allowed.
Martin
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