RIP Configuration

To configure RIP (Routing Information Protocol) on a virtual router, use the following command:

Admin@nodename# set network virtual-router <virtual-router-name> rip

Specify the parameters:

Parameter

Description

enabled

Enable/disable an RIP router:

  • on

  • off

version

RIP protocol version:

  • 1

  • 2

Usually, the 2nd version of the protocol is used.

metric

RIP metric. Default value: 1; max value: 15. A value of 16 is considered infinite.

distance

The cost of routes received using the RIP protocol. Default value for RIP protocol: 120. This is used for route selection when routes can be received using multiple methods (OSPF, BGP, static).

originate

Sends itself as the router by default.

networks-cidr

Specify the network as a CIDR. Format: <ip/mask>.

networks-interface

Specify the network interface from which to send route information updates. Provide interfaces that belong to the virtual router.

redistribute

Route redistribution:

  • connected: redistribute routes to other RIP routers to the networks directly connected to UserGate.

    • <metric>: metric value; available values: from 0 to 16

    • off

  • static: redistribute static routes to other static router.

    • <metric>: metric value; available values: from 0 to 16

    • off

  • kernel: redistribute routes added by an administrator to other RIP routers.

    • <metric>: metric value; available values: from 0 to 16

    • off

  • ospf: redistribute routes received via OSPF to other RIP routers.

    • <metric>: metric value; available values: from 0 to 16

    • off

  • bgp: redistribute routes received via BGP to other RIP routers.

    • <metric>: metric value; available values: from 0 to 16

    • off

interfaces

Configure interfaces where the RIP protocol is supported. The interfaces should be added to the virtual router.

To add new interfaces or change data for existing ones, use the following commands:

Admin@UGOS# set network virtual-router <virtual-router-name> rip interfaces new Admin@UGOS# set network virtual-router <virtual-router-name> rip interfaces <interface-name>

Parameters:

  • interface: select the interface.

  • send-version: the RIP protocol version that the router will send. Available values:

    • 0

    • 1

    • 2

    • 3

  • receive-version: the RIP protocol version that the router will receive. Available values:

    • 0

    • 1

    • 2

    • 3

  • password: the authorization string that will be sent and received in RIP packets. All routes participating in RIP information exchange must have an identical password.

  • split-horizone: a routing loop avoidance method where the router does not redistribute network information through the interface on which the update arrived.

    • on

    • off

  • poisoned-reverse: a routing loop avoidance method where the router sets the route cost to 16 and sends it to the neighbor from which it was received.

    • on

    • off

  • passive-mode: an interface mode in which the interface receives RIP updates but does not send them.

    • on

    • off

To display RIP configuration in a virtual router, use the following command:

Admin@nodename# show network virtual-router <virtual-router-name> rip

Example command to configure RIP in a virtual router:

Admin@nodename# set network virtual-router test_router rip version 2 originate on Admin@nodename# show network virtual-router test_router name : test_router description : Test virtual router node-name : node_1 interfaces : port2; port3 ... rip : enabled : off distance : 120 metric : 1 originate : on interfaces : [] redistribute : {} version : 2 ... Admin@nodename# set network virtual-router test_router rip interfaces new interface port2 Admin@nodename# show network virtual-router test_router name : test_router description : Test virtual router node-name : node_1 interfaces : port2; port3 ... rip : enabled : off distance : 120 metric : 1 originate : on interfaces : port2 interface : port2 passive-mode : off poisoned-reverse : off receive-version : 0 send-version : 0 split-horizone : off redistribute : {} version : 2 ...

To delete RIP router parameters, use the following command:

Admin@nodename# delete network virtual-router <virtual-router-name> rip <parameter>

You can delete the following parameters:

  • RIP interfaces: interfaces.

  • RIP networks: networks-cidr.

  • Network interface from which route information updates will be sent: networks-interface.