User Guide for ADVANTECH models including: Protocol RIP Router App, Protocol RIP, Router App, App

RouterApp User Manual

Protocol RIP

routerapp, manual, Protocol RIP

Advantech

Protocol RIP Application note 20231026

Router Apps - Cellular Routers Engineering Portal


File Info : application/pdf, 15 Pages, 535.80KB

PDF preview unavailable. Download the PDF instead.

protocol-rip-application-note-20231026
Protocol RIP
Advantech Czech s.r.o., Sokolska 71, 562 04 Usti nad Orlici, Czech Republic Document No. APP-0060-EN, revision from 26th October, 2023.

© 2023 Advantech Czech s.r.o. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photography, recording, or any information storage and retrieval system without written consent. Information in this manual is subject to change without notice, and it does not represent a commitment on the part of Advantech.
Advantech Czech s.r.o. shall not be liable for incidental or consequential damages resulting from the furnishing, performance, or use of this manual.
All brand names used in this manual are the registered trademarks of their respective owners. The use of trademarks or other
designations in this publication is for reference purposes only and does not constitute an endorsement by the trademark holder.

Used symbols
Danger ­ Information regarding user safety or potential damage to the router. Attention ­ Problems that can arise in specific situations. Information ­ Useful tips or information of special interest. Example ­ Example of function, command or script.

Contents

1. Changelog

1

1.1 Protocol RIP Changelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2. Description of router app

2

2.1 Example of configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1.1 IPv4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1.2 IPv6 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3. Basic commands

9

4. Licenses

10

5. Related Documents

11

List of Figures

1 Choice of web interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 ZEBRA web interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 RIP web interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 Example of configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
List of Tables

1 Basic commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

1. Changelog
1.1 Protocol RIP Changelog
v1.0.0 (2012-01-19) · First release
v1.1.0 (2012-12-04) · Added support of module IS-IS
v1.2.0 (2013-01-29) · Updated Quagga version to 0.99.21
v1.3.0 (2013-11-04) · Derived daemon Zebra
v1.4.0 (2016-03-14) · Added support of FW 4.0.0+
v1.5.0 (2017-03-20) · Recompiled with new SDK
v1.6.0 (2018-08-08) · Updated quagga version to 1.2.4 · Modified cmd "write" to store configuration via vty
v1.6.1 (2019-01-02) · Added licenses information
v1.6.2 (2019-08-22) · Fixed crashing RIP protocol
v1.7.0 (2020-06-04) · Added support of IPv6
v1.8.0 (2020-10-01) · Updated CSS and HTML code to match firmware 6.2.0+ · Linked statically with c-ares 1.16.1

Protocol RIP Manual

1

