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

OSPF advanced application

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

Share

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

Realizing full access to the whole network through OSPF protocol

R1 configuration

!

!

Interface Loopback0

Ip address 1.1.1.1 255.255.255.255

!

Interface Loopback1

Ip address 192.168.0.1 255.255.255.0

!

Interface Loopback2

Ip address 192.168.1.1 255.255.255.0

!

Interface FastEthernet0/0

Ip address 10.0.0.5 255.255.255.252

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.1 255.255.255.252

Duplex auto

Speed auto

!

Routerospf 1

Router-id 1.1.1.1

Log-adjacency-changes

Area 1 nssa

Network 1.1.1.1 0.0.0.0 area 0

Network 10.0.0.0 0.0.0.3 area 0

Network 10.0.0.4 0.0.0.3 area 1

Network 192.168.0.0 0.0.0.255 area 0

Network 192.168.1.0 0.0.0.255 area 0

!

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets

C 1.1.1.1 is directly connected, Loopback0

2.0.0.0/32 is subnetted, 1 subnets

O 2.2.2.2 [110/11] via 10.0.0.2, 00:14:38, FastEthernet0/1

3.0.0.0/32 is subnetted, 1 subnets

O IA 3.3.3.3 [110/21] via 10.0.0.2, 00:14:38, FastEthernet0/1

192.168.8.0 Compact 29 is subnetted, 1 subnets / / message type static

O N2 192.168.8.0 [110swap 20] via 10.0.0.6 dagger 0012 NSSA 51, N2 in the region of FastEthernet0/0 / /

4.0.0.0/32 is subnetted, 1 subnets

O IA 4.4.4.4 [110/31] via 10.0.0.2, 00:12:56, FastEthernet0/1

5.0.0.0/32 is subnetted, 1 subnets

O 5.5.5.5 [110/11] via 10.0.0.6, 00:24:24, FastEthernet0/0

192.168.4.0/32 is subnetted, 1 subnets

O IA 192.168.4.1 [110/31] via 10.0.0.2, 00:12:58, FastEthernet0/1

192.168.5.0/32 is subnetted, 1 subnets

O 192.168.5.1 [110/11] via 10.0.0.6, 00:24:25, FastEthernet0/0

10.0.0.0/30 is subnetted, 4 subnets

O IA 10.0.0.8 [110/20] via 10.0.0.2, 00:14:40, FastEthernet0/1

O IA 10.0.0.12 [110/30] via 10.0.0.2, 00:14:40, FastEthernet0/1

C 10.0.0.0 is directly connected, FastEthernet0/1

C 10.0.0.4 is directly connected, FastEthernet0/0

C 192.168.0.0/24 is directly connected, Loopback1

C 192.168.1.0/24 is directly connected, Loopback2

192.168.2.0/32 is subnetted, 1 subnets

O 192.168.2.1 [110/11] via 10.0.0.2, 00:14:40, FastEthernet0/1

192.168.3.0/32 is subnetted, 1 subnets

O IA 192.168.3.1 [110/21] via 10.0.0.2, 00:14:40, FastEthernet0/1

R1# shipos ne

Neighbor ID Pri State Dead Time Address Interface

2.2.2.2 1 FULL/DR 00:00:34 10.0.0.2 FastEthernet0/1

5.5.5.5 1 FULL/DR 00:00:30 10.0.0.6 FastEthernet0/0

R1#sh ipos da

OSPF Router with ID (1.1.1.1) (Process ID 1)

RouterLink States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

1.1.1.1 1.1.1.1 868 0x80000005 0x0020D6 4

2.2.2.2 2.2.2.2 67 0x80000006 0x0036F4 4

3.3.3.3 3.3.3.3 2 (DNA) 0x80000002 0x0008E9 1

NetLink States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.0.0.2 2.2.2.2 839 0x80000003 0x002DED

SummaryNet Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

3.3.3.3 2.2.2.2 839 0x80000003 0x002DEE

3.3.3.3 3.3.3.3 888 (DNA) 0x80000001 0x00AE75

