当前位置:网站首页>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 !
边栏推荐
猜你喜欢

Dynamic memory management

Intelligent gateway helps improve industrial data acquisition and utilization

Hands on deep learning (40) -- short and long term memory network (LSTM)

Number of relationship models

品牌连锁店5G/4G无线组网方案

system design

Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment

Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}

六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽

入职中国平安三周年的一些总结
随机推荐
Velodyne configuration command
Hands on deep learning (40) -- short and long term memory network (LSTM)
Exercise 7-2 finding the maximum value and its subscript (20 points)
Service developers publish services based on EDAs
Some summaries of the third anniversary of joining Ping An in China
Does any teacher know how to inherit richsourcefunction custom reading Mysql to do increment?
Kotlin 集合操作汇总
Three schemes of ZK double machine room
六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽
Rhcsa day 9
AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
leetcode842. Split the array into Fibonacci sequences
Go context basic introduction
uniapp 处理过去时间对比现在时间的时间差 如刚刚、几分钟前,几小时前,几个月前
Write a mobile date selector component by yourself
Exercise 7-8 converting strings to decimal integers (15 points)
Architecture introduction
Sword finger offer 31 Stack push in and pop-up sequence
How to teach yourself to learn programming
Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)