当前位置:网站首页>Static extension configuration

Static extension configuration

2022-07-24 00:55:00 .98℃

Catalog

1. requirement :

 2. Topological division :

3. analysis :

4. To configure :

1. Configuration of loopback address , Direct interface IP Divide  

2. Static routing settings and r3 and r5 Floating between

 3. Spare configuration

4. Configure the necessary empty interface  

5. test


 

1. requirement :

b7da0dc521834c83a1e89e5b8162c85b.png

 2. Topological division :

bc0751ff814a47e1bc7a0cd0f12862b7.png

3. analysis :

  1. Divide reasonably according to the topological structure IP Address , Provide support for later manual summary , And avoid black holes
  2. You need to write a default route , So as not to write directly 5.5.5.0/24 The route of can also be accessed
  3. r4 and r5 The two lines between need to be configured with floating static

4. To configure :

1. Configuration of loopback address , Direct interface IP Divide  

[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.209 28
[r1]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.1.225  28

[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.210 28
[r2]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 192.168.1.194 28

[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 192.168.1.17 28
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.1.193 28
[r4-GigabitEthernet0/0/0]int g0/0/2
[r4-GigabitEthernet0/0/2]ip add 192.168.1.81 28
[r4-GigabitEthernet0/0/1]int g4/0/0
[r4-GigabitEthernet4/0/0]ip add 192.168.1.65 28

[r4]int g0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.1.226 28
[r4-GigabitEthernet0/0/2]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 192.168.1.18 28

[r5]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 192.168.1.66 28
[r5-GigabitEthernet0/0/0]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add 192.168.1.82 28

2. Static routing settings and r3 and r5 Floating between

[r1]ip route-static 192.168.1.64 26 192.168.1.210
[r1]ip route-static 192.168.1.192 28 192.168.1.210
[r1]ip route-static 192.168.1.128 27 192.168.1.210
[r1]ip route-static 192.168.1.0 26 192.168.1.226
	
[r2]ip route-static 192.168.1.160 27 192.168.1.209
[r2]ip route-static 192.168.1.224 28 192.168.1.209
[r2]ip route-static 192.168.1.0 25 192.168.1.193
	
[r3]ip route-static 192.168.1.128 26 192.168.1.194
[r3]ip route-static 192.168.1.208 28 192.168.1.194
[r3]ip route-static 192.168.1.224 28 192.168.1.18
[r3]ip route-static 192.168.1.32 27 192.168.1.18

[r4]ip route-static 192.168.1.128 25 192.168.1.225
[r4]ip route-static 192.168.1.64 26 192.168.1.17

[r5]ip route-static 192.168.1.16 26 192.168.1.65
[r5]ip route-static 192.168.1.16 26 192.168.1.81 preference 100
[r5]ip route-static 192.168.1.96 27 192.168.1.65
[r5]ip route-static 192.168.1.96 27 192.168.1.65 preference 100
[r5]ip route-static 192.168.1.128 25 192.168.1.65
[r5]ip route-static 192.168.1.128 25 192.168.1.81 preference 100

 3. Default configuration

[r1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.226

[r2]ip route-static 0.0.0.0 0.0.0.0 192.168.1.193

[r3]ip route-static 0.0.0.0 0.0.0.0 192.168.1.66
[r3]ip route-static 0.0.0.0 0.0.0.0 192.168.1.82 preference 100

[r4]ip route-static 0.0.0.0 0.0.0.0 192.168.1.17

4. Configure the necessary empty interface  

[r3]ip route-static 192.168.1.64 26 NULL 0

[r4]ip route-s 192.168.1.0 26 NULL 0
[r4]ip route-s 192.168.1.128 25 NULL 0
[r4]ip route-s 192.168.1.32 27 NULL 0

5. test

9e0a1dff78fb4dffadd03797d48ba0b8.png

243588d32abe497f97503bb3fbd85731.png

eb52cca3f84541cea012e64598e0340b.png

89b18ce2826d4674bde40cc8cd2eebf7.png

 3e9b43a6d6b24afaad1d5928d2372abf.png

 

原网站

版权声明
本文为[.98℃]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/204/202207230540476028.html