
Configuring RIP 95
■You cannot configure the next hop of a static route as the address of an interface on the local switch.
■You can configure different preferences or an identical preference for routes to the same destination for route backup or load sharing.
■The default route has both the destination and mask configured as 0.0.0.0. If the destination IP address of a packet does not match any entry in the routing table, the router will select the default route to forward the packet
Configuring RIP | RIP is a | ||||||||||||||||||||||||||||
| User Datagram Protocol (UDP) datagrams. |
|
|
|
|
|
|
| |||||||||||||||||||||
| RIP uses a hop count, or a routing cost, as the metric to a destination. The hop | ||||||||||||||||||||||||||||
| count from a router to a directly connected network is 0, and that to a network | ||||||||||||||||||||||||||||
| which can be reached through another router is 1, and so on. To restrict the | ||||||||||||||||||||||||||||
| convergence time, RIP prescribes that a cost is an integer ranging from 0 and 15. A | ||||||||||||||||||||||||||||
| hop count equal to or exceeding 16 is defined as infinite; that is, the destination | ||||||||||||||||||||||||||||
| network or the host is unreachable. To improve performance and avoid routing | ||||||||||||||||||||||||||||
| loops, RIP supports split horizon. Besides, RIP can redistribute routes from other | ||||||||||||||||||||||||||||
| routing protocols. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
Network Diagram | Figure 27 | Network diagram for RIP configuration |
|
|
| ||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Switch A |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
| Ethernet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
| Switch C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Switch B |
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
| Device |
| Interface | IP address | Device |
| Interface | IP address | |||||||||||||||||||||
| Switch A |
| 110.11.2.1/24 |
|
| Switch B |
| 110.11.2.2/24 | |||||||||||||||||||||
|
|
|
|
|
|
|
| 155.10.1.1/24 |
|
|
|
|
|
|
| 196.38.165.1/24 | |||||||||||||
| Switch C |
| 110.11.2.3/24 |
|
|
|
|
|
|
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
| 117.102.0.1/16 |
|
|
|
|
|
|
|
|
Networking and A small company requires a small office network where any two nodes can Configuration communicate with each other, and the network devices can automatically adapt Requirements to topology changes.
In this case, RIPv2 can enable communication between any two nodes on the network.
Applicable Products
Product series | Software version | Hardware version |
|
|
|
Switch 5500 | Release V03.02.04 | All versions |