当前位置:网站首页>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 !
边栏推荐
- Rhcsa day 10 operation
- MongoDB数据日期显示相差8小时 原因和解决方案
- Exercise 8-10 output student grades (20 points)
- Kotlin: collection use
- 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
- What are the advantages of automation?
- Lavel document reading notes -how to use @auth and @guest directives in lavel
- uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
- Network disk installation
- uniapp---初步使用websocket(长链接实现)
猜你喜欢
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
Custom type: structure, enumeration, union
Today's sleep quality record 78 points
Some summaries of the third anniversary of joining Ping An in China
Hands on deep learning (40) -- short and long term memory network (LSTM)
C language pointer interview question - the second bullet
Three schemes of ZK double machine room
Dynamic address book
Introduction to extensible system architecture
uniapp 小于1000 按原数字显示 超过1000 数字换算成10w+ 1.3k+ 显示
随机推荐
Button wizard business running learning - commodity quantity, price reminder, judgment Backpack
leetcode842. Split the array into Fibonacci sequences
Hands on deep learning (43) -- machine translation and its data construction
Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 1
Dynamic address book
用数据告诉你高考最难的省份是哪里!
Three schemes of ZK double machine room
Dynamic memory management
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
How to teach yourself to learn programming
Tables in the thesis of latex learning
【Day1】 deep-learning-basics
Exercise 9-1 time conversion (15 points)
Introduction to extensible system architecture
Hands on deep learning (45) -- bundle search
Golang Modules
对于程序员来说,伤害力度最大的话。。。
今日睡眠质量记录78分
Write a mobile date selector component by yourself
MongoDB数据日期显示相差8小时 原因和解决方案