4.4.4.4 3.3.3.3 2 (DNA) 0x80000001 0x00E431

5.5.5.5 1.1.1.1 868 0x80000003 0x00EE29

10.0.0.4 1.1.1.1 868 0x80000004 0x000D14

10.0.0.8 2.2.2.2 839 0x80000004 0x00C652

10.0.0.8 3.3.3.3 888 (DNA) 0x80000001 0x00AE69

10.0.0.12 3.3.3.3 888 (DNA) 0x80000001 0x00868D

192.168.3.1 2.2.2.2 841 0x80000003 0x00DADF

192.168.3.1 3.3.3.3 888 (DNA) 0x80000001 0x005C66

192.168.4.1 3.3.3.3.3 2 (DNA) 0x80000001 0x00B502

192.168.5.1 1.1.1.1 870 0x80000003 0x00E2D9

RouterLink States (Area 1)

Link ID ADV Router Age Seq# Checksum Link count

1.1.1.1 1.1.1.1 870 0x80000005 0x0020D5 1

5.5.5.5 5.5.5.5 106 0x80000006 0x0073BB 3

NetLink States (Area 1)

Link ID ADV Router Age Seq# Checksum

10.0.0.6 5.5.5.5 836 0x80000003 0x00B642

SummaryNet Link States (Area 1)

Link ID ADV Router Age Seq# Checksum

1.1.1.1 1.1.1.1 870 0x80000003 0x00E843

2.2.2.2 1.1.1.1 871 0x80000003 0x001FFE

3.3.3.3 1.1.1.1 871 0x80000003 0x0055BA

4.4.4.4 1.1.1.1 109 0x80000002 0x008D75

10.0.0.0 1.1.1.1 871 0x80000004 0x00DA44

10.0.0.8 1.1.1.1 871 0x80000003 0x00F01D

10.0.0.12 1.1.1.1 109 0x80000002 0x002FD1

192.168.0.1 1.1.1.1 871 0x80000003 0x005B6A

192.168.1.1 1.1.1.1 871 0x80000003 0x005074

192.168.2.1 1.1.1.1 871 0x80000003 0x00A910

192.168.3.1 1.1.1.1 871 0x80000003 0x0003AB

192.168.4.1 1.1.1.1 109 0x80000002 0x005E46

Type-7AS External Link States (Area 1)

Link ID ADV Router Age Seq# Checksum Tag

192.168.8.0 5.5.5.5 39 0x80000001 0x000F99 0

Type-5AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

192.168.8.0 1.1.1.1 38 0x80000001 0x001CA6 0

R2 configuration

!

Interface Loopback0

Ip address 2.2.2.2 255.255.255.255

!

Interface Loopback1

Ip address 192.168.2.1 255.255.255.0

!

Interface FastEthernet0/0

Ip address 10.0.0.9 255.255.255.252

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.2 255.255.255.252

Duplex auto

Speed auto

!

Routerospf 1

Router-id 2.2.2.2

Log-adjacency-changes

Area 2 virtual-link3.3.3.3 / / virtual link

Network 2.2.2.2 0.0.0.0 area 0

Network 10.0.0.0 0.0.0.3 area 0

Network 10.0.0.8 0.0.0.3 area 2

Network 192.168.2.0 0.0.0.255 area 0

!

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/11] via 10.0.0.1, 00:14:04, FastEthernet0/1

2.0.0.0/32 is subnetted, 1 subnets

C 2.2.2.2 is directly connected, Loopback0

3.0.0.0/32 is subnetted, 1 subnets

O 3.3.3.3 [110/11] via 10.0.0.10, 00:17:13, FastEthernet0/0

192.168.8.0/29 issubnetted, 1 subnets

O E2 192.168.8.0 [110/20] via 10.0.0.1,00:14:04, FastEthernet0/1

4.0.0.0/32 is subnetted, 1 subnets

O IA 4.4.4.4 [110/21] via 10.0.0.10, 00:14:04, FastEthernet0/0

