
RIP Overview
Configuring RIP
page 19-4
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
RIP Overview
In switching, traffic can be transmitted from one media type to another within the same
VLAN
. Switching
happens at Layer 2, the link layer; routing happens at Layer 3, the network layer. In IP routing, traffic can
be transmitted across
VLANs.
When IP routing is enabled, the switch uses routing protocols to build rout-
ing tables that keep track of stations in the network and decide the best path for forwarding data. When the
switch receives a packet to be routed, it strips off the
MAC
header and examines the IP header. It looks up
the source/destination address in the routing table, and then adds the appropriate
MAC
address to the
packet. Calculating routing tables and stripping/adding
MAC
headers to packets is performed by switch
software.
IP is associated with several Layer 3 routing protocols. RIP is built into the base code loaded onto the
switch. Others are part of Alcatel-Lucent’s optional Advanced Routing Software. IP supports the follow-
ing IP routing protocols:
•
RIP—An IGP that defines how routers exchange information. RIP makes routing decisions by using a
“least-cost path” method. RIPv1 and RIPv2 services allow the switch to learn routing information from
neighboring RIP routers. For more information and instructions for configuring RIP, see
.
•
Open Shortest Path First (OSPF)—An IGP that provides a routing function similar to RIP but uses
different techniques to determine the best route for a datagram. OSPF is part of Alcatel-Lucent’s
optional Advanced Routing Software. For more information see the “Configuring OSPF” chapter in the
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide
.
When RIP is initially enabled on a switch, it issues a request for routing information, and listens for
responses to the request. If a switch configured to supply RIP hears the request, it responds with a
response packet based on information in its routing database. The response packet contains destination
network addresses and the routing metric for each destination. When a RIP response packet is received,
RIP takes the information and rebuilds the switch’s routing database, adding new routes and “better”
(lower metric) routes to destinations already listed in the database.
RIP uses a hop count metric to measure the distance to a destination. In the RIP metric, a switch adver-
tises directly connected networks at a metric of 1. Networks that are reachable through one other gateway
are 2 hops, networks that are reachable through two gateways are 3 hops, etc. Thus, the number of hops (or
hop count) along a path from a given source to a given destination refers to the number of networks that
are traversed by a datagram along that path. When a switch receives a routing update that contains a new
or changed destination network entry, the switch adds one to the metric value indicated in the update and
enters the network in the routing table. After updating its routing table, the switch immediately begins
transmitting routing updates to inform other network switches of the change. These updates are sent inde-
pendently of the regularly scheduled updates. By default, RIP packets are broadcast every 30 seconds,
even if no change has occurred anywhere in a route or service.
RIP deletes routes from the database if the next switch to that destination says the route contains more than
15 hops. In addition, all routes through a gateway are deleted by RIP if no updates are received from that
gateway for a specified time period. If a gateway is not heard from for 120 seconds, all routes from that
gateway are placed in a hold-down state. If the hold-down timer value is exceeded, the routes are deleted
from the routing database. These intervals also apply to deletion of specific routes.
Содержание os6900
Страница 28: ...Contents xxviii OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 374: ...VRF Route Leak Configuring IP page 15 40 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...
Страница 692: ...Policy Applications Configuring QoS page 25 84 OmniSwitch AOS Release 7 Network Configuration Guide June 2013...