当前位置:网站首页>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 !
边栏推荐
- Golang Modules
- leetcode729. My schedule 1
- Talk about scalability
- If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
- 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
- Hands on deep learning (35) -- text preprocessing (NLP)
- System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
- Exercise 7-4 find out the elements that are not common to two arrays (20 points)
- Button wizard business running learning - commodity quantity, price reminder, judgment Backpack
- Fabric of kubernetes CNI plug-in
猜你喜欢
Hands on deep learning (34) -- sequence model
Online troubleshooting
智慧路灯杆水库区安全监测应用
Fabric of kubernetes CNI plug-in
Hands on deep learning (40) -- short and long term memory network (LSTM)
leetcode1-3
C language pointer classic interview question - the first bullet
JDBC and MySQL database
Application of safety monitoring in zhizhilu Denggan reservoir area
Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)
随机推荐
Rhcsa day 9
System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
SQL replying to comments
Online troubleshooting
Machine learning -- neural network (IV): BP neural network
Ruby time format conversion strftime MS matching format
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
【Day2】 convolutional-neural-networks
Exercise 8-10 output student grades (20 points)
How to teach yourself to learn programming
PHP代码审计3—系统重装漏洞
Exercise 7-4 find out the elements that are not common to two arrays (20 points)
智能网关助力提高工业数据采集和利用
Hands on deep learning (39) -- gating cycle unit Gru
Development guidance document of CMDB
Hands on deep learning (35) -- text preprocessing (NLP)
Uniapp--- initial use of websocket (long link implementation)
Histogram equalization
7-17 crawling worms (15 points)
Golang type comparison