beautypg.com

Allied Telesis AR400 Series Router User Manual

Page 16

background image

16

AR400 Series Router User Guide

Software Release 2.6.1
C613-02021-00 REV D

If IP addresses on your LAN are assigned dynamically by DHCP, you can set
the router to request an IP address from the DHCP server, using the
commands:

ADD IP INTERFACE=vlan1 IPADDRESS=DHCP

ENABLE IP REMOTEASSIGN

You do not need to set the MASK parameter because the subnet mask received
from the DHCP server is used.

If you use DHCP to assign IP addresses to devices on your LAN, and you want to
manage the router within this DHCP regime, it is recommended that you set your
DHCP server to always assign the same IP address to the router. This will enable you
to access the GUI by browsing to that IP address, and will also let you use the router as
a gateway device for your LAN. If you need the router's MAC address for this, it can be
displayed using the command SHOW SWITCH or SHOW ETH=x MACADDRESS.

Similarly, for the default WAN Ethernet port (eth0) use the command:

ADD IP INTERFACE=eth0 IPADDRESS=ipadd MASK=mask

where ipadd is the globally-unique IP address that your ISP has assigned to
you.

For the default DMZ interface on the AR450S, use the command:

ADD IP INTERFACE=eth1 IPADDRESS=ipadd MASK=mask

where ipadd is an unused private or public IP address.

The default DMZ interface on the AR410 or AR410S is vlan2, which contains
port 3. Therefore connect your DMZ server/s to the router’s switch (network)
port 3 and give vlan2 an IP address, using the command:

ADD IP INTERFACE=vlan2 IPADDRESS=ipadd MASK=mask

where ipadd is an unused private or public IP address.

To protect servers on your DMZ (or LAN), you need to configure the firewall (see the
Firewall chapter in the AR400 Series Router Software Reference, especially the
Configuration Examples). A special feature licence is required but is enabled by default
on the AR410S and AR450S.

To change the IP address for an interface, enter the command:

SET IP INTERFACE=interface IPADDRESS=ipadd MASK=ipadd

When you are configuring the router remotely, if you change the configuration (for
example, the VLAN membership) of the port over which you are configuring, the router
is likely to break the connection.

For more information about switch ports and Virtual LANs (VLANs), see
Chapter 5, Physical and Layer 2 Interfaces in this document, and Switching on the
AR410
and Switching on the AR450 in the AR400 Series Router Software Reference.
For more information about IP addressing and routing, see Chapter 6, Routing
in this document, and the Internet Protocol (IP) chapter in the AR400 Series
Router Software Reference.