Aztech DSL330 User Manual

SDSL Bridge & Router
Protocols Discussed:
RFC 2684 (RFC 1483) Ethernet Framing
RFC 2684 (RFC 1483) IP Framing
RFC 2225 (RFC 1577) IPoA
RFC 2516 PPPoE
Transparent Bridge
User's & Technical Manual
Version 1.2
© Copyright, Jul 2001. All Rights Reserved.
(P/N: 040-513436-121) (Ref: 330)
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
1. Documentation ........................................................................ 1-1
1.1 Conventions Used ............................................................. 1-2
2. Basics of the SDSL Bridge/Router ........................................... 2-1
2.1 Introduction...................................................................... 2-1
2.2 System Requirements ........................................................ 2-1
2.3 Network Connections ........................................................ 2-2
2.3.1 Bridge Modem...................................................... 2-2
2.3.2 Router ................................................................. 2-2
2.4 LED Indicators .................................................................. 2-3
2.5 Connection ....................................................................... 2-4
3. Setting Up Local Management ................................................ 3-1
3.1 Setting up the Serial Link ................................................... 3-1
3.2 Configuring the Serial Link ................................................. 3-2
4. Basic Commands on Running Local Management ................. 4-1
4.1 Guidelines ........................................................................ 4-1
4.2 Settings and Commands for the Modem .............................. 4-1
4.3 To Disconnect/Connect the SDSL Link ................................. 4-2
5. Configuring Your Router ......................................................... 5-1
5.1 Network Setup Overview .................................................... 5-1
5.2 Configuring the Basics ....................................................... 5-3
5.2.1 Configuring the Basics:
Step 1 - Resetting your Router's Configuration ........ 5-4
5.2.2 Configuring the Basics:
Step 2 - Configuring the LAN ................................ 5-6
5.2.3 Configuring the Basics:
Step 3 - Configuring the WAN ............................... 5-6
i) Configuring the WAN - For RFC 2684
(RFC 1483) Ethernet Framing .................. 5-6
ii) Configuring the WAN - For RFC 2684
(RFC 1483) IP Framing ........................... 5-7
iii) Configuring the WAN - For RFC 2225
(RFC 1577) IPoA .................................... 5-8
iv) Configuring the WAN - For RFC 2364
PPPoA .................................................... 5-8
v) Configuring the WAN - For RFC 2516
PPPoE .................................................... 5-10
5.2.4 Configuring the Basics:
Step 4 - Configuring the Routing Table ................... 5-11
5.2.5 Configuring the Basics:
Step 5 - Enabling IP Forwarding ............................ 5-11
5.2.6 Configuring the Basics: Step 6 - Enabling NAT ...... 5-12
5.2.7 Configuring the Basics:
Step 7 - Saving the Configurations ........................ 5-12
5.3 Setting Up NAT Inbound Port Forwarding
(Port Address Translation) .................................................. 5-13
5.4 Configuring DHCP Server ................................................... 5-15
5.4.1 Some useful commands for DHCP ......................... 5-15
5.4.2 DHCP Server Illustration ....................................... 5-16
5.5 Configuring DNS Relay ...................................................... 5-17
5.5.1 To Enable DNS Relay
(with fixed IP address from your ISP) ..................... 5-17
5.5.2 To Check DNS Relay Server Status ........................ 5-17
5.5.3 To Disable DNS Relay ........................................... 5-17
5.6 Setting Up SNMP .............................................................. 5-18
5.6.1 Read/Write Access ............................................... 5-18
5.6.2 SNMP Trap .......................................................... 5-18
5.7 Setting up Telnet Access .................................................... 5-19
5.8 Configuring Autoloop for IP Interface ................................... 5-19
6. Configuring Your Transparent Bridge ..................................... 6-1
6.1 Network Setup Overview .................................................... 6-1
6.2 Configuring the Basics ....................................................... 6-1
6.2.1 Step 1: Resetting your Router's Configuration ......... 6-2
6.2.2 Step 2: Configuring the LAN ................................. 6-3
6.2.3 Step 3: Saving the Configurations.......................... 6-3
7. Router Configuration Examples .............................................. 7-1
7.1 Example on RFC 2684 (RFC 1483) IP Framing ................... 7-1
7.2 Example on RFC 2364 PPPoA ........................................... 7-2
8. Configuring PPTP (Point-to-Point Tunnelling Protocol) ...... 8-1
8.1 Running the Console Commands ........................................ 8-1
8.1.1 Step 1 - Configuring the LAN ................................ 8-1
8.1.2 Step 2 - Configuring PPP Client and PNS
(PPTP Network Server) ......................................... 8-1
8.1.3 Step 3 - Binding to Ethernet Interface ................... 8-2
8.2 Setting Up Dial-Up Networking .......................................... 8-2
8.3 Establishing Your Internet Connection ................................. 8-5
9. Configuring Your Ethernet Card ............................................. 9-1
10. Running DSLTEST.................................................................. 10-1
Appendix A - Commonly Used Commands ...................................... A-1
A.1 TCP/IP Commands ............................................................ A-1
A.1.1 autoloop ............................................................... A-1
A.1.2 config .................................................................. A-2
A.1.3 device ................................................................. A-3
A.1.4 ip device ............................................................. A-4
A.1.5 ipatm pvc ............................................................ A-5
A.1.6 relay ................................................................... A-6
A.1.7 rip accept ............................................................ A-6
A.1.8 rip send ............................................................... A-7
A.1.9 route ................................................................... A-8
A.1.10 snmp ................................................................... A-9
A.2 Bridge Commands ............................................................. A-10
A.2.1 device add ........................................................... A-10
A.2.2 device delete ....................................................... A-10
A.2.3 device flush ......................................................... A-11
A.2.4 device list ............................................................ A-11
A.3 PPP Commands ................................................................ A-12
A.3.1 Console object types ............................................. A-12
A.3.2 Console examples ................................................. A-12
A.3.3 <channel> echo every ......................................... A-13
A.3.4 <channel> pppoe ................................................ A-13
A.3.5 <channel> pvc .................................................... A-15
A.3.6 <channel> welogin .............................................. A-16
A.3.7 user .................................................................... A-16
A.4 NAT Commands ................................................................ A-17
A.4.1 event ................................................................... A-17
A.4.2 inbound / Port Address Translation / Port Mapping ... A-17
A.4.3 info ..................................................................... A-18
A.4.4 interfaces ............................................................ A-19
A.4.5 ip nat .................................................................. A-19
A.4.6 sessions .............................................................. A-20
A.5 DHCP Server Commands ................................................... A-21
A.5.1 config .................................................................. A-21
A.5.2 dnsrelay config ..................................................... A-23
A.5.3 dnsrelay retry ...................................................... A-24
A.5.4 dnsrelay server .................................................... A-24
A.5.5 dnsrelay status .................................................... A-25
A.5.6 dnsrelay trace/untrace .......................................... A-25
A.5.7 help .................................................................... A-26
A.5.8 status .................................................................. A-26
A.5.9 version ................................................................ A-27
A.6 BUN Commands ............................................................... A-28
A.6.1 bun list channels .................................................. A-28
A.7 PPTP Commands .............................................................. A-29
A.7.1 Console object types ............................................. A-29
A.7.2 Console Examples ................................................. A-29
A.7.3 bind .................................................................... A-30
A.7.4 <tunnel> create .................................................. A-31
A.7.5 <tunnel> delete .................................................. A-32
A.7.6 <tunnel> info ...................................................... A-32
A.7.7 list ...................................................................... A-32
A.8 SDSL Commands .............................................................. A-33
A.8.1 SDSL set ............................................................. A-33
A.8.2 SDSL config ......................................................... A-33
A.8.3 SDSL delete configuration line............................... A-34
A.8.4 SDSL watchdog .................................................... A-34
A.8.5 SDSL port configuration ........................................ A-35
Appendix B - Well-Known TCP/UDP Ports ...................................... B-1
Appendix C - Quick Start for Router Configurations (Flow Chart) C-1
Appendix D - Frequently Asked Questions ....................................... D-1
Appendix E - Troubleshooting Guide ................................................ E-1

