I am working to move all devices on our network off of the default VLAN (VLAN 1). This address space is 192.168.0.0/xx
I am using a variety of Cisco SG300\350\500 switches in Layer 2 mode.
All switches still have VLAN 1 as native
All switches still have an IP interface on VLAN 1
All switches still have the IP default-gateway set to VLAN 1
All VLAN routing is done on our Firewall.
I have created multiple VLAN's and moved the majority of our devices to their newly assigned VLAN's. This works fine.
All devices( PC's, printers, etc) are connected to the switches and the respective ports are set to access mode.
I have DHCP relays for all VLAN's, set up on my firewall since I can't get any VLAN's (except VLAN 1) to get a DHCP address because the DHCP servers are still on the default VLAN (VLAN 1).
Each Cisco switch also has DHCP relay enabled and also points to the servers on VLAN 1. (This may be unnecessary)
I have 1 VLAN I am using for testing. VLAN 7. Any device connected to any switch port on VLAN 7 pulls a DHCP address just fine.
At this point, all works just fine.
Here starts the issue
I have a DHCP server set up on VLAN 4 (10.0.4.0/x) for testing.
When I set the DHCP relay on my firewall for VLAN 7 to point to the DHCP server on VLAN 4, it does not receive an address
Here are my questions:
Each Cisco switch has DHCP relay enabled and points to the servers on VLAN 1. Since I am doing DHCP relay on my firewall, can I leave the DHCP relay enabled on the switches and just remove the IP addresses of the servers? Do I even need DHCP relay enabled on the switches?
Assuming I do not need IP addresses of the DHCP servers on the switches or DHCP even enabled on the switches, WIll VLAN 1 still be able to get a DHCP address if needed?
My ultimate goal is to keep VLAN routing on the firewall and do DHCP relay on the switches.
I am sorry but this does not help. I have read the guides and DHCP is working just fine on the default VLAN (VLAN 1). I need to get it to work with my DHCP server(s) on on VLAN 4. DHCP relay is enabled on all switches and all switches have my DHCP servers added, even the test DHCP server. The only layer 3 device with routing enabled is my firewall.
Just to expand a bit.
I have the following VLAN's created on all switches:
VLAN 1 is 192.168.1.0/24 and 2 production DHCP servers handing our addresses for all VLAN's (except VLAN 8) successfully.
VLAN 4 in 10.0.4.0/24 has 1 DHCP server handing our addresses for VLAN 8 only
When I point DHCP for VLAN 8 to the production servers on VLAN 1, DHCP works fine and the device pulls an address for VLAN 8.
When I delete the DHCP scope from the DHCP servers on VLAN 1, and I point DHCP for VLAN 8 to the server on VLAN 4, no address is pulled.
Could this have anything to do with the default VLAN for all switches still being VLAN 1?