当前位置:网站首页>Static comprehensive experiment ---hcip1
Static comprehensive experiment ---hcip1
2022-07-04 10:20:00 【Attiude】
Static routing comprehensive experiment
The experimental requirements :
1 One R6 by isp, Interface IP All addresses are public addresses ; This device can only be configured with IP Address , You can't configure it later ﹔
2-R1-R5 For LAN , private IP Address 192.168.1.0/24, Please allocate ﹔
3- Loop back on all routers , All represent the interface connecting users ;4 One R3 Two under FC adopt DHCP Automatic access to IP Address 5- Choose the best way , The routing table should be as small as possible , Avoid loops ;6-R1-R5 You can visit R6 The loopback of
7 One R6telnetR5 Of public ownership IP Address time , Actual login to R1 On
8-R4 And R5 Pass normally 1000 link , In case of failure, pass 100 Megalink ;
Experimental Topology :
1、IP Planning and IP To configure :
ri The backbone :192.168.1.0/30
r1 Loopback :
192.168.1.32/27
192.168.1.32/28
192.168.1.48/28
r2 The backbone :192.168.1.8/30
r1 Loopback :
192.168.1.64/27
192.168.1.64/28
192.168.1.80/28
r3 The backbone :192.168.1.4/30
dhcp Address pool :
192.168.1.96/27
r4 The backbone :192.168.1.12/30
192.168.16/30
r4 Loopback :
192.168.1.128/27
192.168.1.128/28
192.168.1.144/28
r5 The backbone :192.168.1.20/30
r5 Loopback :
192.168.1.160/27
Public network segment :11.1.1.0/24
r6 Loopback :6.6.6.6/24
2. by R3 The two one. PC To configure DHCP service :
[r3]dhcp enable
[r3]ip pool qq
[r3-ip-pool-qq]network 192.168.1.96 mask 27
[r3-ip-pool-qq]gateway-list 192.168.1.97
[r3-ip-pool-qq]dns-list 8.8.8.8
[r3]int g0/0/2
[r3-GigabitEthernet0/0/2]dhcp select global
DHCP Distribute IP success 
## Configure static routing and anti annulus interface , And implement R4 And R5 Pass normally 1000 link , In case of failure, pass 100 Megalink ;:
**r1:**
ip route-static 0.0.0.0 0.0.0.0 192.168.1.6
ip route-static 0.0.0.0 0.0.0.0 192.168.1.2
ip route-static 192.168.1.8 255.255.255.252 192.168.1.2
ip route-static 192.168.1.12 255.255.255.252 192.168.1.6
ip route-static 192.168.1.32 255.255.255.224 NULL0
ip route-static 192.168.1.64 255.255.255.224 192.168.1.2
ip route-static 192.168.1.96 255.255.255.224 192.168.1.6
**r2:**
ip route-static 0.0.0.0 0.0.0.0 192.168.1.10
ip route-static 0.0.0.0 0.0.0.0 192.168.1.13
ip route-static 192.168.1.4 255.255.255.252 192.168.1.1
ip route-static 192.168.1.32 255.255.255.224 192.168.1.1
ip route-static 192.168.1.64 255.255.255.224 NULL0
ip route-static 192.168.1.96 255.255.255.224 192.168.1.1
ip route-static 192.168.1.96 255.255.255.224 192.168.1.10
**r3:**
ip route-static 0.0.0.0 0.0.0.0 192.168.1.14
ip route-static 192.168.1.0 255.255.255.252 192.168.1.5
ip route-static 192.168.1.32 255.255.255.224 192.168.1.5
ip route-static 192.168.1.64 255.255.255.224 192.168.1.5
ip route-static 192.168.1.64 255.255.255.224 192.168.1.14
ip route-static 192.168.1.96 255.255.255.224 NULL0
**r4:**
ip route-static 0.0.0.0 0.0.0.0 192.168.1.18
ip route-static 0.0.0.0 0.0.0.0 192.168.1.22 preference 70
ip route-static 192.168.1.0 255.255.255.252 192.168.1.9
ip route-static 192.168.1.4 255.255.255.252 192.168.1.13
ip route-static 192.168.1.32 255.255.255.224 192.168.1.9
ip route-static 192.168.1.32 255.255.255.224 192.168.1.13
ip route-static 192.168.1.64 255.255.255.224 192.168.1.9
ip route-static 192.168.1.96 255.255.255.224 192.168.1.13
ip route-static 192.168.1.128 255.255.255.224 NULL0
**r5:**
ip route-static 0.0.0.0 0.0.0.0 11.1.1.2
ip route-static 0.0.0.0 0.0.0.0 192.168.1.17
ip route-static 0.0.0.0 0.0.0.0 192.168.1.21
ip route-static 192.168.1.0 255.255.255.252 192.168.1.17
ip route-static 192.168.1.0 255.255.255.252 192.168.1.21 preference 70
ip route-static 192.168.1.4 255.255.255.252 192.168.1.17
ip route-static 192.168.1.4 255.255.255.252 192.168.1.21 preference 70
ip route-static 192.168.1.8 255.255.255.252 192.168.1.17
ip route-static 192.168.1.8 255.255.255.252 192.168.1.21 preference 70
ip route-static 192.168.1.12 255.255.255.252 192.168.1.17
ip route-static 192.168.1.12 255.255.255.252 192.168.1.21 preference 70
ip route-static 192.168.1.32 255.255.255.224 192.168.1.17
ip route-static 192.168.1.32 255.255.255.224 192.168.1.21 preference 70
ip route-static 192.168.1.64 255.255.255.224 192.168.1.17
ip route-static 192.168.1.64 255.255.255.224 192.168.1.21 preference 70
ip route-static 192.168.1.96 255.255.255.224 192.168.1.17
ip route-static 192.168.1.96 255.255.255.224 192.168.1.21 preference 70
ip route-static 192.168.1.128 255.255.255.224 192.168.1.17
ip route-static 192.168.1.128 255.255.255.224 192.168.1.21 preference 70
Test network :
Network wide accessibility 
r4 and r5 After the backup line is completed , Test it :

