beautypg.com

Figure 4 – Allied Telesis AR700 SERIES Software Release 2.7.1 User Manual

Page 27

background image

27

Software Release 2.7.1
C613-02047-00 REV A

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

You can browse to the router through any ETH port, as long as you give that
interface an IP address (see below). These instructions assume you will use eth0
as the LAN interface.

3.

Access the router’s command line interface

Access the CLI from the PC, as described in

“Connecting a Terminal or PC”

on page 14

.

4.

Enable IP

enable ip

5.

Assign the eth0 interface an IP address

add ip interface=eth0 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, you can display it using the command SHOW ETH=0
MACADDRESS. To set the interface to obtain its IP address by DHCP, use the
commands:
ADD IP INTERFACE=ETH0 IPADDRESS=DHCP and
ENABLE IP REMOTEASSIGN.

6.

If the PC you want to browse from is in a different subnet from the router,

give the router a route to the PC

add ip route=pc-subnet interface=eth0

nexthop=gateway-ipaddress

where:

PC-subnet is the IP subnet address of the PC. For example, if the PC has
an IP address of 192.168.6.1 and a mask of 255.255.255.0, its subnet
address is 192.168.6.0.

gateway-ipaddress is the IP address of the gateway device that connects
the PC’s subnet with the router’s subnet (

Figure 4 on page 27

).

subnet

subnet

gateway

AR700 Series router

DISCONNECT MAINS SUPPLY BEFORE

REMOVING

POWE

STATU

BAS

BAY 1

BAY 0

ENGIN

ETHERNE

PORT

INTERFACE

PW RUN

SY

F

LNK

R

SE

ACT DAT

ER

CLR

100 COL

1

0

T

ACT

PRI

E1/T1

N

SYN

Tx

Rx

ETH port