![]() |
||
KB article reference no. Q10610
Version: 1.0
Keywords: KlasRouter, RIP, OSPF, Routing Protocols
The information in this article applies to:
KlasRouter v2.0
1.0
2.0
2.1
2.2
2.3
2.4
2.4.1
2.4.2
2.4.3
2.4.4
2.5
2.5.1
2.5.2
2.5.3
2.5.4Introduction
Configuration of KlasRouter
Cable Connections
Establishing a HyperTerminal Session
Configuring the Network Interface
Configuring RIP
Starting RIP
Viewing RIP Networks
Adding a RIP Network
Deleting a RIP Network
Configuring OSPF
Starting OSPF
Viewing OSPF Networks
Adding an OSPF Network
Deleting an OSPF Network
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.RIP Configuration Menu
Adding a RIP Network
Deleting a RIP Network
OSPF Configuration Menu
Adding an OSPF Network
Deleting an OSPF Network
This document describes how to configure the Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) routing protocols using KlasRouter. Routing protocols are used in order to distribute network topology information to all routers throughout the network. This information is then used by the routers to make decisions regarding the best possible interface to forward packets along. RIPv1 and RIPv2 are distance-vector routing protocols that base their routing decisions on the total number of hops between end-points. OSPF is a link-state routing protocol that bases its routing decision on number of hops as well as the aggregate bandwidth between end-points. Although both RIP and OSPF take different approaches to distributing network information, KlasRouter implements the routing protocols using a similar format. Users are able to choose the networks they would like to advertise from the list of configured interfaces. The following sections outline the steps needed to configure the RIP and OSPF with KlasRouter.
2.1 Cable Connections
Prior to beginning, ensure the following cable connections have been properly secured:
- Power cord is plugged in and KlasRouter is on.
- Control Port Cable is connected to the PCs serial port.
- Control Port Cable is connected to the ‘Control’ port on the front of the KlasRouter.
- Analog phone is connected to VoIP Port 1 on the back of KlasRouter.
2.2 Establishing a HyperTerminal Session
To configure the KlasRouter, you must establish a HyperTerminal Session between a PC and the KlasRouter. Follow the instructions in KlasRouter Application Note Q10601 to successfully establish a HyperTerminal Session and open the KlasRouter Main Configuration Menu.
2.3 Configuring the Network Interface
KlasRouter has a Serial Wide Area Network (WAN) interface, an Ethernet WAN interface and a Local Area Network (LAN) interface. The networks assigned to these interfaces determine the available networks from which a user can choose to advertise. Once chosen, KlasRouter will advertise an available path to that network to the rest of the routers in the network infrastructure using either RIP or OSPF. For additional information on how to configure these network interfaces, refer to the following KlasRouter Application Notes:
- Configuring the KlasRouter Serial WAN Port: App Note Q10603
- Configuring the KlasRouter Ethernet WAN Port: App Note Q10604
- Configuring the KlasRouter Ethernet LAN: App Note Q10605
The following sections outline how to check the status of RIP and how to add and delete networks that KlasRouter will advertise using the RIP routing protocol. Follow the steps below to successfully configure KlasRouter for RIP operations.
RIP Configuration
-----------------
1) View RIP Networks
2) Add RIP Network
3) Delete RIP Network
4) Start RIP
5) Stop RIP
6) View RIP Status
7) View RIP Log (Ctrl-c to quit log)
Press 'x' to Return
Enter Option>4
Figure 1. RIP Configuration Menu
- Press ‘4’ on the RIP Configuration Menu to start advertising RIP networks.
- KlasRouter will then prompt you to choose which version of RIP you would like to use. RIPv2 is a more modern version that allows for variable length subnet masks and is almost always used in today’s networks. Enter ‘2’ to start RIPv2.
- Press 'Enter' to return to the RIP Configuration Menu
- Press ‘1’ on the RIP Configuration Menu to view all of the currently available RIP networks.
- Press ‘Enter’ to return to the RIP Configuration Menu.
- Press ‘2’ from the RIP Configuration Menu to add a network to the list of RIP-advertised networks.
- KlasRouter will list all current RIP networks. Below that is a list of all configured networks and their associated interfaces. KlasRouter will prompt you to choose a network by entering the list number corresponding to the network you would like to add. In the example shown below in Figure 2, there are two possible networks to choose from, the Ethernet LAN and the Ethernet WAN. The example shows the user adding the network 192.168.2.0/24 which is associated with the Ethernet WAN interface.
Add RIP Network
---------------
Current RIP Networks:
- No RIP Networks Configured.
Select one of the following networks:
1 - 192.168.2.0/24, ixp1 ( Ethernet WAN )
2 - 192.168.1.0/24, ixp0 ( Ethernet LAN )
Enter Network Number('q' to quit)>1
Network added to RIP configuration file
Figure 2. Adding a RIP Network
- Continue to add networks, as needed. Enter ‘q’ when finished to return to the RIP Configuration Menu.
- Press ‘3’ on the RIP Configuration Menu to delete a network from the list of RIP-advertised networks.
- KlasRouter will list all current RIP networks. Below that, you will be prompted to choose a network to delete by entering the list number corresponding to the network. In the example shown below in Figure 3, there are two possible networks to choose from. The example shows the user deleting the network 192.168.2.0/24 from the list of RIP Networks.
Delete RIP Network
------------------
Current RIP Networks:
1 - 192.168.1.0/24
2 - 192.168.2.0/24
Enter Network Number('q' to quit)>2
Network 192.168.2.0/24 deleted from RIP configuration file!
Figure 3. Deleting a RIP Network
- Continue to delete networks, as needed. Enter ‘q’ when you finished to return to the RIP Configuration Menu.
The following sections outline how to check the status of OSPF and how to add and delete networks that KlasRouter will advertise using the OSPF routing protocol. Follow the steps below to successfully configure KlasRouter for OSPF operations.
OSPF Configuration
------------------
1) View OSPF Networks
2) Add OSPF Network
3) Delete OSPF Network
4) Start OSPF
5) Stop OSPF
6) View OSPF Status
7) View OSPF Log (Ctrl-c to quit log)
Press 'x' to Return
Enter Option>4
Figure 4. OSPF Configuration Menu
- Press ‘4’ on the OSPF Configuration Menu to start advertising OSPF networks.
- Press ‘Enter’ to return to the OSPF Configuration Menu.
- Press ‘1’ on the OSPF Configuration Menu to view all of the currently available OSPF networks.
- Press ‘Enter’ to return to the OSPF Configuration Menu.
- Press ‘2’ from the OSPF Configuration Menu to add a network to the list of OSPF-advertised networks.
- KlasRouter will list all current OSPF networks. Below that is a list of all available networks and their associated interfaces. KlasRouter will prompt you to choose a network by entering the list number corresponding to the network you would like to add. In the example shown below in Figure 5, there are two possible networks to choose from, the Ethernet LAN and the Ethernet WAN. The example shows the user adding the network 192.168.2.0/24 which is associated with the Ethernet WAN interface.
Add OSPF Network
----------------
Current OSPF Networks:
- No OSPF Networks Configured.
Select one of the following networks:
1 - 192.168.2.0/24, ixp1 ( Ethernet WAN )
2 - 192.168.1.0/24, ixp0 ( Ethernet LAN )
Enter Network Number('q' to quit)>1
Enter Area Number('q' to quit)>1
Network added to OSPF configuration file.
Figure 5. Adding an OSPF Network
- Enter the OSPF area number. All interfaces on OSPF routers must belong to an OSPF area. These areas are used to control routing advertisements and establish a hierarchy of routers for organizational purposes. In Figure 5, KlasRouter is being added to Area 1.
- Repeat Steps 2 and 3 in order to continue to add OSPF networks, as needed.
- Enter ‘q’ when finished to return to the OSPF Configuration Menu.
2.5.4 Deleting an OSPF Network
- Press ‘3’ on the OSPF Configuration Menu to delete a network from the list of OSPF-advertised networks.
- KlasRouter will list all current OSPF networks. Below that, you will be prompted to choose a network to delete by entering the list number corresponding to the network. In the example shown below in Figure 6, there are two possible networks to choose from. The example shows the user deleting the network 192.168.1.0/24 from the list of OSPF Networks.
Delete OSPF Network
-------------------
Current OSPF Networks:
1 - 192.168.2.0/24 area 1
2 - 192.168.1.0/24 area 1
Enter Network Number('q' to quit)>2
Network 192.168.1.0/24 deleted from OSPF configuration file!
Figure 6. Deleting an OSPF Network
- Continue to delete networks, as needed. Enter ‘q’ when you finished to return to the OSPF Configuration Menu.
Copyright © 2006 Klas Ltd. All rights reserved. All company and brand names are trademarks or registered trademarks of their respective owners.DISCLAIMER OF WARRANTY: THE DOCUMENT IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WITH RESPECT TO THE DOCUMENT AND / OR ANY ASSOCIATED ON-LINE INFORMATION, KLAS DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDED BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
Home | About | News | Products | Support | Distributors | Contact
|
|
![]() |