•Virata is a registered trademark of Virata Corporation.
•All other company or product names are trademarks or registered trademarks or
service marks of their respective owners and are hereby recognized as such.
Product warranty does not apply to damage caused by lightning, power surges or wrong
voltage usage.
Safety Guidelines
Adhere to the following safety guidelines when using your unit to reduce the risk of
fire, electric shock and injury.
Understand all instructions in the manual. Follow all instruction labels found
!
on the unit.
Except for the power adapter supplied, the unit should not be connected to
!
other adapters/power supplies.
Never spill liquid of any kind on the unit.
!
Do not place the unit on an unstable stand or table. The unit may drop and
!
become damaged.
Do not expose the unit to direct sunlight.
!
Do not put any heat generating devices close to the unit as it may degrade or
!
cause damage to it.
Do not stack the unit on top of each other. / Do not put any heavy object on
!
top of the unit
Do not use liquid cleaners or aerosol cleaners. Use a soft, dry cloth for
!
cleaning.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
iii
Contents
Safety Guidelines ......................................................................... iii
About This Manual ....................................................................... ix
Conventions Used ........................................................................ x
1.Setting Up Local Management ................................................... 2-1
1.1Setting up the Serial Link ................................................... 2-1
1.2Configuring the Serial Link .................................................. 2-1
2.Basic Commands on Running Local Management ..................... 3-1
iii)To list existing route table (not applicable for Transparent Bridge)
ip route
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
2-2
2 — Basic Commands on Running Local Management
2.4To Disconnect/Connect the ADSL Link
i)To disconnect the ADSL link:
bsp down
(Upon issuing this command, ADSL Link will be disconnected unless the
following command is issued.)
ii)To re-connect (establish) the ADSL link:
bsp up
2.5To Toggle between Various Modes
i)To set router to multimode (auto-detect G.dmt, G.Lite & ANSI TI.413):
bsp multi
ii)To force router into detecting G.Lite only:
bsp glite
iii)To force router into detecting G.dmt only:
bsp gdmt
○○○○○
iv)To force router into detecting ANSI T1.413 only:
bsp ansi
For commands in section 2.5 , changes will take effect only after
you have re-established the line by issuing a
commands (see section 2.4).
For changes to be permanent, please follow by a
command.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
bsp down
and
config save
bsp up
2-3
3.Configuring Your Router
3.1Configuration Flow Chart
RFC 2684
Ethernet
Framing
[section 3.3.3, (i)]
(Chapter 1)
(section 3.3.1)
(section 3.3.2)
(section 3.3.3)
RFC 2684
IP Framing
Setup Your Serial Link
Reset Router Configurations
Configure Your LAN settings
Configure Your WAN settings
RFC 2225
[section 3.3.3, (ii)][section 3.3.3, (iii)]
Configure Routing Table
Enable IP Forwarding
Transparent
Bridge ?
No
IPoA
(section 3.3.4)
(section 3.3.5)
Yes
RFC 2364
PPPoA
RFC 2516
PPPoE
[section 3.3.3, (iv)] [section 3.3.3, (v)]
Transparent
Bridge
(Chapter 4)
NAT required ?Enable NAT
No
Config Save
Yes
(section 3.3.6)
(section 3.3.7)
Configurations Completes!
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-1
○○○○○
3 — Configuring Your Router
1.All IP addresses and PVC values stated in this manual serve
only as examples for your better understanding. You are
required to replace these values with those given by your ADSL
Service Provider /System Administrator.
2.Console commands are case-sensitive. Punctuations (examples,
'_' underscore, '-' hyphen, ' ' spacing, etc) must be adhered to
strictly.
3.For detailed description and syntax of console commands, you may
refer toAppendix A - Commonly Used Commands on this
Technical Manual.
3.2Network Setup Overview
This section gives an overview of a typical network. The addresses indicated are
used as examples throughout the whole manual. You are to replace them with
values given by your ADSL Service Provider / System Administrator.
WAN Gateway = 202.166.29.2
202.166.29.154
ADSL
PVC=0/35
WAN
LAN
WAN IP
Your Router
LAN IP
192.168.1.1
202.166.30.1 (without NAT)
(with NAT)
Hub/Switch
PC A
PC B
PC X
PCs with
Ethernet cards
(The Hub / Switch is optional if your router has more than 1 Ethernet Ports)
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-2
1.For configuration without NAT:
The range of the IP address used in this example is from
202.166.30.1 to 202.166.30.6 as restricted by subnet mask defined.
Network ID : 202.166.30.0Broadcast ID : 202.166.30.7
The ADSL Service Provider will have to create a static route:
Network ID : 202.166.30.0Subnet Mask : ff:ff:ff:f8
Next Hop Gateway : 202.166.29.154
For PPPoA and PPPoE:
2.
The WAN IP and WAN Gateway will be dynamically assigned by the
PPP server. There is no need to specify the WAN IP nor to
configure a default route to the WAN Gateway.
Configuring the PCs:
For PC A:
(with NAT)(without NAT)
IP= 192.168.1.11= 202.166.30.2
Subnet mask = 255.255.255.0 = 255.255.255.248
Gateway= 192.168.1.1= 202.166.30.1
3 — Configuring Your Router
○○○○○
For PC B:
(with NAT)(without NAT)
IP= 192.168.1.12= 202.166.30.3
Subnet mask = 255.255.255.0 = 255.255.255.248
Gateway= 192.168.1.1= 202.166.30.1
For PC X:
(with NAT)(without NAT)
IP= 192.168.1.23= 202.166.30.6
Subnet mask = 255.255.255.0 = 255.255.255.248
Gateway= 192.168.1.1= 202.166.30.1
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-3
○○○○○
3 — Configuring Your Router
3.3Configuring the Basics
Please carry out the following necessary steps to configure your router. Details of
each step can be found on the following pages.
Step 1: Resetting your Router's Configuration
Step 2: Configuring the LAN
Step 3: Configuring the WAN
Step 4: Configuring the Routing Table
Step 5: Enabling IP Forwarding
Step 6: Enabling NAT
Step 7: Saving the Configurations
With the basics configured, you may proceed also with the configurations on the
following sections.
3.4Setting Up NAT Inbound Port Forwarding
3.5Configuring DHCP Server
3.6Configuring DNS Relay
3.7Configuring SNMP
3.8Setting Up Telnet Access
3.9Configuring Autoloop for IP Interface
At the prompt for password, enter either 'stm' or 'password'
(without the quotes). These are factory default passwords.
(If you have changed the default password at the DSL Router
Commander - SNMP option, enter your new password.)
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-4
3 — Configuring Your Router
3.3.1Configuring the Basics: Step 1 - Resetting your Router's
Configuration
Your router is set as Transparent Bridge by factory default.
Before starting a new configuration, always remember to clear all previous
configurations in your router.
○○○○○
To identify your current line protocol configured, type
Check the
typedev file
ether//bridge OR //edd
ptp//bun/port=atm/rfc1483...
atm//bun
ether//ppp/DEVICE=1 mtu 1500
ether//ppp/DEVICE=1 mtu 1492
type
and
dev file
listing to identify the protocol.
Line Protocol
2684 (1483) Ethernet Framing*
Transparent Bridge*
2684 (1483) IP Framing
2225 (1577) IPoA
2364 PPPoA
2516 PPPoE
* To further identify whether it is RFC 2684 (RFC 1483) Ethernet
Framing or Transparent Bridge, type
you will see 'Routing table empty' listed.
ip route
. For Transparent Bridge,
The following gives the commands to clear:
For PPPoA or PPPoE configurations, enter:
ppp 1 clear
For the rest of the configurations, follow the instructions below:
a) To delete all the interfaces:
(You may type
ip device flush
bridge device flush
ip device/bridge device
to list existing interfaces.)
ip device
.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-5
○○○○○
3 — Configuring Your Router
b) To delete all the subnet mask:
(You may type
ip subnet flush
ip subnet
to list existing subnet mask.)
c) To delete the route table, if any:
(You may type
ip route flush
ip route
to list existing routes.)
d) To remove NAT on a WAN interface, if any:
(See illustration shown below)
To list any existing NAT enabled WAN interface,
ip nat
If you have an existing NAT enabled WAN interface, you will see
nat add
<wan_interface>
To remove the NAT enabled WAN interface,
ip nat delete
<wan_interface>
<wan_interface>
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-6
3 — Configuring Your Router
3.3.2Configuring the Basics: Step 2 - Configuring the LAN
Configure the LAN with IP address given by your System Administrator. Assuming
that the IP address given is 192.168.1.1:
ip device add lan ether //edd
ip subnet add lan.home .
192.168.1.1
192.168.1.1 ff:ff:ff:0
3.3.3Configuring the Basics: Step 3 - Configuring the WAN
Configure the WAN with IP address given by your ADSL Service Provider. You may
configure your router to one of the following line protocols supported:
i)RFC 2684 (RFC 1483) Ethernet Framing
ii)RFC 2684 (RFC 1483) IP Framing
iii)RFC 2225 (RFC 1577) IPoA
iv)RFC 2364 PPPoA
v)RFC 2516 PPPoE
i)Configuring the WAN - For RFC 2684 (RFC 1483) Ethernet Framing
a) To add a bridge device, assuming the PVC given by your ADSL Service
For multiple PVCs, repeat the above commands with the different VPI and
VCI values.
b) To set the IP configuration of your WAN connection, assuming WAN IP
given by your ADSL Service Provider is fixed at 202.166.29.154:
ip device add wan ether //bridge
ip subnet add wan.home .
202.166.29.154
202.166.29.154 ff:ff:ff:0
OR
To obtain WAN settings automatically from your ADSL Ser vice Provider:
ip device add wan ether //bridge
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
dhcp
3-7
○○○○○
3 — Configuring Your Router
ii)Configuring the WAN - For RFC 2684 (RFC 1483) IP Framing
a) To set the IP configuration of your WAN connection, assuming the PVC
and WAN IP given by your ADSL Service Provider are 0/35 and
202.166.29.154 respectively:
For LLC-SNAP encapsulation:
ip device add wan ptp //bun/port=atm/rfc1483=true/mode=llcrouted/txvpi=
ip subnet add wan.home .
rxvpi=
0
/rxvci=35
202.166.29.154
(all in one line)
202.166.29.154 ff:ff:ff:0
For VCMUX encapsulation:
ip device add wan ptp //bun/port=atm/rfc1483=true/mode=vcmuxrouted/
ip subnet add wan.home .
0
/txvci=35/rxvpi=0/rxvci=35
txvpi=
202.166.29.154
202.166.29.154 ff:ff:ff:0
For multiple PVCs,
-Repeat (a) with different PVCs values.
wan
-Append
with an underscore ('_') followed by a unique digit for
each of the different PVC configured.
-Issue a unique WAN IP for each of the different PVC configured
Examples:
For first PVC value (0/35)
ip device add wan_1 ptp //bun/port=atm/rfc1483=true/mode=llcrouted/
txvpi=0/txvci=35/rxvpi=0/rxvci=35
ip subnet add wan_1.home .
202.166.29.154 ff:ff:ff:0
For second PVC value (0/100),
ip device add wan_2 ptp //bun/port=atm/rfc1483=true/mode=llcrouted/txvpi=
rxvpi=0/rxvci=
ip subnet add wan_2.home .
100 202.166.29.155
202.166.29.155 ff:ff:ff:0
unique WAN IP
append with a unique digit
202.166.29.154
append with a unique digit
(all in one line)
0
/txvci=35/
(all in one line)
(all in one line)
0
/txvci=
100
/
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-8
3 — Configuring Your Router
iii)Configuring the WAN - For RFC 2225 (RFC 1577) IPoA
a) To set the IP configuration of your WAN connection, assuming the WAN
IP given by your ADSL Service Provider is 202.166.29.154:
ip device add wan atm //atm
ip subnet add wan.home .
b) To set the atm configuration, assuming the PVC and WAN Gateway given
by your ADSL Service Provider are 0/35 and 202.166.29.2 respectively:
ip ipatm pvc add wan atm
OR
To obtain WAN settings automatically from your ADSL Ser vice Provider:
ip device add wan atm //atm
ip ipatm pvc add wan atm
For multiple PVCs,
-Repeat (b) with different PVCs values.
-Append
wan
with an underscore ('_') followed by a unique digit for
each of the different PVC configured.
-Issue a unique WAN IP for each of the different PVC configured
Examples:
For first PVC value (0/35)
ip ipatm pvc add wan_1 atm
For second PVC value (0/100),
ip ipatm pvc add wan_2 atm
202.166.29.154
202.166.29.154 ff:ff:ff:0
0/35
remoteip
202.166.29.2
dhcp
0/35
remoteip
0/35
remoteip
0/100
202.166.29.2
202.166.29.2
append with a unique digit
remoteip
202.166.29.3
○○○○○
unique WAN IP
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-9
○○○○○
3 — Configuring Your Router
iv)Configuring the WAN - For RFC 2364 PPPoA
a) To set the IP configuration of your WAN connection. The PPP module
supports multiple simultaneously connections, so we explicitly specify
Device 1 here. (This is required for PPP dial-out session):
ip device add ppp_device ether //ppp/DEVICE=
b) To set the PPP channel configuration, assuming the PVC given by your
ADSL Service Provider is 0/35. CHAP authentication is used in this
example. Replace CHAP with PAP if you are using PAP authentication.
ADSL Service Provider will supply the myuserid and mypassword.
ppp 1 pvc
ppp
ppp 1 gateway local
ppp
0 35
1
welogin
1
enable
ip
myuserid mypassword chap
c) To check the PPP connection every 10 seconds. (This is to allow the PPP
session to automatically re-establish itself after an ADSL link disruption
and re-connection.):
ppp 1 echo every 10
d) If you do not want to enable NAT, you may enable the PPP IP Unnumbered
feature (availability will depend on your router package). PPP IP
Unnumbered allows you to enable IP processing on a serial interface
without assigning it an explicit IP address. The ip unnumbered interface
can 'borrow' the IP address of another interface that is already configured
on the router, thereby conserving network and address space.
(Assuming your LAN Subnet mask is ff:ff:ff:f8.)
ppp 1 disable
1
unnumbered enable
ppp
1
lansubnet
ppp
ppp 1 enable
config save
ff:ff:ff:f8
1
When the PPP link is established, you will notice that your LAN IP
address actually changes to the address of the WAN IP obtained from
the PPP Server. Your WAN IP address now becomes 0.0.0.1, a dummy
IP address.
To maintain IP connectivity to the router's LAN Port before and after
establishing the PPP unnumbered link, you are advised to pre-configure
the LAN IP to that of the given WAN IP. (You may refer to section 3.3.2,
Step 2 - Configuring the LAN.)
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-10
Loading...
+ 58 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.