About This Manual

This manual is written for users who are familiar with console commands. It
contains instructions on how to configure your bridge/router for different network
configurations.
Chapter 1 - Documentation contains the list of manuals that comes with your
bridge/router package and the conventions that are used in the manuals.
Chapter 2 - Basics of the SDSL Bridge/Router gives you an introduction to the
bridge/router, including basic setups and connections.
Chapter 3 - Setting Up Local Management guides you on how to setup and
establish a communication link between your bridge/router and PC. With this local
mangement established, you can then start issuing console commands.
Chapter 4 - Basic Commands on Running Local Management gives some examples
of basic commands to run the local management.
Chapter 5 - Configuring Your Router guides you on how to configure your bridge/
router for different network configurations. The line protocols discussed are RFC
2684 (RFC 1483) Ethernet Framing, RFC 2684 (RFC 1483) IP Framing, RFC
2225 (RFC 1577) IP over ATM, RFC 2364 PPPoA and RFC 2516 PPPoE. The
configuring of NAT Inbound Port Forwarding, DHCP Server, DNS Relay and so on,
can also be found in this chapter.
Chapter 6 - Configuring Your Transparent Bridge guides you on how to configure
your bridge/router for transparent bridge.
Chapter 7 - Router Configuration Examples give you bridge/router configuration
examples based on RFC 2684 (RFC 1483) IP Framing and RFC 2364 PPPoA.
Chapter 8 - Configuring PPTP (Point-to-Point Tunnelling Protocol) guides you on
the console commands and setting up of the dial-up networking for PPTP.
Chapter 9 - Configuring Your Ethernet Card guides you to configure the IP address
of your Ethernet card so that it can work with this router.
Chapter 10 - Running DSLTEST tells you how to run the DSLTEST, which can check
the Ethernet connection and SDSL line connection.
You will be able to find detailed descriptions of the console commands at Appendix
A - Commonly Used Commands and the commonly used TCP/UDP Ports at Appendix
B - Well-Known TCP/UDP Ports. For an overview of bridge/router configurations,
please refer to Appendix C - Quick Start for Router Configurations (Flow Chart).
You may find some of your questions answered in Appendix D - Frequently Asked
Questions and Appendix E - Troubleshooting Guide.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
ix

