How to: MGS/AWG - Setting up DHCP

How to: MGS/AWG - Setting up DHCP

DHCP

DHCP automatically provides clients with an IP address (instead of clients having to set one themselves). DHCP is available for both IPv4 and IPv6 clients, referred to as DHCPv4 and DHCPv6, respectively.

Settings Overview

DHCPv4 settings can be found at Services DHCPv4. DHCPv6 settings can be found at Services DHCPv6.

The DHCPv4 submenu further consists of:

·         An entry per interface of general settings, like a toggle to enable/disable DHCPv4 for this interface, DHCP range, DNS servers…

·         Relay: DHCP requests can be “forwarded” to a DHCP server on another interface. This is called relaying.

·         Leases: Shows all IP addresses that are handed out to clients (can be filtered to only show active and static leases).

·         Log File: Shows the log file of the DHCPv4 server.

The DHCPv6 submenu further consists of:

·         Relay: DHCP requests can be “forwarded” to a DHCP server on another interface. This is called relaying.

·         Leases: Shows all IP addresses that are handed out to clients (can be filtered to only show active and static leases).

Using DHCPv4

A typical DHCPv4 usage scenario is using it on your LAN with an IP range of 192.168.1.x, where x can be a number from 1 through 254. This means a subnet mask of 255.255.255.0. The range can also be written as 192.168.1.0/24. (The “1” in the third group can also be another number, and there are also other ranges available for private use. These are described in RFC 1918.)

The LAN IP of the ActiveARC® device that serves DHCP to the LAN should fall in the same DHCP IP range. Typically, it gets the address ending in .1 (so 192.168.1.1 in this example).

To set the LAN IP, go to Interfaces [LAN], set “IPv4 Configuration Type” to “Static”, and under “Static IPv4 configuration”, set “IPv4 address” to 192.168.1.1 and the subnet dropdown to “24”. Then click Save.

To set the DHCP settings, go to Services DHCPv4 [LAN]. Under “Gateway”, put 192.168.1.1. Under range, put 192.168.1.100 as the start address and 192.168.1.200 as the end address. Then click Save. After saving, click the “Apply Settings” button.

DHCP relaying

DHCP relaying is forwarding DHCP requests received on one interface to the DHCP server on another. DHCP relaying is available for both DHCPv4 and DHCPv6. The DHCPv4 settings can be found at Services DHCPv4 Relay. The DHCPv6 settings can be found at Services DHCPv6 Relay.

When setting up DHCP relaying (both DHCPv4 and DHCPv6 relaying have the same settings), the following options are available:

Setting

Explanation

Enable

 

Interface(s)

Which interfaces to apply relaying to? Only interfaces with an IP can be selected.

Append circuit ID and agent ID to requests

If this is checked, the DHCP relay will append the circuit ID (interface number) and the agent ID to the DHCP request.

Destination servers

A comma-separated list of IPs to which the requests should be forwarded.



    • Related Articles

    • MGS/AWG Gateway - Setting Firewall Rule Setting

    • How to: MGS/AWG - Setting up a Routed IPSec Tunnel

      Contents 1.0 Setup a routed IPSec Tunnel 3 1.1 Before you start 3 1.2 Sample Setup. 3 1.3 Firewall Rules Site A & Site B (part 1) 6 2.0 Step 1 - Phase 1 Site A. 6 2.1 General information. 6 2.2 Phase 1 proposal (Authentication) 6 2.3 Phase 1 proposal ...
    • Quick Start Guide - MGS/AWG Gateway/Firewall

      Intended audience This guide is designed to be used by network managers, IT administrators, and technicians who are responsible for installing, networking equipment in enterprise and service provider environments. Knowledge of telecommunication and ...
    • How to: MGS/AWG - Setting up DNSmasq DNS

      1. Dnsmasq DNS Dnsmasq is a lightweight, easy-to-configure DNS forwarder that can be used to answer DNS queries from your network. Similar functionality is also provided by “Unbound DNS”, our standard-enabled forward/resolver service. Sometimes, ...
    • How to: Setting up Monit natively on the MGS/AWG Gateway

      MGS/AWG - Monit Package Monit plugin is a Unix system management and proactive monitoring tool. This document will help guide set up the Monit tool on the ICCN AWG gateway. This Monit package is included in the AWG system by default. Monit is a ...