You are on page 1of 4

FAQ, connecting LANs and adding a default gateway to routing table for

v1.60CTF4.D2R firmware.

We will start by establishing a point-to-point routing for LAN-to-LAN and then will
apply a default gateway for Internet Access.

Remote Office LAN IP Address: 192.168.0.254


Net: 255.255.255.0

IP Address: 192.168.1.1 IP Address: 192.168.0.253


Net: 255.255.255.0 Net: 255.255.255.0
WAN IP: 10.1.1.2 WAN IP: 10.1.1.1
GW: 10.1.1.1 GW: 10.1.1.2
Main Office LAN

IP Address: 192.168.0.X
Net: 255.255.255.0
IP Address: 192.168.1.X GW: 192.168.0.254
Net: 255.255.255.0
GW: 192.168.1.1

Here is a complete step by step setup procedure for the Remote Office LAN,
SDTU01 Router. (HyperTerminal connection to serial port).

>> mode #set the bridge or router mode


Please select bridge or router:<b/r,r> r
Current mode is router
>> default #set all paramet ers to factory default
The data set to default successfully.
>> save
Saving configuration...Configuration saved.
Updating flash filing system ...

Helium Family PP flash boot 6.1.0.25 (22 October 1999)


(c) Copyright Virata 1999
SDRAM size = 0x800000, type = 0x5
NPn Booting...

System start...
>> quick #enter the quick setup wizard
R1483(r)/ IPoA(i)/ PPPoA(p) / PPPoE(pe) : I #choose IP over ATM

0 PVC existed, 8 PVCs available.


Ethernet IP (192.168.1.1) : 192.168.1.1 #LAN IP address
Subnet mask (255.255.255.0) : 255.255.255.0
VPI(0-1023): 8
VCI(1-65535): 32
WAN IP : 10.1.1.2 #WAN IP address
Gateway : 10.1.1.1 #WAN gateway
Add another PVC ? (y/n): n

1
>> Setup Configuration
FUNCTION: IPOA
Ethernet IP: 192.168.1.1
Subnet Mask: 255.255.255.0
# VPI VCI WAN IP Gateway IP
1: 8 32 10.1.1.2 10.1.1.1

Preserve the configuration (y/n) : y


Continue quick (y/n) : n

Configuration will have no effect until after save and restart.

>> rtable
> rtable> deliproute all #clear out the routing table
> rtable> addiproute 0.0.0.0 0.0.0.0 10.1.1.1 #add the route
> rtable> home
>> save
Saving configuration...Configuration saved.
Updating flash filing system ...

Helium Family PP flash boot 6.1.0.25 (22 October 1999)


(c) Copyr ight Virata 1999
SDRAM size = 0x800000, type = 0x5
NPn Booting...

System start...
>>
>>

Here is a complete step by step setup procedure to enable DCHP server for the
Remote Office LAN, SDTU01 Router. (HyperTerminal connection to serial port). In
the example we open up 100 IP addresses for Dynamic Host Configuration and
add two Domain Name Server addresses.
>> lan
> lan> dhcpserver 192.168.1.10 192.168.1.109
DHCP Mode: Server
> lan> dhcpserver dns 168.95.1.1 168.95.192.1
DNS setup:
First: 168.95.1.1
Second:168.95.192.1
> lan> setdhcp server
DHCP Mode: Server
range1:192.168.1.10 to 192.168.1.109
range2:0.0.0.0 to 0.0.0.0
default lease time:43200
max lease time:86400
DNS1:168.95.1.1
DNS2:168.95.192.1
> lan> home
>> save

2
Here is a complete step by step setup procedure for the Main Office LAN, SDTU01
Router. (HyperTerminal connection to serial port).

>> mode
Please select bridge or router:<b/r,r> r
Current mode is router
>> default
The data set to default successfully.
>> save
Saving configuration...Co nfiguration saved.
Updating flash filing system ...

Helium Family PP flash boot 6.1.0.25 (22 October 1999)


(c) Copyright Virata 1999
SDRAM size = 0x800000, type = 0x5
NPn Booting...

System start...

>> quick
R1483(r)/ IPoA(i)/ PPPoA(p) / PPPoE(pe) : i

0 PVC existed, 8 PVCs available.


Ethernet IP (192.168.1.1) : 192.168.0.253
Subnet mask (255.255.255.0) : 255.255.255.0
VPI(0-1023): 8
VCI(1-65535): 32
WAN IP : 10.1.1.1
Gateway : 10.1.1.2
Add another PVC ? (y/n): n

>> Setup Configuration


FUNCTION: IPOA
Ethernet IP: 192.168.0.253
Subnet Mask: 255.255.255.0
# VPI VCI WAN IP Gateway IP
1: 8 32 10.1.1.1 10.1.1.2

Preserve the configuration (y/n) : y


Continue quick (y/n) : n

Configuration will have no effect until a fter save and restart.

>> rtable
> rtable> deliproute all
> rtable> addiproute 192.168.1.0 255.255.255.0 10.1.1.2
> rtable> addiproute 0.0.0.0 0.0.0.0 192.168.0.254
> rtable> home
>> sdsl
> sdsl> terminal coe #set this unit to CO equipment
> sdsl> home
>> save

3
Saving configuration...Configuration saved.
Updating flash filing system ...

Helium Family PP flash boot 6.1.0.25 (22 October 1999)


(c) Copyright Virata 1999
SDRAM size = 0x800000, type = 0x5
NPn Booting...

System start...
>>
>> rtable
> rtab le> show #confirm routing table has the WAN route
Routing Table: and Ethernet route
No. Destination IP SubMask Gateway IP
1 192.168.1.0 255.255.255.0 10.1.1.2
2 0.0.0.0 0.0.0.0 192.168.0.254

effective rout ing table:


route add ipoa1 192.168.1.0 10.1.1.2 ff:ff:ff:00 1 # MAN via
ipoa1 *
route add ether1 0.0.0.0 192.168.0.254 00:00:00:00 1 # MAN
via ether *
> rtable> home
>>
>>

Lastly, you will need to add a routing entry in the Internet gateway's routing table to point
to your remote network. For example, all packets for 192.168.1.0 need to go to
192.168.0.253 (the SDTU).

You might also like