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

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
主站蜘蛛池模板: 郁南县| 岳西县| 普安县| 高碑店市| 深水埗区| 天津市| 门源| 阳城县| 南开区| 峨眉山市| 达日县| 嘉兴市| 托克逊县| 玛多县| 正定县| 化德县| 隆安县| 阆中市| 乡宁县| 万全县| 盐城市| 白山市| 依安县| 绥芬河市| 陆河县| 博白县| 澳门| 商都县| 韶山市| 铅山县| 隆尧县| 灵川县| 武山县| 托里县| 长汀县| 运城市| 夏河县| 鹤峰县| 张家口市| 红安县| 铅山县|