5.0.0.0/32 is subnetted, 1 subnets

O IA 5.5.5.5 [110/21] via 10.0.0.1, 00:14:05, FastEthernet0/1

192.168.4.0/32 is subnetted, 1 subnets

O IA 192.168.4.1 [110/21] via 10.0.0.10, 00:14:07, FastEthernet0/0

192.168.5.0/32 is subnetted, 1 subnets

O IA 192.168.5.1 [110/21] via 10.0.0.1, 00:14:07, FastEthernet0/1

10.0.0.0/30 is subnetted, 4 subnets

C 10.0.0.8 is directly connected, FastEthernet0/0

O IA 10.0.0.12 [110/20] via 10.0.0.10, 00:14:07, FastEthernet0/0

C 10.0.0.0 is directly connected, FastEthernet0/1

O IA 10.0.0.4 [110/20] via 10.0.0.1, 00:14:07, FastEthernet0/1

192.168.0.0/32 is subnetted, 1 subnets

O 192.168.0.1 [110/11] via 10.0.0.1, 00:14:07, FastEthernet0/1

192.168.1.0/32 is subnetted, 1 subnets

O 192.168.1.1 [110/11] via 10.0.0.1, 00:14:07, FastEthernet0/1

C 192.168.2.0/24 is directly connected, Loopback1

192.168.3.0/32 is subnetted, 1 subnets

O 192.168.3.1 [110/11] via 10.0.0.10, 00:17:16, FastEthernet0/0

R2 (config-router) # do shipos ne

Neighbor ID Pri State Dead Time Address Interface

3.3.3.3 0 FULL/-10.0.0.10 OSPF_VL4

1.1.1.1 1 FULL/BDR 00:00:37 10.0.0.1 FastEthernet0/1

3.3.3.3 1 FULL/DR 00:00:30 10.0.0.10 FastEthernet0/0

R2 (config-router) # do shipos da

OSPF Router with ID (2.2.2.2) (Process ID 1)

RouterLink States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

1.1.1.1 1.1.1.1 1886 0x80000004 0x0022D5 4

2.2.2.2 2.2.2.2 1111 0x80000005 0x0038F3 4

3.3.3.3 3.3.3.3 1 (DNA) 0x80000002 0x0008E9 1

NetLink States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.0.0.2 2.2.2.2 1897 0x80000002 0x002FEC

SummaryNet Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

3.3.3.3 2.2.2.2 1897 0x80000002 0x002FED

3.3.3.3 3.3.3.887 (DNA) 0x80000001 0x00AE75

4.4.4.4 3.3.3.3 1 (DNA) 0x80000001 0x00E431

5.5.5.5 1.1.1.1 1886 0x80000002 0x00F028

10.0.0.4 1.1.1.1 1886 0x80000003 0x000F13

10.0.0.8 2.2.2.2 1897 0x80000003 0x00C851

10.0.0.8 3.3.3.3 887 (DNA) 0x80000001 0x00AE69

10.0.0.12 3.3.3.3 887 (DNA) 0x80000001 0x00868D

192.168.3.1 2.2.2.2 1900 0x80000002 0x00DCDE

192.168.3.1 3.3.3.3 887 (DNA) 0x80000001 0x005C66

192.168.4.1 3.3.3.3 1 (DNA) 0x80000001 0x00B502

192.168.5.1 1.1.1.1 1888 0x80000002 0x00E4D8

RouterLink States (Area 2)

Link ID ADV Router Age Seq# Checksum Link count

2.2.2.2 2.2.2.2 1113 0x80000005 0x009455 1

3.3.3.3 3.3.3.3 1114 0x80000006 0x00192B 3

NetLink States (Area 2)

Link ID ADV Router Age Seq# Checksum

10.0.0.10 3.3.3.3 1859 0x80000002 0x0015F2

SummaryNet Link States (Area 2)

Link ID ADV Router Age Seq# Checksum

1.1.1.1 2.2.2.2 1900 0x80000002 0x008B99

