AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

125

RouterOS v3 Configuration and User Guide

 

 

 

Example

To add a DHCP relay named relay on ether1 interface resending all received requests to the 10.0.0.1 DHCP server:

[admin@AT-WR4562] ip dhcp-relay> add name=relay interface=ether1 \

\... dhcp-server=10.0.0.1 disabled=no

 

 

 

[admin@AT-WR4562] ip dhcp-relay> print

 

 

 

Flags: X - disabled, I - invalid

 

 

 

#

NAME

INTERFACE DHCP-SERVER

LOCAL-ADDRESS

0

relay

ether1

10.0.0.1

0.0.0.0

[admin@AT-WR4562] ip dhcp-relay>

6.1.10Questions & Answers

Command name: /ip dhcp-server setup

Questions

addresses to give out (text) - the pool of IP addresses DHCP server should lease to the clients

dhcp address space (IP address/netmask; default: 192.168.0.0/24) - network the DHCP server will lease to the clients

dhcp relay (IP address; default: 0.0.0.0) - the IP address of the DHCP relay between the DHCP server and the DHCP clients

dhcp server interface (name) - interface to run DHCP server on

dns servers (IP address) - IP address of the appropriate DNS server to be propagated to the DHCP clients

gateway (IP address; default: 0.0.0.0) - the default gateway of the leased network

lease time (time; default: 3d) - the time the lease will be valid

￿

Depending on current settings and answers to the previous questions, default values of following questions may be different. Some questions may disappear if they become redundant (for example, there is no use of asking for 'relay' when the server will lend the directly connected network)

Example

To configure DHCP server on ether1 interface to lend addresses from 10.0.0.2 to 10.0.0.254 which belong to the 10.0.0.0/24 network with 10.0.0.1 gateway and 159.148.60.2 DNS server for the time of

3 days:

[admin@AT-WR4562] ip dhcp-server> setup Select interface to run DHCP server on

dhcp server interface: ether1 Select network for DHCP addresses

dhcp address space: 10.0.0.0/24 Select gateway for given network

gateway for dhcp network: 10.0.0.1

Select pool of ip addresses given out by DHCP server

addresses to give out: 10.0.0.2-10.0.0.254 Select DNS servers

dns servers: 159.148.60.20 Select lease time

lease time: 3d [admin@AT-WR4562] ip dhcp-server>

Page 125
Image 125
Allied Telesis AT-WR4500 manual Questions & Answers, Command name /ip dhcp-server setup, Name Interface DHCP-SERVER