beautypg.com

Allied Telesis AR400 Series Router User Manual

Page 28

background image

28

AR400 Series Router User Guide

Software Release 2.5.2
C613-02034-00 REV A

3.

Assign the vlan1 interface an IP address in the same subnet as the PC, using

the command:

ADD IP INTERFACE=vlan1 IP=ipaddress MASK=mask

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.
To set the interface to obtain its IP address by DHCP, use the commands ADD IP
INTERFACE=VLAN1 IPADDRESS=DHCP and ENABLE IP REMOTEASSIGN.

To access the GUI from a PC in your LAN, in a different subnet to the router
(Figure 4 on page 28
):

1.

Plug the router in and access its command line interface.

Use a patch cable to connect any one of the router’s switch ports to a device
(for example, a hub, router or switch) on the LAN segment in which you
require the router to work.

Access the CLI from a PC connected to a COM port on the router, as
described in “Connecting a Terminal or PC” on page 14.

Figure 4: Configuring the router from a PC in another subnet.

2.

Enable IP, using the command:

ENABLE IP

3.

Assign the vlan1 interface an IP address in the subnet of the LAN segment the

router will operate in, using the command:

ADD IP INTERFACE=vlan1 IP=ipaddress MASK=mask

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.
To set the interface to obtain its IP address by DHCP, use the commands ADD IP
INTERFACE=VLAN1 IPADDRESS=DHCP and ENABLE IP REMOTEASSIGN.

subnet

subnet

gateway