2.2.2.2 2.2.2.2 1901 0x80000002 0x00F832

4.4.4.4 3.3.3.3 999 0x80000001 0x00E431

5.5.5.5 2.2.2.2 1901 0x80000002 0x0037D3

10.0.0.0 2.2.2.2 1901 0x80000003 0x001909

10.0.0.4 2.2.2.2 1901 0x80000002 0x0057BD

10.0.0.12 3.3.3.3 115 0x80000002 0x00848E

192.168.0.1 2.2.2.2 1901 0x80000002 0x00FDC0

192.168.1.1 2.2.2.2 1901 0x80000002 0x00F2CA

192.168.2.1 2.2.2.2 1901 0x80000002 0x008343

192.168.4.1 3.3.3.3 999 0x80000001 0x00B502

192.168.5.1 2.2.2.2 1901 0x80000002 0x002B84

SummaryASB Link States (Area 2)

Link ID ADV Router Age Seq# Checksum

1.1.1.1 2.2.2.2 1901 0x80000002 0x0073B1

1.1.1.1 3.3.3.3 1111 0x80000001 0x00BB5C

Type-5AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

192.168.8.0 1.1.1.1 1676 0x80000001 0x0015AD 0

R3 configuration

Interface Loopback0

Ip address 3.3.3.3 255.255.255.255

!

Interface Loopback1

Ip address 192.168.3.1 255.255.255.0

!

Interface FastEthernet0/0

Ip address 10.0.0.10 255.255.255.252

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.13 255.255.255.252

Duplex auto

Speed auto

!

Routerospf 1

Router-id 3.3.3.3

Log-adjacency-changes

Area 2 virtual-link 2.2.2.2 / / Virtual Link configuration

Area 3 stub no-summary / / full stub area ABR configuration

Network 3.3.3.3 0.0.0.0 area 2

Network 10.0.0.8 0.0.0.3 area 2

Network 10.0.0.12 0.0.0.3 area 3

Network 192.168.3.0 0.0.0.255 area 2

R3 (config-router) # do shipos ne

Neighbor ID Pri State Dead Time Address Interface

2.2.2.2 0 FULL/-10.0.0.9 OSPF_VL1

2.2.2.2 1 FULL/BDR 00:00:29 10.0.0.9 FastEthernet0/0

4.4.4.4 1 FULL/DR 00:00:35 10.0.0.14 FastEthernet0/1

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/21] via 10.0.0.9, 00:16:36, FastEthernet0/0

2.0.0.0/32 is subnetted, 1 subnets

O 2.2.2.2 [110/11] via 10.0.0.9, 00:16:36, FastEthernet0/0

3.0.0.0/32 is subnetted, 1 subnets

C 3.3.3.3 is directly connected, Loopback0

192.168.8.0 Compact 29 issubnetted, 1 subnets / / message type static

O E2 192.168.8.0 [110swap 20] via 10.0.0.9 relegated 00V 16VR 36, FastEthernet0/0 / / LAS 4 flooding notice

4.0.0.0/32 is subnetted, 1 subnets

O 4.4.4.4 [110/11] via 10.0.0.14, 00:16:36, FastEthernet0/1

5.0.0.0/32 is subnetted, 1 subnets

O IA 5.5.5.5 [110/31] via 10.0.0.9, 00:16:37, FastEthernet0/0

192.168.4.0/32 is subnetted, 1 subnets

O 192.168.4.1 [110/11] via 10.0.0.14, 00:16:39, FastEthernet0/1

192.168.5.0/32 is subnetted, 1 subnets

O IA 192.168.5.1 [110/31] via 10.0.0.9, 00:16:39, FastEthernet0/0

10.0.0.0/30 is subnetted, 4 subnets

C 10.0.0.8 is directly connected, FastEthernet0/0

C 10.0.0.12 is directly connected, FastEthernet0/1

O 10.0.0.0 [110/20] via 10.0.0.9, 00:16:39, FastEthernet0/0

