Configuring the DHCP relay

This recipe describes how to configure pfSense to relay DHCP requests between broadcast domains. Specifying a DHCP relay is an alternative to configuring the DHCP service on pfSense itself.

Getting ready

DHCP Relay can only be enabled if the DHCP server is disabled on all interfaces. If necessary, first disable the DHCP service on all interfaces as follows:

  1. Browse to the Services | DHCP Server| Interface tab (for example, LAN).
  2. Uncheck Enable DHCP Server on LAN Interface.
  3. Save the changes.
  4. Apply changes, if necessary.
    Getting ready

How to do it...

  1. Browse to Services | DHCP Relay.
  2. Check Enable DHCP Relay on Interface.
  3. Select the interfaces on which the relay will be applied. Use Ctrl + click to select multiple interfaces.
  4. Enter the IP address of the existing DHCP Servers to be used as the Destination server. Multiple IP addresses may be entered, separated by commas.
  5. Save the changes.
  6. Apply changes, if necessary.
    How to do it...

How it works...

PfSense can be configured to relay DHCP requests to existing DHCP servers. Any incoming DHCP request will be forwarded to the server(s) specified and the response will be returned to the client.

Append Circuit ID and Agent ID to Requests

PfSense can append its interface number (circuit ID) and agent ID to DHCP requests, if checked.

Relay requests to the WAN DHCP server

Select this option to relay all requests to the DHCP defined in your WAN connection.

At the time of writing this book, this feature hadn’t yet been implemented in the pfSense 2.0 Beta version.

See also

  • The Configuring the DHCP server recipe
  • The Creating static DHCP mappings recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.140.197.167