[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1673
  • Last Modified:

How can I get DHCP ( layer 2 ) packets to forward between vlans on a network switch ?

We have 2 vlans and need to have the DHCP server on one vlan ( 500 ) and the dhcp clients on a different vlan ( 200 ).   Is there a way to forward the packets across the vlans ?   We want the vlan with the dhcp server to be isolated from the systems requesting the services except for DNCP and DNS.

Thank you all again.

1 Solution
The only way to get vlans to communicate is with inter-vlan routing. you either need a layer 3 switch or a router to accomplish this.

After setting that up you can create access list to filter the traffic you want
on a cisco switch there is a command you can type to forward DHCP requests to a DHCP server on a different VLAN.  the command is this.

ip helper-address

as that1guy said, this has to be done on the layer 3 device.  This particular command is entered in the VLAN config mode.
if i remember, you are using dell switches, so refer to this page for some info on the Dell version of the helper-address command:

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

If its a Microsoft DHCP setup, you could always just use the  DHCP Relay service running on a Microsoft box to forward the packets, but this only works if the Vlans can route  to each other.  
itguy411Author Commented:

Good suggestion and it is good to know, however in this case the microsoft server is in the other vlan thus would never see the packet to forward it.  
the helper command forwards all UDP broadcasts to the indicated address.  you need to configure this on your router that connects the two vlans.

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now