O IA 10.0.0.4 [110/30] via 10.0.0.9, 00:16:39, FastEthernet0/0

192.168.0.0/32 is subnetted, 1 subnets

O 192.168.0.1 [110/21] via 10.0.0.9, 00:16:39, FastEthernet0/0

192.168.1.0/32 is subnetted, 1 subnets

O 192.168.1.1 [110/21] via 10.0.0.9, 00:16:39, FastEthernet0/0

192.168.2.0/32 is subnetted, 1 subnets

O 192.168.2.1 [110/11] via 10.0.0.9, 00:16:39, FastEthernet0/0

C 192.168.3.0/24 is directly connected, Loopback1

R3 (config-router) # do shipos da

OSPF Router with ID (3.3.3.3) (Process ID 1)

RouterLink States (Area 0)

Link ID ADV Router Age Seq# Checksum Link count

1.1.1.1 1.1.1.1 775 (DNA) 0x80000004 0x0022D5 4

2.2.2.2 2.2.2.2 1 (DNA) 0x80000005 0x0038F3 4

3.3.3.3 3.3.3.3 1293 0x80000002 0x0008E9 1

NetLink States (Area 0)

Link ID ADV Router Age Seq# Checksum

10.0.0.2 2.2.2.2 786 (DNA) 0x80000002 0x002FEC

SummaryNet Link States (Area 0)

Link ID ADV Router Age Seq# Checksum

3.3.3.3 2.2.2.2 786 (DNA) 0x80000002 0x002FED

3.3.3.3 3.3.3.3 293 0x80000002 0x00AC76

4.4.4.4 3.3.3.3 1177 0x80000001 0x00E431

5.5.5.5 1.1.1.1 775 (DNA) 0x80000002 0x00F028

10.0.0.4 1.1.1.1 775 (DNA) 0x80000003 0x000F13

10.0.0.8 2.2.2.2 786 (DNA) 0x80000003 0x00C851

10.0.0.8 3.3.3.3 295 0x80000002 0x00AC6A

10.0.0.12 3.3.3.3 295 0x80000002 0x00848E

192.168.3.1 2.2.2.2 786 (DNA) 0x80000002 0x00DCDE

192.168.3.1 3.3.3.3 295 0x80000002 0x005A67

192.168.4.1 3.3.3.3 1179 0x80000001 0x00B502

192.168.5.1 1.1.1.1 775 (DNA) 0x80000002 0x00E4D8

RouterLink States (Area 2)

Link ID ADV Router Age Seq# Checksum Link count

2.2.2.2 2.2.2.2 1296 0x80000005 0x009455 1

3.3.3.3 3.3.3.3 1295 0x80000006 0x00192B 3

NetLink States (Area 2)

Link ID ADV Router Age Seq# Checksum

10.0.0.10 3.3.3.3 43 0x80000003 0x0013F3

SummaryNet Link States (Area 2)

Link ID ADV Router Age Seq# Checksum

1.1.1.1 2.2.2.2 27 0x80000003 0x00899A

2.2.2.2 2.2.2.2 29 0x80000003 0x00F633

4.4.4.4 3.3.3.3 1181 0x80000001 0x00E431

5.5.5.5 2.2.2.2 29 0x80000003 0x0035D4

10.0.0.0 2.2.2.2 29 0x80000004 0x00170A

10.0.0.4 2.2.2.2 29 0x80000003 0x0055BE

10.0.0.12 3.3.3.3 297 0x80000002 0x00848E

192.168.0.1 2.2.2.2 29 0x80000003 0x00FBC1

192.168.1.1 2.2.2.2 29 0x80000003 0x00F0CB

192.168.2.1 2.2.2.2 29 0x80000003 0x008144

192.168.4.1 3.3.3.3 1181 0x80000001 0x00B502

192.168.5.1 2.2.2.2 29 0x80000003 0x002985

SummaryASB Link States (Area 2)

Link ID ADV Router Age Seq# Checksum

1.1.1.1 2.2.2.2 29 0x80000003 0x0071B2

