官术网_书友最值得收藏!

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.

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 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
主站蜘蛛池模板: 宁武县| 乐清市| 体育| 昌江| 桑日县| 祥云县| 鄱阳县| 临清市| 平湖市| 德格县| 朝阳市| 延庆县| 双流县| 静安区| SHOW| 安多县| 淮南市| 大理市| 嘉荫县| 瑞丽市| 英吉沙县| 苏尼特左旗| 宿州市| 曲阜市| 凤翔县| 石楼县| 诸暨市| 固镇县| 吉林省| 登封市| 自贡市| 奉节县| 琼结县| 永登县| 鄂尔多斯市| 茌平县| 榆林市| 黔东| 富川| 大同市| 延边|