If you’re running a mid-sized to large business with multiple Cisco switches spread across different network segments, you’ve probably run into a common headache: devices on a VLAN can’t get an IP address automatically because their local DHCP server is sitting on a different subnet. That’s where DHCP relay comes in — and as a Cisco switches supplier, I’ve helped dozens of small and enterprise teams cut through the confusion to set it up right. I’m Jake, part of the technical sales team at Switches for Cisco, and today I’m walking you through step-by-step how to configure DHCP relay on Cisco switches, why it matters, and what mistakes to avoid so you don’t end up with broken devices or dropped traffic. Switches for Cisco

First, let’s make sure we’re on the same page about what DHCP relay is and why you need it. By default, when a new device boots up, it sends a broadcast DHCPDISCOVER packet because it has no IP address and doesn’t know where the DHCP server lives. Broadcasts never cross subnets — that’s a key rule of IP networking. So if your DHCP server is on VLAN 10 (the finance office, say) and your sales team is on VLAN 20, their DHCP discover packets never reach the server. DHCP relay (also called IP helper-address in Cisco terms) fixes this by acting as a middleman: the local switch listens for those broadcasts, encapsulates them in a unicast packet, and sends them directly to the DHCP server on the other subnet. The server’s response goes back the same way, and the relay strip off the extra encapsulation and broadcasts it back to the original client. Without this, you’d be stuck statically assigning every device’s IP address — a nightmare for 50+ employees or remote offices.
Now, before we dive into configuration, there are a few prerequisites to check first. I’ve seen teams skip these and end up with hours of troubleshooting later, so trust me here. First, confirm that all your Cisco switches support IP helper-address. Most modern Catalyst models — from the Catalyst 9200 series I keep in stock because they’re perfect for small offices, to the 9300 series for enterprise deployments — support this feature. If you’re using an older model like a Catalyst 3550, double-check the IOS version; you’ll need at least IOS 12.1(14)EA1 for IP helper to work reliably. Next, make sure your DHCP server is reachable from each switch’s VLAN interface. Test this by pinging the server’s IP from the switch’s interface that connects to its subnet — if the ping fails, fix routing or ACLs before proceeding, because DHCP relay won’t work if packets can’t travel between the switch and server. Finally, note down your VLAN IDs, DHCP server IP addresses, and the switch interface numbers for each VLAN. I always tell customers to jot these down on a quick network diagram before starting — it saves so much time.
Let’s start with the configuration steps, using a common example to make it concrete. Let’s say we have:
- Switch model: Catalyst 9200 (one of the most popular switches we supply, thanks to its compact size and robust DHCP performance)
- VLAN 10 (Finance): interface Vlan10 IP address 192.168.10.1 255.255.255.0
- VLAN 20 (Sales): interface Vlan20 IP address 192.168.20.1 255.255.255.0
- DHCP server at 10.0.0.50, sitting on VLAN 10’s subnet
Our goal is to have both VLAN 10 and VLAN 20 send DHCP requests to 10.0.0.50.
First, log into your Cisco switch via SSH or console. Enter enable mode with enable, then global configuration with configure terminal. For each VLAN that needs DHCP relay, we’ll add the IP helper-address to the VLAN interface — this is the core command. For VLAN 20, that’s interface Vlan20, then ip helper-address 10.0.0.50. Wait, what about VLAN 10? Since the DHCP server is already on VLAN 10, we usually don’t need relay there, but if you have a server on another segment, you’d add it the same way.
But here’s a common mistake: a lot of people forget that Cisco’s ip helper-address only forwards six DHCP-related UDP ports by default (port 67 for server, 68 for client). Sometimes, custom DHCP options or third-party servers use extra ports, and if that’s the case, you’ll see relay working for basic IP assignment but not for things like DNS or default gateway options. To fix that, you can add more ports with the ip forward-protocol udp command. For example, if your server uses port 546 for DHCPv6 (yes, we support IPv6 on the Catalyst 9200 too), you’d enter ip forward-protocol udp 546 in global config. I’ve seen customers skip this and end up with devices getting IP addresses but no DNS servers — that’s the mistake no one talks about, but it’s easy to avoid.
Next, verify the configuration. Once you’ve added the helper address, save the config with write memory or copy running-config startup-config — I always do both, just in case. Then, test it. Grab a test device on VLAN 20, disconnect it from the network, boot it up, and watch for DHCP activity. If you don’t want to wait 2 minutes for a device to boot, you can enable debug temporarily — but only on test switches, never on production, because debug can overwhelm the CPU. The command debug ip dhcp server packet will show you if the relay is forwarding the discover: look for a line that says “broadcast packet relayed” when the test device sends a discover. If you don’t see that, double-check the helper address on Vlan20, make sure the switch can ping 10.0.0.50, and that there’s no ACL blocking UDP port 67 between the switch and server.
Now, what about multiple DHCP servers? Maybe you have a primary server on 10.0.0.50 and a backup on 10.0.0.51. You don’t need extra commands — just add a second helper address to the same VLAN interface. So for Vlan20, that’s ip helper-address 10.0.0.51 right after the first one. Cisco will automatically send requests to both, which is great for redundancy. But here’s a caveat: if you have more than two or three DHCP servers, you might run into performance issues on the switch, especially if it’s an older model. That’s why I recommend using the Catalyst 9300 series for larger deployments — they have higher CPU and memory, so they can handle 5+ helper addresses without dropping packets.
Another advanced tip: if you’re using VLANs across multiple switches (trunk ports), make sure the trunk is configured correctly to allow all VLANs that need DHCP relay. A common mistake is forgetting to allow the VLAN 20 on the trunk between your core switch and access switch, so the access switch never gets the DHCP broadcasts, even if you set the helper address. For trunk ports, the command is switchport trunk allowed vlan add 10,20 on the interface connecting the two switches. I see this all the time with new customers — they set up relay on the access switch, but the VLAN isn’t allowed on the trunk, so nothing works. It’s a quick fix, but it wastes so much time when you’re troubleshooting.
Now, let’s talk about common issues and how to fix them. First, devices get an “IP address conflict” error. This usually happens if the DHCP server is handing out addresses that are already statically assigned. To fix this, log into the DHCP server and make sure the address pool doesn’t include any static IPs on your network. Second, DHCP requests are being ignored — check the switch’s CPU load. If it’s over 70%, the switch might be dropping DHCP relay packets to handle other traffic. You can check CPU load with show processes cpu on the Cisco switch. If it’s too high, consider upgrading to a more powerful switch, which is exactly what we specialize in at Switches for Cisco — we stock a wide range of models for every network size, from small 5-port Catalyst 9200s to enterprise-grade 48-port 9300s. Third, IPv6 devices aren’t getting IPs — remember that traditional DHCP relay for IPv4 doesn’t work for DHCPv6. For IPv6, you need DHCP relay for IPv6, which uses the command ipv6 dhcp relay destination on the VLAN interface. We also support full IPv6 configuration on all switches we supply, so you can handle mixed IPv4/IPv6 networks without extra gear.
Wait, what if you’re using a Layer 3 Cisco switch, like a Catalyst 9500, instead of a Layer 2 access switch? The configuration is almost identical, but there’s one key difference: on a Layer 3 switch, the VLAN interface is the default gateway, so you have to make sure that routing is enabled. If ip routing is turned off, the helper address won’t work because the switch can’t route the packet to the DHCP server. You can confirm with show ip route — if you don’t see the route to the DHCP server, enter ip routing in global config. For most small businesses, though, the Catalyst 9200 Layer 3 switches are more than enough, and they’re one of our top sellers because they balance performance and cost.
Now, let’s circle back to why DHCP relay is critical for your business. I’ve had customers come to me with 30 employees on a single subnet, statically assigning every IP because they couldn’t set up DHCP relay — that leads to duplicate addresses, IT staff working weekends manually updating IPs, and employees losing internet when a device glitches. With DHCP relay, you can centralize all your IP management on one or two servers, reduce human error, and make it easy to add new VLANs as your team grows. Every switch I supply at Switches for Cisco is pre-configured with basic DHCP relay settings if you need it, but if you’re setting it up yourself, the steps above will get you there.