1. Documentation

User's & Technical Manual (READ THIS MANUAL FIRST!)
This User's & Technical Manual is a printed guide that is included with your
router package. Please refer to this manual for setting up and connecting
your router. It also contains console commands and advanced router
configurations that are mostly intended for experienced users. The sections on
Frequently Asked Questions and Troubleshooting Guide serve to provide some
guidance when encountering problems.
DSL Router Commander Software Manual
1
The software manual is a softcopy guide that contains information on DSL
Router Commander, a user-friendly user interface that provides a simple way
of configuring your network. A Glossary section is also included to describe
the terms used in the manual.
For queries or problems encountered, you may refer to the Frequently Asked
Questions and Troubleshooting Guide found on the User's & Technical Manual.
ATMOS Console Commands Reference Manual
1
The reference manual is a softcopy guide that contains the detailed
description of the console commands. For advance configurations, you may
refer to this manual for their descriptions.
1
These manuals can be found on your SDSL Bridge/Router
CD-ROM that comes with your package.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
1-1
○○○○○
1 — Documentation

1.1 Conventions Used

Text that appears in this style are console commands.
An example of console command:
ip device add ppp_device ether //ppp/DEVICE=1
Numbers in italics are to be replaced with values from your ISP /
System Administrator.
In the example:
ppp 1 pvc 0 35 ip ,
you are to replace 1, 0 and
35 with actual values given by your System Administrator / Service
Provider.
ISP is the acronym used for Internet Se rvice Provider throughout the
manual.
x
Numerics in superscript denote further explanation for the text.
Explanation can mostly be found at the bottom of the same page.
Note boxes contain information that you need to pay special attention to.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
1-2