1.1.1.1 3.3.3.3 1292 0x80000001 0x00BB5C

RouterLink States (Area 3)

Link ID ADV Router Age Seq# Checksum Link count

3.3.3.3 3.3.3.3 1184 0x80000007 0x00B627 1

4.4.4.4 4.4.4.4 84 0x80000005 0x002A0D 3

NetLink States (Area 3)

Link ID ADV Router Age Seq# Checksum

10.0.0.14 4.4.4.4 84 0x80000003 0x003FB9

SummaryNet Link States (Area 3)

Link ID ADV Router Age Seq# Checksum

0.0.0.0 3.3.3.3 1188 0x80000001 0x0057DA

Type-5AS External Link States

Link ID ADV Router Age Seq# Checksum Tag

192.168.8.0 1.1.1.1 1859 0x80000001 0x0015AD 0

R4 configuration

!

Interface Loopback0

Ip address 4.4.4.4 255.255.255.255

!

Interface Loopback1

Ip address 192.168.4.1 255.255.255.0

!

Interface FastEthernet0/0

Noip address

Shutdown

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.14 255.255.255.252

Duplex auto

Speed auto

!

Routerospf 1

Router-id 4.4.4.4

Log-adjacency-changes

Area 3 stub / / Router configuration in the full stub area

Network 4.4.4.4 0.0.0.0 area 3

Network 10.0.0.12 0.0.0.3 area 3

Network 192.168.4.0 0.0.0.255 area 3

!

R4# shipos ne

Neighbor ID Pri State Dead Time Address Interface

3.3.3.3 1 FULL/BDR 00:00:31 10.0.0.13 FastEthernet0/1

Gateway of last resort is 10.0.0.13 tonetwork 0.0.0.0

4.0.0.0/32 is subnetted, 1 subnets

C 4.4.4.4 is directly connected, Loopback0

C 192.168.4.0/24 is directly connected, Loopback1

10.0.0.0/30 is subnetted, 1 subnets

C 10.0.0.12 is directly connected, FastEthernet0/1

O*IA 0.0.0.0 O*IA 0 [110ax 11] via 10.0.0.13, 00:21:21, FastEthernet0/1 / / full stub area gets the default

R5 configuration

!

Interface Loopback0

Ip address 5.5.5.5 255.255.255.255

!

Interface Loopback1

Ip address 192.168.5.1 255.255.255.0

!

Interface FastEthernet0/0

Ip address 10.0.0.6 255.255.255.252

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.17 255.255.255.252

Duplex auto

Speed auto

!

Routerospf 1

Router-id 5.5.5.5

Log-adjacency-changes

Area 1 nssa

Summary-address 192.168.0255.255.248.0 / / ASBR network segment summary

Redistribute static subnets / / static redistribution

Network 5.5.5.5 0.0.0.0 area 1

Network 10.0.0.4 0.0.0.3 area 1

Network 192.168.5.0 0.0.0.255 area 1

!

Ip route 192.168.8.0 255.255.255.24810.0.0.18

!

R5 (config-router) # do shipos ne

Neighbor ID Pri State Dead Time Address Interface

1.1.1.1 1 FULL/BDR 00:00:34 10.0.0.5 FastEthernet0/0

Gateway of last resort is not set

1.0.0.0/32 is subnetted, 1 subnets

O IA 1.1.1.1 [110/11] via 10.0.0.5, 00:05:44, FastEthernet0/0

2.0.0.0/32 is subnetted, 1 subnets

O IA 2.2.2.2 [110/21] via 10.0.0.5, 00:05:44, FastEthernet0/0

3.0.0.0/32 is subnetted, 1 subnets

O IA 3.3.3.3 [110/31] via 10.0.0.5, 00:05:44, FastEthernet0/0

4.0.0.0/32 is subnetted, 1 subnets

O IA 4.4.4.4 [110/41] via 10.0.0.5, 00:05:44, FastEthernet0/0

5.0.0.0/32 is subnetted, 1 subnets

