
Network - Router mode
Enable NAT and DHCP Server
DHCP Server range, Netmask and lease time
Newly added IP Aliases can be saved by activating Save button or discarded by activating Cancel button in the Aliases configuration
window.
Click Change button to save the changes made in the Network page.
Router Mode
The role of the LAN and WLAN interfaces will change accordingly to the Wireless
Mode while the AirOS powered device is operating, in Router mode:
Wireless interface and all the wireless clients connected are considered as
the internal LAN, and the Ethernet interface is dedicated for the connection
to the external network while the AirOS powered device is operating in AP/AP
WDS wireless mode;
Wireless interface and all the wireless clients connected are considered as
the external network, and all the network devices on LAN side as well as the
Ethernet interface itself are considered as the internal network while the
AirOS powered device is operating in Station/Station WDS mode.
Wireless/wired clients are routed from the internal network to the external one
by default. Network Address Translation (NAT) functionality works the same way.
WLAN Network Settings
IP Address: This is the IP addresses to be represented by the WLAN interface,
which is connected to the internal network according to the wireless operation
mode described above. This IP will be used for the routing of the internal
network (it will be the Gateway IP for all the devices connected on the internal
network). This IP address can be used for the management purpose of the AirOS
v5.3 powered device.
Netmask: This is used to define the device IP classification for the chosen IP
address range. 255.255.255.0 is a typical netmask value for Class C networks,
which support IP address range 192.0.0.x to 223.255.255.x. Class C network
Netmask uses 24 bits to identify the network (alternative notation "/24") and 8
bits to identity the host.
Enable NAT: Network Address Translation (NAT) enables packets to be sent
from the wired network (LAN) to the wireless interface IP address and then
sub-routed to other client devices residing on its local network while the AirOS
powered device is operating in AP/AP WDS wireless mode and in the contrariwise
direction in "Station/Station WDS" mode.
Enable NAT Protocol: While NAT is enabled, data packets could be modified in
order to allow pass-through to the Router. To avoid packets modification of some
specific packets, like: SIP, PPTP, FTP, RTSP; uncheck the respective checkbox (-es).
NAT is implemented using the masquerade type firewall rules. NAT firewall entries are stored in the iptables NAT table, while the device
is operating in Router mode. Please refer to the iptables tutorial (http://iptables-tutorial.frozentux.net/iptables-
tutorial.html#MASQUERADETARGET) for detailed description of the NAT functionality in Router mode.
Static routes should be specified in order the packets should pass-through the AirOS v5.3 based device if the NAT is disabled in while
operating in Router network mode.
Enable DHCP Server: Dynamic Host Configuration Protocol (DHCP) Server assigns IP addresses to clients who will be associate to the
wireless interface while the AirOS powered device is operating in AP/AP WDS wireless mode and assigns IP addresses to clients who will
connect to the LAN interface while the AirOS powered device is operating in Station/Station WDS mode.
Range Start/End: This range determines the IP addresses given out by the
DHCP server to client devices on the internal network that use dynamic IP
configuration.
Netmask: This is used to define the device IP classification for the chosen IP
address range. 255.255.255.0 is a typical netmask value for Class C
networks, which support IP address range 192.0.0.x to 223.255.255.x. Class
C network Netmask uses 24 bits to identify the network (alternative notation
"/24") and 8 bits to identity the host.
Lease Time: The IP addresses given out by the DHCP server will only be
valid for the duration specified by the lease time. Increasing the time ensure
client operation without interrupt, but could introduce potential conflicts. Lowering the lease time will avoid potential address
conflicts, but might cause more slight interruptions to the client while it will acquire new IP addresses from the DHCP server. The
time is expressed in seconds. Maximum lease time value is 172800 seconds.
MTU: defines the size (in bytes) of the largest protocol data unit the layer can pass on. When using slow links, large packets can cause
some delays thereby increasing lag and latency.
AirOS 5.3 - Ubiquiti Wiki
http://www.ubnt.com/wiki/AirOS_5.3
17 van 34 14-4-2011 21:46