2. Basics of the SDSL Bridge/Router

2.1 Introduction

Congratulations on your purchase of the SDSL Bridge / Router !
SDSL, which stands for Symmetric Digital Subscriber Line, featues the same high
data transmission rates both upstream and downstream. It is ideal to business
users as it enables them to take full advantage of applications (such as video
conferencing, LAN-to -LAN VPN connections and large file transfers) that require
high bandwidth in both directions.
The SDSL Bridge / Router offers faster and uninterrupted Internet access and is
capable of a data transmission rate up to 2.32 Mbps upstream and downstream.
This product is an embedded solution that is OS independent. It can be connected
to any computer with an Ethernet card. The Ethernet connection allows direct
interface to any existing IEEE 802.3 L AN network, providing instant broadband
Internet access to LAN networks with minimum hassle.
SDSL service providers can offer SDSL services to a multi-user business
environment with support for both Static and Dynamic IP Routing, Network
Address Translation and Dynamic Host Configuration Protocol Server.
This bridge/router features multiple data encapsulation formats for DSL transport
over ATM PVCs, including the widely supported ATM protocols RFC 1483 (MPoA),
RFC 1577 (IPoA) and RFC 2364 (PPPoA).
Utilising Conexant ZipWire
manufacturers, this bridge/router fur ther guarantees interoperability with network
providers worldwide.
solution with 2B1Q line encoding used by major SDSL

2.2 System Requirements

Hardware
Pentium MMX 233MHz (or above) with Ethernet card (installed with
TCP/IP Protocol)
32MB RAM
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
2-1
○○○○○
2 — Basics of the SDSL Bridge / Router
10MB of free hard disk space
A Serial Port
A CD-ROM Drive
For Multiple PCs
- Ethernet Hub with Straight Ethernet cables
For Single PC
- Crossover Ethernet Cable
Software - Operating System
Windows® 95, 98, 98 Second Edition, Me
Windows NT
®
4.0 (with Service Pack 3.0 or above), Windows® 2000

2.3 Network Connections

This product may operate as a Bridge modem or Router.

2.3.1 Bridge Modem

Connection to single PC
Ethernet
Bridge
PC with Ethernet
Card

2.3.2 Router

Connection to multiple PCs in a LAN
Router
Hub
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
2-2
multiple PCs with Ethernet Cards

2.4 LED Indicators

Power
Lights up when
Power switch
is turned ON.
Lights up when
the Ethernet link
Ethernet Link
is established.
2 — Basics of the SDSL Bridge / Router
SDSL ACT
Lights up when
the SDSL Line
is transmitting/
receiving data.
SDSL Link
Lights up when the
SDSL connection is
established.
Ethernet ACT
Ethernet Activity: Lights up
when the Ethernet is
transmitting/receiving data.
○○○○
When the Power Switch is on, the Power LED will light up. Once the bridge/router is initialized, the SDSL Link LED will start blinking, attempting to establish a connection. Upon successful connection, the SDSL Link LED will remain lit.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
2-3
○○○○○
2 — Basics of the SDSL Bridge / Router

2.5 Connection

Power off your computer and any connected devices before connecting your bridge/router !
Ethernet
MDI Port
SDSL Bridge/
Router
DC Power Jack
The Power Mains
Power Switch
Power Adaptor
Line
Jack
to Ethernet Card,
Switch
2
or Hub
PC
Serial Management
Console
Telephone Wall Socket
(SDSL line)
Switch or Hub
2
For connection to an Ethernet card, please use a cross RJ-45 Ethernet cable.
For connection to a Switch or Hub, you may use a normal (straight) RJ-45 Ethernet cable.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
2-4

