© Microhard Systems Inc.
103
5.0 AT Command Line Interface
AT+MNLANDHCP
Command Syntax (Effect: AT&W)
Get/Set LAN DHCP server running on the Ethernet interface.
AT+MNLANDHCP=<LAN Name>[,<Mode>[,<Start IP>, <Limit>[,<Lease Time>,<Alt. Gateway>, <Pre.
DNS>, <Alt. DNS>,<WINS/NBNS Servers>,<WINS/NBT Node>]]]
LAN Name: Name of Network LAN interface
Mode: 0 - Disable DHCP Server
1 - Enable DHCP Server
Start IP: The starting address DHCP assignable IP Addresses
Limit: The maximum number of IP addresses. min=0 max=16777214
Lease Time: The DHCP lease time in minutes. min=0 max=214748364
Alt. Gateway: Alternate Gateway for DHCP assigned devices if the default gateway is not to be used
Pre. DNS: Preferred DNS server address to be assigned to DHCP devices
Alt. DNS: Alternate DNS server address to be assigned to DHCP devices
WINS/NBNS Server : WINS/NBNS Servers
WINS/NBT Node : WINS/NBT Node Type
0 - none
1 - b-node
2 - p-node
3 - m-node
4 - h-node
Description
Example
Input:
AT+MNLANDHCP=lan<enter>
Response:
LAN Name : lan
Mode : 1 - DHCP Server enabled
Start IP : 192.168.168.100
Limit : 150
Lease Time : 720m
Alt. Gateway :
Pre. DNS :
Alt. DNS :
WINS/NBNS Server :
WINS/NBT Node : 0 - none
OK