Dynamic routing protocols: BGP, OSPF, RIP
U
SER
G
UIDE
200
D
YNAMIC ROUTING PROTOCOLS
:
BGP,
OSPF,
RIP
In a complex network scenario, in which it is necessary to connect hosts belonging to different
networks, the use of dynamic routing protocols can be essential.
This kind of routing allows different routers to exchange information necessary to define possible
paths in order to reach remote destinations.
Imola supports protocols used for:
Routing within the same administrative domain (Intradomain routing or Interior Gateway
Protocols):
RIP (Distance vector)
OSPF (Link state)
Routing among different administrative domains (Interdomain routing or Exterior Gateway
Protocols):
BGP (Border Router Protocol)
Multicast routing:
PIM (Protocol Independent Multicast) in both PIM-DM and PIM-SM mode.
RIP
PROTOCOL CONFIGURATION
The RIP protocol includes a periodic announcement of networks directly connected with the router.
In order to configure the interface on which RIP announces will be sent, the following command is
used:
set rip network <network/N>
the command can be repeated for all the interfaces on which announces are sent.
In order to set the metric of routes the command is:
set rip default-metric <1-16>
In order to define administrative distance the command is:
set rip distance N
In order to configure the values of RIP protocol‟s timer, the command is:
set rip timers-basic t1 t2 t3
where
t1
is the
Routing Table Update Timer
(default 30secs),
t2
is the
Routing
Information
Timeout
Timer
(default 180secs) and t3 is the
Garbage Collection Timer
(default 120secs).
To configure a passive interface, i.e. an interface which can only receive announces, use:
set rip passive-interface <ifname>
it can be repeated for all passive interfaces needed.
The command:
set rip version 1|2
defines the RIP version (RIPv1 o RIPv2).