User's Manual
EnRoute50x/51x User’s Guide
TR0153 Rev. D2
80
Each client interface on the EnRoute500 that is to support centralized DHCP mode must be
configured to be in DHCP server mode for it to support relay of IP addresses to clients from a
central DHCP server. This configuration is set with the DHCP role parameter in each of the
client interfaces (eth0, wlan1-4).
It is possible to disable DHCP address assignments to clients on a per-interface basis and
have them use static IP addresses instead. To disable DHCP for an interface, set the DHCP
role parameter associated with the interface to „none‟.
The address space that is to be used for the wireless clients is a subnet specified with the
Client Address Space parameter. This subnet can either be a class A (/8), class B (/16), or
class C (/24) network. The value must be specified in CIDR notation (a subnet and its size
separated by a „/‟), e.g. „192.168.5.0/24‟
The IP addresses of the client interfaces (eth0, wlan1-4) need to be manually assigned to each
of the nodes in the mesh cluster. This is done by setting the Address Base parameter for the
interfaces, which is assigned to the first enabled client interface. Addresses for the remaining
client interfaces are determined by successively incrementing the Base Address by 1. It is
recommended that the gateway in a mesh cluster be assigned the lowest available value (3 in
the example in the CLI section below) and the repeaters in the mesh cluster are given
successively higher values, with an increment of 5 between them (5 is the maximum number of
client interfaces available on each mesh node, including the Ethernet interface on mesh
repeaters).
CLI
DHCP relay mode is enabled using the „dhcp.relay.enable‟ and „l2.client_mac_fwd‟ parameters
in the „sys‟ interface as shown in the example below.
> use sys
sys> set dhcp.relay.enable=yes
sys> set l2.client_mac_fwd=yes
In the example below, the central DHCP server resides on a host on the same segment to
which the mesh gateway‟s wired interface is connected.
> use sys
sys> set dhcp.relay.server=192.168.5.1
The example below shows how to set the DHCP role parameter for the wlan1 and wlan2
interfaces.
> use wlan1
wlan1> set dhcp=server
> use wlan2
wlan2> set dhcp=server
To disable distribution of centralized DHCP addresses on an interface, set the interface‟s
„dhcp.role‟ parameter to „none‟ as shown below.