SonicOS/X 7 IPSec VPN

Configuring DHCP over VPN Remote Gateway

To configure DHCP over VPN Remote Gateway

  1. Select Remote from the Gateway drop-down menu.
  2. Click Configure.

  3. On the General screen, the VPN policy name is automatically displayed in the Relay DHCP through this VPN Tunnel field if the VPN policy has the setting Local network obtains IP addresses using DHCP through this VPN Tunnel enabled.

    Only VPN policies using IKE can be used as VPN tunnels for DHCP. The VPN tunnel must use IKE and the local network must be set appropriately. The local network obtains IP addresses using DHCP through this VPN Tunnel.

  4. Select the interface the DHCP lease is bound from the DHCP lease bound to menu.
  5. If you enter an IP address in the Relay IP Address field, this IP address is used as the DHCP Relay Agent IP address (giaddr) in place of the Central Gateway’s address and must be reserved in the DHCP scope on the DHCP server. This address can also be used to manage this firewall remotely through the VPN tunnel from behind the Central Gateway.

    The Relay IP address and Remote Management IP Address fields cannot be zero if management through the tunnel is required.

  6. If you enter an IP address in the Remote Management IP Address field, this IP address is used to manage the firewall from behind the Central Gateway, and must be reserved in the DHCP scope on the DHCP server.
  7. If you enable Block traffic through tunnel when IP spoof detected, the firewall blocks any traffic across the VPN tunnel that is spoofing an authenticated user’s IP address. If you have any static devices, however, you must ensure that the correct Ethernet address is typed for the device. The Ethernet address is used as part of the identification process, and an incorrect Ethernet address can cause the firewall to respond to IP spoofs.
  8. If the VPN tunnel is disrupted, temporary DHCP leases can be obtained from the local DHCP server. After the tunnel is again active, the local DHCP server stops issuing leases. Enable Obtain temporary lease from local DHCP server if tunnel is down. By enabling this checkbox, you have a failover option in case the tunnel ceases to function.
  9. If you want to allow temporary leases for a certain time period, type the number of minutes for the temporary lease in the Temporary Lease Time box. The default value is 2 minutes.
  10. To configure devices on your LAN, click Devices.

  11. To configure Static Devices on the LAN, click +Add to display the Add LAN Devices Entry dialog.

  12. Type the IP address of the device in the IP Address field and then type the Ethernet address of the device in the Ethernet Address field.

    An example of a static device is a printer as it cannot obtain an IP lease dynamically. If you do not have Block traffic through tunnel when IP spoof detected enabled, it is not necessary to type the Ethernet address of a device. You must exclude the Static IP addresses from the pool of available IP addresses on the DHCP server so that the DHCP server does not assign these addresses to DHCP clients. You should also exclude the IP address used as the Relay IP Address. It is recommended to reserve a block of IP address to use as Relay IP addresses.

  13. Click OK.
  14. To exclude devices on your LAN, click +Add to display the Add Excluded LAN Entry dialog.
  15. Enter the MAC address of the device in the Ethernet Address field.
  16. Click OK.
  17. Click OK to exit the DHCP over VPN Configuration dialog.

You must configure the local DHCP server on the remote firewall to assign IP leases to these computers.

If a remote site has trouble connecting to a central gateway and obtaining a lease, verify that Deterministic Network Enhancer (DNE) is not enabled on the remote computer.

If a static LAN IP address is outside of the DHCP scope, routing is possible to this IP, that is, two LANs.

Wireless clients are assigned an IP address in this subnet. The IP address and a DHCP server are automatically created and assign DHCP addresses.

Was This Article Helpful?

Help us to improve our support portal

Techdocs Article Helpful form

  • Hidden
  • Hidden

Techdocs Article NOT Helpful form

  • Still can't find what you're looking for? Try our knowledge base or ask our community for more help.
  • Hidden
  • Hidden