shutdown r5 Of 0/0/0 After the interface :
nat transformation :
R5:
acl number 2000
rule 5 permit source 192.168.1.0 0.0.0.255
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]nat outbound 2000
Realization R6telnetR5 Of public ownership IP Address time , Actual login to R1 On :
stay R1 Register on and start the service :
aaa
[r1-aaa]local-user mh007 privilege level 15 password cipher 123456
[r1-aaa]local-user mh007 service-type telnet
[r1]user-interface vty 0
[r1-ui-vty0]authentication-mode aaa
R5 On :
[r5-GigabitEthernet0/0/1]nat server protocol tcp global current-interface 23 ins
ide 192.168.1.1 23
We are R6 on telnet Remote login , Log in to R1 On :
thus , It is required to realize all !
边栏推荐
- system design
- Qtreeview+ custom model implementation example
- Dynamic address book
- What are the advantages of automation?
- 直方图均衡化
- Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
- View CSDN personal resource download details
- 基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
- JDBC and MySQL database
- 什么是 DevSecOps?2022 年的定义、流程、框架和最佳实践
猜你喜欢

Write a mobile date selector component by yourself

用数据告诉你高考最难的省份是哪里!

Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address

C language pointer classic interview question - the first bullet

Development guidance document of CMDB

Normal vector point cloud rotation

技术管理进阶——如何设计并跟进不同层级同学的绩效

Reasons and solutions for the 8-hour difference in mongodb data date display

Introduction to extensible system architecture

Hands on deep learning (39) -- gating cycle unit Gru
随机推荐
Hands on deep learning (44) -- seq2seq principle and Implementation
Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
Kotlin: collection use
Laravel文档阅读笔记-How to use @auth and @guest directives in Laravel
Exercise 9-4 finding books (20 points)
Container cloud notes
Dynamic address book
技术管理进阶——如何设计并跟进不同层级同学的绩效
Hands on deep learning (40) -- short and long term memory network (LSTM)
Hands on deep learning (36) -- language model and data set
How can people not love the amazing design of XXL job
Exercise 8-7 string sorting (20 points)
按键精灵跑商学习-商品数量、价格提醒、判断背包
Three schemes of ZK double machine room
对于程序员来说,伤害力度最大的话。。。
The future education examination system cannot answer questions, and there is no response after clicking on the options, and the answers will not be recorded
Legion is a network penetration tool
Custom type: structure, enumeration, union
uniapp 处理过去时间对比现在时间的时间差 如刚刚、几分钟前,几小时前,几个月前
直方图均衡化