13 rip – ATL Telecom AM200 User Manual

Page 51

Advertising
background image

ATL User Guide

AM200 Modem

51

8

For the example above the following commands would be used at the CO.

--> ip add defaultroute gateway 192.168.1.2

↵↵

And at the CPE

--> ip add defaultroute gateway 192.168.1.1

↵↵

Finally, add a route back to the connection on the LAN using the command:

--> ip add route <name> <subnet> <netmask> interface lan

↵↵

For the example above the following commands would be used at the CO.

--> ip add route route1 10.10.0.0 255.255.0.0 interface lan

↵↵

And at the CPE

--> ip add route route2 10.11.0.0 255.255.0.0 interface lan

↵↵

After doing these changes you must enter the following command and press the return key to store your
settings. Type in:

--> system config save normal

↵↵

Note: Wait for the CLI confirmation message before you switch off the AM200.

8.13 RIP

Rather than adding static routes you can use RIP to set the units to automatically detecting connected IP
addresses. Type in the following commands at both units;

--> ip set interface <DSL ipaddress name> rip accept all

↵↵

--> ip set interface <DSL ipaddress name> rip send v2

↵↵

--> ip set interface <Ethernet ipaddress name> rip accept all

↵↵

--> ip set interface <Ethernet ipaddress name> rip send v2

↵↵

In the router example shown in section 8.11, rather than adding the static routes the routes can be learnt
automatically by typing in the following commands at both the CO and CPE:

--> ip set interface wan rip accept all

↵↵

--> ip set interface wan rip send v2

↵↵

--> ip set interface lan rip accept all

↵↵

--> ip set interface lan rip send v2

↵↵

It can take around 20 to 30 seconds for the routes to be learned. You can check that the required routes have
been learnt by typing in:

--> ip list riproutes

↵↵

In the router example, typing in the list riproutes command would generate the following response from the
CO unit:

Advertising