2. Description of router app
Router app Protocol RIP is not contained in the standard router firmware. Uploading of this router app is described in the Configuration manual (see Chapter Related Documents).
Due to this module the RIP routing protocol is available. Allows the routers to communicate with each other and react to changes in network topology. The RIP is a distance-vector protocol, which means that routers send each other updated routing tables (don't know the entire network topology). Searching the shortest paths in the network is based on the Bellman-Ford's algorithm. The decisive factor is the number of routers leading to the destination network. In terms of safety (protection against routing loops), this number is limited to 15. However, this maximum also limits the size of a network.
RIP router app is based on software called Quagga. It is a routing software package that provides TCP/IP based routing services. The Quagga is composed of several deamons. The most important is the zebra deamon, which collects routing information, cooperates with the system core and adjusts its routing tables. The rest of deamons including the ripd deamon serves as an interface of the central deamon (zebra) for routing protocols. Each deamon has its own configuration file.
For configuration ripd and zebra deamons are available web interfaces, which are invoked by pressing the RIP or ZEBRA item on the Router apps page of the router web interface. The left part of both web interfaces (ie. menu) contains only the Return item, which switches these web interfaces to the interface of the router. In the right part is always field for configuring corresponding daemon.
Figure 1: Choice of web interface

Protocol RIP Manual

2

Figure 2: ZEBRA web interface

Figure 3: RIP web interface
Important notices: · Using telnet is vty interface of zebra and ripd deamons available only via the loopback interface 127.0.0.1. · New configuration files should be created only by an experienced user!

Protocol RIP Manual

3

2.1 Example of configuration
2.1 Example of configuration
The figure below shows a model situation of using the RIP router app. Then there are mentioned examples of configuration files of zebra and ripd deamons. In this form are entered in the configuration form in the web interface RIP or ZEBRA.
Figure 4: Example of configuration
An example of the zebra configuration file (zebra.conf ):  ssr   ssr   ss  tr t  tr t  tr t  tr     t 

Protocol RIP Manual

4

2.1 Example of configuration
2.1.1 IPv4 Configuration
An example of the ripd.conf configuration file for a device which is referred to as Advantech router 1 in the figure above:
 ssr   ssr   ss  tr t  tr t  tr   tr t  rtr r
rs  tr t tr t tr t sstr t   t 

Protocol RIP Manual

5

2.1 Example of configuration
An example of the ripd.conf configuration file for a device which is referred to as Advantech router 2 in the figure above:
 ssr   ssr   ss  tr t  tr t  tr   tr t  rtr r
rs  tr t tr t tr t  sstr t   t 

Protocol RIP Manual

6

2.1 Example of configuration
2.1.2 IPv6 Configuration
An example of the ripngd.conf configuration file for a device which is referred to as Advantech router 1 in the figure above:
 ssr   ssr   ss  rtr r  tr t tr t  sstr t 

Protocol RIP Manual

7

2.1 Example of configuration
An example of the ripngd.conf configuration file for a device which is referred to as Advantech router 2 in the figure above:
 ssr   ssr   ss  rtr r  tr t tr t   sstr t 

Protocol RIP Manual

8

3. Basic commands

The following table lists basic commands which can be used when editing ripd.conf and ripngd.conf files and description of these commands:

Command

Description

router rip

necessary command to enable RIP

no router rip

disables RIP

network <network>

sets the RIP enable interface by specified network

no network <network>

disables RIP for the specified network

network <ifname>
no network <ifname> neighbor <ip-address>
no neighbor <ip-address>

both the sending and receiving of RIP packets will be enabled on the port specified in this command
disables RIP on the specified interface
defines a neighboring router with which to exchange routing information
disables the RIP neighbor

passive-interface <ifname>

sets the specified interface to passive mode, i.e. disables sending routing updates on an interface

passive-interface default

sets all inerfaces to passive mode

no passive-interface <ifname> sets the specified interface to normal mode

ip split-horizon

enables the split horizon mechanism (information about the routing is never sent back on the same interface)

no ip split-horizon

disables the split horizon mechanism (enabled on each interface by default)

version <version>
no version ip rip send version <version> ip rip receive version <version> show ip rip

specifies a RIP version used globally by the router (it can be either 1 or 2) resets the global version setting back to the default specifies a RIP version to send on an interface basis specifies a RIP version to receive on an interface basis shows RIP routes

show ip protocols

displays the parameters and current state of the active routing protocol process

Table 1: Basic commands

Protocol RIP Manual

9

4. Licenses
Summarizes Open-Source Software (OSS) licenses used by this module.
Figure 5: Licenses

Protocol RIP Manual

10

5. Related Documents
You can obtain product-related documents on Engineering Portal at icr.advantech.cz address. To get your router's Quick Start Guide, User Manual, Configuration Manual, or Firmware go to the Router Models page, find the required model, and switch to the Manuals or Firmware tab, respectively. The Router Apps installation packages and manuals are available on the Router Apps page. For the Development Documents, go to the DevZone page.

Protocol RIP Manual

11



References

MiKTeX pdfTeX-1.40.25 LaTeX with hyperref