Multi hop DHCP relay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Multi hop DHCP relay

L4 Transporter

Hi

 

So I want to get my VOIP phones to dhcp to the vPBX.

 

Phone are on a vlan in the office vPBX is in the DC

 

so vlan for phone -> PA -> vlan -> arista switch -> vlan -> PA (clustered A/A) -> vlan -> vPBX

 

So I can setup DHCP relay on the first PA and I can set the DHCP server as being the ip of the vPBX, and I believe as it will be a unicast and not broadcast it should make it there.

 

But I am think of the response how does it make it back as it will be a broadcast response ...

 

can I do it ?

3 accepted solutions

Accepted Solutions

L7 Applicator

Hi @Alex_Samad

 

On the first PA you need to configure a DHCP relay agent (https://www.paloaltonetworks.com/documentation/80/pan-os/pan-os/networking/dhcp/configure-an-interfa...)

This DHCP relay agent keeps track of the received DHCP requests to that rhe unicast reply from the DHCP server will find its way back to the device which sent the broadcast request.

View solution in original post

The way back is only a unicast which the PA (with DHCP relay agent) then forwards to the right device based on the mac address

View solution in original post

Hello,

As @Remo state is will work. I have a similar setup and all you need is the DHCP relay setup on the PAN that is performing the relay. The reply addresss becomes the PAN's IP and hte PAN knows where to send it based on MAC address.

 

Also make sure to allow the DHCP applications/ports on both PANs.

 

Regards,

View solution in original post

5 REPLIES 5

L7 Applicator

Hi @Alex_Samad

 

On the first PA you need to configure a DHCP relay agent (https://www.paloaltonetworks.com/documentation/80/pan-os/pan-os/networking/dhcp/configure-an-interfa...)

This DHCP relay agent keeps track of the received DHCP requests to that rhe unicast reply from the DHCP server will find its way back to the device which sent the broadcast request.

Hi

 

are you suggesting that the dhcp server will reply via unicast so that the PA which doesn't have dhcp relay agent on it will know how to route it back ?

 

 

so my understanding is

 

device -> dhpc request (broadcast) -> PA (with agent) -> forwards via unicast -> router (arista) -> router (arisa) -> PA -> dhcp server.

 

but the path back is

dhcp server -> broadcast ... this doesn't go any where as the PA doesn't know about it, I think

 

The way back is only a unicast which the PA (with DHCP relay agent) then forwards to the right device based on the mac address

okay, I will give it a go

Hello,

As @Remo state is will work. I have a similar setup and all you need is the DHCP relay setup on the PAN that is performing the relay. The reply addresss becomes the PAN's IP and hte PAN knows where to send it based on MAC address.

 

Also make sure to allow the DHCP applications/ports on both PANs.

 

Regards,

  • 3 accepted solutions
  • 4151 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!