Now, if you’re struggling with DHCP relay on your current Cisco switches, or you’re looking to upgrade to a more reliable model that can handle larger networks, I’m here to help. Whether you have a 5-person office that just needs a Catalyst 9200 or an enterprise with 100+ users needing a 9300 series, our team can help you pick the right switch, troubleshoot any issues with DHCP relay, or even pre-configure your switches before they arrive. Don’t waste hours troubleshooting broken DHCP — reach out to our team for a no-obligation consultation to match your network needs with the right Cisco switches.
Routers for Juniper References
- Cisco Systems, Inc. Cisco IOS IP Addressing Services Configuration Guide, Release 15.2.
- Cisco Systems, Inc. Catalyst 9200 Series Switches Data Sheet.
- Cisco Systems, Inc. IP Helper Address Configuration Guide for Catalyst Switches.
AITI Tech Limited
AITI Tech Limited is one of the most professional switches for cisco manufacturers and suppliers in China for over 20 years, featured by quality products and low price. Welcome to buy bulk discount switches for cisco in stock here from our factory. If you have any enquiry about pricelist, please feel free to email us.
Address: 6F, Haogong Building, Yannan Road, Futian District, Shenzhen, China
E-mail: kelly@hkaiti.com
WebSite: https://www.hkaiti.com/