Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Network configuration dynamic routing

Shulou Source: shulou.com Published: 2022-06-01 04:49:25 10月04日 Update

Network Configuration Dynamic Routing

Introduction:

Dynamic routing protocols generate and maintain routing tables required by forwarding engines through the exchange of routing information. Dynamic routing protocols can update routing tables automatically when network topology changes, and are responsible for determining the best path for data transmission.

In dynamic routing, administrators no longer have to manually maintain routing tables on routers, as in static routing, but instead run a routing protocol on each router. This routing protocol generates routing entries in the routing table based on the configuration of the interfaces on the router (such as the configuration of IP addresses) and the state of the connected links.

I. Experimental topology:

II. Objective:

Practical: configuring dynamic routing using networks.

III. Experimental environment:

router

interface

IP address

R1

e1/1

192.168.80.254/24

R1

e1/0

192.168.90.1/24

R2

e1/0

192.168.100.1/24

R3

e2/0

192.168.100.2/ 24

R3

e1/0

192.168.100.1 /24

C1

192.168.80.0 /24

Sw1

192.168.90.0/ 24

Sw2

192.168.110.0 /24

IV. Experimental Code:

R1(requires 4 Ethernet interfaces)

R1

config t

R1(config)int e1/1

R1(config)ip add 192.168.80.254 255.255.255.0

R1(config)int e1/0

R1(config)ip add 192.168.90.1 255.255.255.0

R2 (requires 4 Ethernet interfaces and 4 WAN interfaces)

config t

R2(config)int e1/0

R2(config)ip add 192.168.90.2 255.255.255.0

R2ping 192.168.90.1

R2(config)interface serial 2/0

R2(config)no shut

R2(config)clock rate 64000 Add clock rate

R2(config)ip address 192.168.100.1 255.255.255.0

R3 (requires 4 Ethernet interfaces and 4 WAN interfaces)

config

R3(config)interface serial 2/0

R3(config)ip add 192.168.100.2 255.255.255.0

R3ping 192.168.100.1

R3(config)int e1/0

R3(config)no shut

R3(config)ip add 192.168.110.1 255.255.255.0

R3(config)int e1/0

R3(config)no shut

Virtual machine configuration:

PingR1 (192.168.80.254) with virtual machine

------------------------------

R1

R1(config)router rip Run the rip protocol

R1(config)network 192.168.80.0 Specifies which interfaces on the router will be RIP enabled

R1(config)network 192.168.90.0

R2

R2(config)router rip

R2(config)network 192.168.100.0

R2(config)network 192.168.90.0

R3

R3(config)router rip

R3(config)network 192.168.110.0

R3(config)network 192.168.100.0

R1

R1(config)show ip route

Bottle R3 on VM:

Tracing paths on virtual machines:

Complete Configuration Verification:

Summary of experiments and observations:

1. Enabling RIP allows multiple routers to learn from each other how to navigate each network;

2. Only by doing it yourself can you know how much you will do.

3. The paper finally came to feel shallow, aware of this matter to practice.

Tags: Routing interface configuration dynamic router lab network Ethernet address Ethernet WAN topology path generation run hands-on code information protocol only Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB macOS vpn OPPO Reno Shulou Information