Allied Telesis AT-S63 User Manual

Page 568

Advertising
background image

Chapter 32: Internet Protocol Version 4 Packet Routing

568

Section VII: Internet Protocol Routing

Adding RIP

Rather than adding the static routes to remote destinations, or perhaps to
augment them, you decide that the switch should learn the routes by
exchanging its route table with its routing neighbors using RIP. To
implement RIP, you add it to the routing interfaces where routing
neighbors are located. The command for adding RIP to an interface is
“ADD IP RIP” on page 575.

For the purpose of this example, assume the routing neighbors of the
switch are located on the VLAN5-0 and VLAN11-1 interfaces. The
following commands add RIP to the interfaces and configure the routing
protocol to send only version 2 packets, but accept packets of either
version 1 or 2. In both cases, RIP is running without a password.

add ip rip interface=vlan5-0

send=rip2 receive=both

authentication=none

add ip rip interface=vlan11-1

send=rip2 receive=both

authentication=none

You could, if you wanted, add RIP to the other interfaces. But since, in our
example, those interfaces do not have links to other RIP routers, they
would not learn any routes.

Selecting the Local Interface

This last part of the example designates a local interface. This step is
necessary on a master switch of an enhanced stack to designate the
common VLAN of the switches in the stack. This is also necessary if you
want to manage the device from a remote management workstation with a
Telnet or SSH client, or a web browser.

Let’s assume you plan to remotely manage the switch from a
management workstation that reaches the device through the subnet in
the Sales VLAN, which has the interface name is VLAN4-0. Here is the
command to designate that interface as the local interface on the switch:

set ip local interface=vlan4-0

To start a remote management session on the switch, you use the IP
address of the local interface as the switch’s address. In the example, the
switch’s address would be 149.35.67.11 because that happens to be the
IP address of the VLAN4-0 interface, which is the local interface.

Advertising