C 5.5.5.5 is directly connected, Loopback0

192.168.4.0/32 is subnetted, 1 subnets

O IA 192.168.4.1 [110/41] via 10.0.0.5, 00:05:46, FastEthernet0/0

C 192.168.5.0/24is directly connected, Loopback1

10.0.0.0/30 is subnetted, 5 subnets

O IA 10.0.0.8 [110/30] via 10.0.0.5, 00:05:46, FastEthernet0/0

O IA 10.0.0.12 [110/40] via 10.0.0.5, 00:05:46, FastEthernet0/0

O IA 10.0.0.0 [110/20] via 10.0.0.5, 00:05:46, FastEthernet0/0

C 10.0.0.4 is directly connected, FastEthernet0/0

C 10.0.0.16 is directly connected, FastEthernet0/1

192.168.0.0/32 is subnetted, 1 subnets

O IA 192.168.0.1 [110/11] via 10.0.0.5, 00:05:46, FastEthernet0/0

192.168.1.0/32 is subnetted, 1 subnets

O IA 192.168.1.1 [110/11] via 10.0.0.5, 00:05:46, FastEthernet0/0

192.168.2.0/32 is subnetted, 1 subnets

O IA 192.168.2.1 [110/21] via 10.0.0.5, 00:05:46, FastEthernet0/0

192.168.3.0/32 is subnetted, 1 subnets

O IA 192.168.3.1 [110/31] via 10.0.0.5, 00:05:46, FastEthernet0/0

S 192.168.8.0/21 [1/0] via 10.0.0.18

R6 configuration

!

Interface Loopback0

Ip address 192.168.8.1 255.255.255.0

!

Interface Loopback1

Ip address 192.168.9.1 255.255.255.0

!

Interface Loopback2

Ip address 192.168.10.1 255.255.255.0

!

Interface Loopback3

Ip address 192.168.11.1 255.255.255.0

!

Interface FastEthernet0/0

Noip address

Shutdown

Duplex auto

Speed auto

!

Interface FastEthernet0/1

Ip address 10.0.0.18 255.255.255.252

Duplex auto

Speed auto

!

Ip route 0.0.0.0 0.0.0.0 10.0.0.17

!

Gateway of last resort is 10.0.0.17 tonetwork 0.0.0.0

C 192.168.8.0/24 is directly connected, Loopback0

C 192.168.9.0/24 is directly connected, Loopback1

C 192.168.10.0/24 is directly connected, Loopback2

C 192.168.11.0/24 is directly connected, Loopback3

10.0.0.0/30 is subnetted, 1 subnets

C 10.0.0.16 is directly connected, FastEthernet0/1

S* 0.0.0.0 via 0 [1Acer 0] 10.0.0.17

Verify that the whole network is connected in R1.

R1# ping 2.2.2.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 2.2.2.2,timeout is 2 seconds:

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 20-36-68 ms

R1#ping 3.3.3.3

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 3.3.3.3,timeout is 2 seconds:

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 40-52-84 ms

R1#ping 4.4.4.4

Type escape sequence toabort.

Sending 5, 100-byte ICMPEchos to 4.4.4.4, timeout is 2 seconds:

!

Success rate is 100percent (5 + 5), round-trip min/avg/max = 60 + 76 + 100 ms

R1#ping 5.5.5.5

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 5.5.5.5,timeout is 2 seconds:

!

Success rate is 100 percent (5amp 5), round-trip min/avg/max = 20-32-64 ms

R1#ping 192.168.11.1

Type escape sequence toabort.

Sending 5, 100-byte ICMPEchos to 192.168.11.1, timeout is 2 seconds:

!

Success rate is 100percent (5 + 5), round-trip min/avg/max = 32-56-88 ms

R1#ping 192.168.9.1

Type escape sequence toabort.

Sending 5, 100-byte ICMPEchos to 192.168.9.1, timeout is 2 seconds:

!

Success rate is 100percent (5 + 5), round-trip min/avg/max = 40-52-84 ms

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