当前位置:网站首页>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 !
边栏推荐
- Regular expression (I)
- Ruby time format conversion strftime MS matching format
- Dynamic memory management
- Golang defer
- AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
- leetcode1-3
- leetcode1-3
- Es entry series - 6 document relevance and sorting
- 【Day2】 convolutional-neural-networks
- Hands on deep learning (32) -- fully connected convolutional neural network FCN
猜你喜欢
品牌连锁店5G/4G无线组网方案
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
Hands on deep learning (45) -- bundle search
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
Latex error: missing delimiter (. Inserted) {\xi \left( {p,{p_q}} \right)} \right|}}
Rhcsa day 9
【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法
Work order management system OTRs
Machine learning -- neural network (IV): BP neural network
libmysqlclient. so. 20: cannot open shared object file: No such file or directory
随机推荐
Devop basic command
Hands on deep learning (32) -- fully connected convolutional neural network FCN
Exercise 7-4 find out the elements that are not common to two arrays (20 points)
华为联机对战如何提升玩家匹配成功几率
2021-08-11 function pointer
Debug:==42==ERROR: AddressSanitizer: heap-buffer-overflow on address
Button wizard business running learning - commodity quantity, price reminder, judgment Backpack
Pcl:: fromrosmsg alarm failed to find match for field 'intensity'
uniapp---初步使用websocket(长链接实现)
System.currentTimeMillis() 和 System.nanoTime() 哪个更快?别用错了!
Ruby时间格式转换strftime毫秒匹配格式
Work order management system OTRs
Delayed message center design
Use the data to tell you where is the most difficult province for the college entrance examination!
Realsense of d435i, d435, d415, t265_ Matching and installation of viewer environment
Machine learning -- neural network (IV): BP neural network
【Day2】 convolutional-neural-networks
Kotlin:集合使用
Latex insert picture, insert formula
Exercise 9-4 finding books (20 points)