Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using RIP to realize the interconnection of two networks

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Job task description

Companies An and B both have their own independent Lans and connect with CNC routers respectively (three routers are connected to four subnets). It is required to use RIP dynamic routing to implement the project.

Theoretical study

What is the meaning of question 1:AS?

In order to facilitate management, it is usually carried out by the way of region division, and finally take the area as a unit for communication management and routing design, which is not only convenient for the management of each network, but also improve the communication efficiency of the whole network.

Question 2: what dynamic routing protocols are included in the interior gateway protocol? What dynamic routing protocols are included in the external gateway protocol?

Internal gateway protocols: RIP, OSPF, IGRP, EIGRP, IS-IS

External Gateway Protocol: BGP

What are the characteristics of the 3:RIP dynamic routing protocol (the focus of the CCNA exam)?

Is a distance vector routing protocol

Use hop count as a measure, with a maximum hop count of 15 hops

The default route update period is 30 seconds. If the route update is not received in 180 seconds, the calibrated route is unreachable, and the route is deleted in 240 seconds.

Administrative distance (AD) is 120;,

4 equal cost routes are supported by default, and up to 6 equal cost routes are supported

Use UDP port 520 for routing updates

Question 4: briefly describe the working principle of RIP?

RIP works by exchanging routing table information directly with its neighbors, and its working mechanism can be vividly likened to a whisper, that is, its own routing information is told to the routers close to its neighbors, and then passed down by the neighboring routers in turn.

Task implementation

1. Network topology design (paste the topology diagram of PT and have the planning information of IP address)

two。 Device configuration commands (each router is configured separately)

R1

R2

R3

3. Single-stage test results

Pc1 ping r1

4. Comprehensive test results

5. View routes for each router

R1

5. View RIP related information

R1

R3

Work expansion

What would be the result of configuring the above tasks with RIP V1? Write configuration commands and test results, and describe the cause.

R1:

Router (config) # router rip

Router (config-router) # version 1

Router (config-router) # auto-summary

CNC

Router (config) # router rip

Router (config-router) # version 1

Router (config-router) # auto-summary

R2

Router (config) # router rip

Router (config-router) # version 1

Router (config-router) # auto-summary

R1

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.1.0 is directly connected, FastEthernet0/0

172.16.0.0/30 is subnetted, 2 subnets

C 172.16.1.0 is directly connected, FastEthernet0/1

R 172.16.1.4 [120/1] via 172.16.1.2, 00:00:09, FastEthernet0/1

CNC:

R 10.0.0.0/8 [120/1] via 172.16.1.1, 00:00:00,FastEthernet0/0

[120/1] via 172.16.1.6,00:00:04, FastEthernet0/1

172.16.0.0/30 is subnetted, 2 subnets

C 172.16.1.0 is directly connected, FastEthernet0/0

C 172.16.1.4 is directly connected, FastEthernet0/1

R2:

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.2.0 is directly connected, FastEthernet0/1

172.16.0.0/30 is subnetted, 2 subnets

R 172.16.1.0 [120/1] via 172.16.1.5, 00:00:16, FastEthernet0/0

C 172.16.1.4 is directly connected, FastEthernet0/0

Think about the question:

Question1: what is the difference between distance vector protocols and link-state protocols?

Distance vector protocol, also known as distance vector protocol, is a method to determine the best route according to distance vector (hop hop). For example, RIP protocol is a distance vector protocol.

Link-state protocol is a method to get a weight according to the comprehensive consideration of bandwidth, delay and other indicators, and then determine the best route according to the weight. For example, ospf is a kind of link-state protocol.

Question 2: what is the difference between classful and classless routing protocols?

Classful routing is the first to find the main network where the target IP is located. If there is any subnet route of the main network in the routing table, it must accurately match the subnet route. If it does not find an exact matching subnet route, it will not choose the last default route, but will discard the message.

Classless routing can be declared and learned by arbitrarily changing the mask length.

What is the difference between question 3:RIP v1 and RIP v2?

RIPv1 is a classful routing protocol and RIPv2 is a classless routing protocol.

RIPv1 cannot support VLSM,RIPv2 can support VLSM

RIPv1 does not have the function of authentication, RIPv2 can support authentication, and there are both plaintext and MD5 authentication

RIPv1 does not have the function of manual summarization. RIPv2 can do manual summarization on the premise of turning off automatic summarization.

RIPv1 is a broadcast update and RIPv2 is a multicast update

RIPv1 does not tag routes. RIPv2 can mark routes (tag) for filtering and policy.

The updata sent by RIPv1 can carry a maximum of 25 route entries, and RIPv2 can only carry a maximum of 24 routes with authentication.

There is no next-hop attribute in the updata packet sent by RIPv1. RIPv2 has a next-hop attribute, which can be reset with routing updates.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report