3. Setting Up Local Management

Local management refers to the process of managing and configuring the settings
of your router for your network environment. It is done via a PC connected to
your router.
Before running local management, communication between your router and your
PC has to be configured and established for them to 'understand each other'. You
need to setup a physical link between your router and the PC via a serial cable
as described in Section 3.1. Section 3.2 will show you how to configure the
interface link to allow communication between your PC and your router.
Setting up of local management needs only to be carried out once for the another PC, you will need to run section 3.1 and 3.2 again.
same PC. However if you are connecting your router to

3.1 Setting up the Serial Link

i) Connect one end of a serial cable to the COM Port (9-pin) of your PC and
the other end to the Serial Port (9-pin) of your router.
ii) Connect your router to the Power Mains via the Power adaptor (that comes
with your package). You may refer to Section 2.5 for the illustrated
connection.
Bridge / Router
serial cable
DO NOT POWER ON YOUR ROUTER SWITCH YET !
rear of PC
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-1
○○○○○
3 — Setting Up Local Management

3.2 Configuring the Serial Link

i) Run the HyperTerminal program from your PC.
(You may also use other Serial Communication Programs. HyperTerminal
program is used as an illustration here).
®
For example, if you are running Windows
click Start > Programs > Accessories > Communications > HyperTerminal.
Double-click HyperTerminal.
ii) Enter any name for your
new connection and
click OK.
iii) From the Connect To
dialog box, select
the COM port that
your router is
connected to and
click OK.
98, from your Windows taskbar,
iv) From the Port Settings, make the
following selections for the fields:
Bits per second: 9600
Data bits: 8
Parity: None
Stop bits: 1
Flow control: None
Click OK. This completes
configuring the communication link
between your router and the PC.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-2
3 — Setting Up Local Management
v) Power on the Power Mains and the switch on your router. You should see
similar messages as illustrated, on your HyperTerminal. (Actual messages vary
with different system and firmware version.)
This indicates successful serial link.
(If the messages did not display, power off your router and check the connection
of your serial cable. Make sure that the connection is firm and power on the
router again.)
You may now proceed with the following sections to run local management.
○○○○
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
3-3
4. Basic Commands on Running Local
Management
This section gives you the basic guidelines on console commands, some settings
and commands, and how to connect/disconnect your SDSL link.

4.1 Guidelines

Type
Type
help
to display on-line help on the console commands.
home
to return to the initial command prompt.
Type . to repeat previous command.
Press ñ key on your keyboard to display previous command line
entered.
Console commands are case-sensitive. Punctuations (e.g. '_' underscore,
'-' hyphen, ' ' spacing, etc) must be adhered to strictly.
For detailed description and syntax of console commands, you may refer
to Appendix A - Commonly Used Commands on this manual or the
ATMOS Console Commands Reference Manual found on the CD-ROM.
The commands in this manual are to be issued at initial command prompt. You may also choose to go to the respective directories and
run the commands from there. (For example, upon sdsl> prompt, you need only to type port declarations.)
sdsl config
to view SDSL port attributes and BUN

4.2 Settings and Commands for the Modem

i) To list current status of SDSL
bun show port sdsl
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
4-1
○○○○○
4 — Basic Commands on Running Local Management
ii) To set line rate (has to be manually done on both sides CPE and DSLAM)
sdsl set sdslphytargetlinerate=<rate>kbps config save restart
where <rate> has to be one of the following values: 144, 160, 192, 208, 272,
384, 400, 416, 528, 768, 784, 1040, 1152, 1168, 1536, 1552, 1568, 2040
or 2320; and both CO (set by SDSL service provider) and CPE must be set to
the same rate for connection to establish successfully.
iii) To set modem as CO (HTU-C) in back-to-back configurations
sdsl set sdslphyhtutype=htu-c config save restart
iv) To set modem as CPE (HTU-R) [default]
sdsl set sdslphyhtutype=htu-r config save restart
v) To monitor traffic
bun list channels
vi) To view SDSL settings
sdsl config

