BelAir20E User Guide
Network Address Translation
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
Example
/protocol/nat# show leases history
IP address MAC address Lease & State
=============== ================= ==================================
192.168.5.254 00:0d:67:10:e8:1a starts 2 2009/08/04 12:04:24 - State active
192.168.5.254 00:0d:67:10:e8:1a starts 2 2009/08/04 12:34:24 - State active
Configuring
Network Address
Translation
/protocol/nat/set scope <index (1-8)>
dhcp-server {untagged | vlan <vlan_id>}
based-ip <IP_addr>
lease-time <minutes>
[num-entries <number>]
This command lets you configure the NAT settings for each address scope.
The
dhcp-server
setting lets you specify which VLAN traffic to associate to the
scope. The
untagged
setting specifies that the scope applies only to untagged
traffic. The
vlan <VLAN ID>
settings specifies that the scope applies only to
traffic with that VLAN ID. VLAN IDs cannot be shared across different scopes.
The default setting is
untagged
. Refer to
“Layer 2 Network Configuration” on
for more information on VLAN configuration.
The
based-ip
setting lets you specify the base IP address for the scope. Use
xx.xx.xx.0 as the format. Once specified, the BelAir20E IP address becomes
xx.xx.xx.1 and it begins to allocate addressed from xx.xx.xx.2 to xx.xx.xx.254.
The
lease-time
setting lets you specify the maximum DHCP lease time in
minutes for IP addresses supplied by NAT. The default is 60 minutes. Other
DHCP server settings are based on those specified in
.
The optional
num-entries
setting lets you specify the maximum number of IP
addresses that can be allocated to clients in this scope. Values range from 1
to 253. The default value is 253.
By default, scope 1 is preconfigured for untagged VLAN traffic with a base IP
address of 192.168.5.0.
Preventing Node
Management from
within the Scope
/protocol/nat/set scope <index (1-8)>
management {enabled | disabled}
This command lets you control whether clients within a particular scope can
access the BelAir20E’s management interface. The default setting is
disabled
,
meaning that the nodes within that scope cannot access the management
interface of the BelAir20E providing NAT.