BelAir20E User Guide
DHCP Relay Settings
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Interface
Administrative
State
/protocol/dhcp/set relay <relay-idx> admin-state {enabled|disabled}
This command allows you to activate individual DHCP relay profiles. When
enabled, the Relay Agent forwards the packets from the client to the DHCP
servers specified in the profile.
Assigning SSID
Traffic to Use
DHCP Relay
/interface/wifi-<n>-<m>/set ssid <ssid_index> dhcp-relay
{disabled | enable <relay-idx>}
This command assigns which SSID traffic uses the node’s DHCP relay
functionality. Perform this step after the DHCP Relay profile is added and
enabled.
Once DHCP relay functionality is enabled for the SSID, your BelAir20E
automatically adds DHCP Option 82 information (that is, relay agent
information) to the DHCP packets for that SSID sent to the wireless client and
DHCP server. For details, see
“Providing Vendor Specific Information” on
The
ssid_index
parameter is an integer from 1 to 8. Use the
show ssid table
command to determine
<ssid_index>
.
DHCP Address
Filtering
/protocol/dhcp/set dhcp-allowed-subnet <index 1-32)>
ip_addr <ip_addr> netmask <random_str>
/interface/wifi-<n>-<m>/add ssid <ssid_index>
dhcp-allowed-subnet <index 1-32>
/interface/wifi-<n>-<m>/del ssid <ssid_index>
dhcp-allowed-subnet {<index 1-32> | all}
/interface/wifi-<n>-<m>/set ssid <ssid_index>
dhcp-addr-filter {enabled | disabled}
/interface/wifi-<n>-<m>/show dhcp-allowed-subnet {all | <index 1-32>}
This feature reduces unnecessary or unwanted directed and broadcast DHCP
packets from your wireless network.
First, use the
/protocol/dhcp/set
command to generate a list of valid IP subnets
and masks for this node. Your list can contain up to 32 members. To remove an
entry from the list, set the IP address and the mask to 0.0.0.0.
Then, use the
/interface/wifi-<n>-<m>/add
command to assign a member of
that list to an SSID. The
ssid_index
parameter must be a valid SSID index. Use
the
/interface/wifi-<n>-<m>/add
command repeatedly to add more than one
entry to an SSID. Each SSID can have up to 32 entries. Entries for different
SSIDs can overlap.