4.3 To Disconnect/Connect the SDSL Link

i) To disconnect the SDSL link:
bun set port sdsl/sdslactivateline=false
(Upon issuing this command, SDSL Link will be disconnected unless the
following command is issued.)
ii) To re-connect (establish) the SDSL link:
bun set port sdsl/sdslactivateline=true
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
4-2

5. Configuring Your Router

1. Please refer to Appendix C - Quick Start for Router Configurations
(Flow Chart) for an overview of the router configurations.
2. All IP addresses and PVC values stated in this manual serve
only as examples for better understanding. You are required to replace these values with those given by your SDSL Service Provider/System Administrator.
3. Console commands are case-sensitive. Punctuations (examples: '_' underscore, '-' hyphen, ' ' spacing, etc) must be adhered to strictly.
4. For detailed description and syntax of console commands, you may refer to Appendix A - Commonly Used Commands on this manual or the ATMOS Console Commands Reference Manual found on the CD-ROM.

5.1 Network 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 System Administrator / ISP.
WAN Gateway = 202.166.29.2
WAN IP
202.166.29.154
SDSL
PVC=0/35
WAN
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
Your Router
LAN IP
192.168.1.1
202.166.30.1 (without NAT)
LAN
(with NAT)
Hub/Switch
PC A
PC B
PC X
PCs with
Ethernet cards
5-1
○○○○○
5 — Configuring Your Router
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.0 Broadcast ID :202.166.30.7
The ISP will have to create a static route:
Network ID : 202.166.30.0 Subnet 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
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
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-2
5 — Configuring Your Router

5.2 Configuring 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.
5.3 Setting Up NAT Inbound Port Forwarding
5.4 Configuring DHCP Server
5.5 Configuring DNS Relay
5.6 Configuring SNMP
5.7 Setting Up Telnet Access
5.8 Configuring Autoloop for IP Interface
○○○○
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-3
○○○○○
5 — Configuring Your Router
5.2.1 Configuring 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 clear all previous configurations in
your router.
To identify your current line protocol configured, type Check the
type dev file
ether //bridge OR //edd
ptp //bun/port=sdsl/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
ip device
* 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/bridge device
to list existing interfaces.)
ip device flush bridge device flush
.
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-4
5 — Configuring Your Router
b) To delete all the subnet mask:
(You may type
ip subnet
to list existing subnet mask.)
ip subnet flush
c) To delete the route table, if any:
(You may type
ip route
to list existing routes.)
ip route flush
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>
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-5
○○○○○
5 — Configuring Your Router

5.2.2 Configuring 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

5.2.3 Configuring the Basics: Step 3 - Configuring the WAN

