BelAir20E User Guide
IP Settings
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
The auto-IP feature automatically configures the node to have a specific default
IP address based on the node’s MAC address if it cannot get an IP address from
the DHCP server or when it is in factory default mode.
When auto-IP is enabled, the default IP address is
169.254.1.x
with a mask of
255.255.0.0
; where
x
is the last byte of the node’s MAC address. When you can
connect a laptop directly to the unit, the laptop also auto-configures itself with
an IP address 169.254.x.x and a mask of 255.255.0.0 if it is in DHCP mode. You
can then use the laptop to start a CLI session into the unit with its 169.254.1.x
address.
The default setting is
enabled
.
Setting a Static IP
Address and Subnet
Mask
/protocol/ip/set interface {system | vlan <1-2814>}
static <ip addr> <mask>
[delay-activation]
/protocol/ip/del ip vlan <1-2814>
The
set interface
command specifies that the node uses static IP addressing for
the node’s management interface as well as any VLANs it may have. If you
specify a new VLAN, then that VLAN is created. The
del ip vlan
command
deletes VLAN IP parameters previously created with the
set interface
command.
The
delay-activation
parameter specifies that the new IP parameters do not
take effect until after you execute do a
config-save
command. BelAir Networks
recommends that you always specify
delay-activation
if you change the system
IP parameters. Otherwise you will need to start a new CLI session using the
new IP address to execute the
config-save
command to save your changes.
Example
/protocol/ip# set interface system static 92.121.68.34 255.255.255.255
delay-activation
The previous command changes the system interface to have a static IP address
of 92.121.68.34 and an IP mask of 255.255.255.255. The changes do not take
effect until you use the
config-save
command to save your changes.
Static IP Routes
/protocol/ip/add route <dest ip addr> <dest mask> gw <gateway>
/protocol/ip/del route <dest ip addr> <dest mask> gw <gateway>
The
ip route add
command adds extra static IP routes. If your units needs to
communicate with an IP interface from another sub-network, you must add the
appropriate routes to the remote IP interface. Contact your administrator to
obtain the IP address and mask of the remote IP interface.