Configure the WAN with IP address given by your ISP. 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 ISP is 0/35:
For LLC-SNAP encapsulation:
bridge device add //bun/port=sdsl/rfc1483=true/mode=llcbridged/
0
txvpi=
For VCMUX encapsulation:
bridge device add //bun/port=sdsl/rfc1483=true/mode=vcmuxbridged/
/txvci=35/rxvpi=0/rxvci=35 (all in one line)
txvpi=
0
/txvci=35/rxvpi=0/rxvci=35 (all in one line)
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 ISP is fixed at 202.166.29.154:
ip device add wan ether //bridge ip subnet add wan.home .
202.166.29.154 ff:ff:ff:0
202.166.29.154
OR
To obtain WAN settings automatically from your ISP:
ip device add wan ether //bridge
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-6
dhcp
5 — 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 ISP are 0/35 and 202.166.29.154 respectively:
For LLC-SNAP encapsulation:
ip device add wan ptp //bun/port=sdsl/rfc1483=true/mode=llcrouted/
0
txvpi=
ip subnet add wan.home .
/txvci=35/rxvpi=0/rxvci=35
202.166.29.154 ff:ff:ff:0
For VCMUX encapsulation:
ip device add wan ptp //bun/port=sdsl/rfc1483=true/
0
mode=vcmuxrouted/txvpi=
202.166.29.154
ip subnet add wan.home .
/txvci=35/rxvpi=0/rxvci=
(all in one line)
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)
append with a unique digit
ip device add wan_1 ptp //bun/port=sdsl/rfc1483=true/
mode=llcrouted/txvpi=
202.166.29.154
ip subnet add wan_1.home .
For second PVC value (0/100),
0
/txvci=35/rxvpi=0/rxvci=
(all in one line)
202.166.29.154 ff:ff:ff:0
append with a unique digit
ip device add wan_2 ptp //bun/port=sdsl/rfc1483=true/
0
/txvci=
mode=llcrouted/txvpi=
202.166.29.155
(all in one line)
ip subnet add wan_2.home .
100
202.166.29.155 ff:ff:ff:0
202.166.29.154
(all in one line)
35
/rxvpi=0/rxvci=
35
100
○○○○
unique WAN IP
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-7
○○○○○
5 — 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 ISP is 202.166.29.154:
ip device add wan atm //atm ip subnet add wan.home .
202.166.29.154
202.166.29.154 ff:ff:ff:0
b) To set the WAN configuration, assuming the PVC and WAN Gateway
given by your ISP are 0/35 and 202.166.29.2 respectively:
ip ipatm pvc add wan sdsl
0/35
remoteip
202.166.29.2
OR
To obtain WAN settings automatically from your ISP:
ip device add wan atm //atm ip ipatm pvc add wan sdsl
dhcp
0/35
remoteip
202.166.29.2
iv) Configuring the WAN - For RFC 2364 PPPoA
You can do back-to-back connection by setting up one router as CO and
another as CPE. To set up your router as CPE, do the following a to c:
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=
1
b) To set the PPP channel configuration, assuming the PVC given by your
ISP is 0/35. CHAP authentication is used in this example. Replace
CHAP with PAP if you are using PAP authentication. ISP will supply the
myuserid and mypassword.
ppp 1 pvc ppp
0 35
1
welogin
ip
myuserid mypassword chap
ppp 1 enable
c) To check the PPP connection every 10 seconds. (This is to allow the
PPP session to automatically re-establish itself after an SDSL link
disruption and re-connection.):
ppp 1 echo every 10
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-8
5 — Configuring Your Router
To set up your router as CO, do the following a to c:
a) To set the IP configuration of your WAN connection. The PPP module
supports multiple simultaneously connections, so we explicitly specify
Device 2 here. (This is required for PPP dial-out session):
ip device add ppp_device ether //ppp/DEVICE=
2
b) To set the PPP channel configuration, assuming the PVC and CPE WAN
IP given by your ISP are 0/35 and 202.166.29.154 respectively. CHAP
authentication is used in this example. Replace CHAP with PAP if you
are using PAP authentication. ISP will supply the myuserid and
mypassword.
ppp user add ppp 2 pvc ppp
2
ppp 2 remoteip ppp 2 theylogin
myuserid
0 35
ip listen
interface
2
202.166.29.154 chap
pwd
mypassword chap
ppp 2 enable
c) To check the PPP connection every 10 seconds. (This is to allow the
PPP session to automatically re-establish itself after an SDSL link
disruption and re-connection.):
ppp 2 echo every 10
d) For both CPE and CO:
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 ppp
1
unnumbered enable
1
lansubnet
ppp
ff:ff:ff:f8
ppp 1 enable config save
○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○
5-9
Loading...
+ 67 hidden pages