当前位置:网站首页>Hcip review (1)
Hcip review (1)
2022-07-18 02:57:00 【sysddyq】
Experimental Topology

Preparation before experiment
First of all, 192.168.1.0/24 Divide the subnet
192.168.1.0/24
192.168.1.0/27( Re Division )
192.168.1.0/30
192.168.1.4/30
192.168.1.8/30
192.168.1.12/30
192.168.1.16/30
192.168.1.20/30
192.168.1.32/27( Loop back )
192.168.1.32/28
192.168.1.48/28
192.168.1.64/27( Loop back two )
192.168.1.64/28
192.168.1.80/28
192.168.1.96/27
192.168.1.128/27( Loop four )
192.168.1.128/28
192.168.1.144/28
192.168.1.160/27( Loop back five )
192.168.1.192/27
192.168.1.224/27
Basic configuration
R1
[r1]int lo0
[r1-LoopBack0]ip a 192.168.1.33 28
[r1-LoopBack0]q
[r1]int lo1
[r1-LoopBack1]ip a 192.168.1.49 28
[r1-LoopBack1]q
[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip a 192.168.1.5 30
[r1-GigabitEthernet0/0/0]q
[r1]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip a 192.168.1.1 30
[r1-GigabitEthernet0/0/1]q
R2
[r2]int lo0
[r2-LoopBack0]ip a 192.168.1.65 28
[r2-LoopBack0]q
[r2]int lo1
[r2-LoopBack1]ip a 192.168.1.81 28
[r2-LoopBack1]q
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip a 192.168.1.2 30
[r2-GigabitEthernet0/0/0]q
[r2]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip a 192.168.1.13 30
[r2-GigabitEthernet0/0/1]q
R3
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip a 192.168.1.6 30
[r3-GigabitEthernet0/0/0]q
[r3]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip a 192.168.1.9 30
[r3-GigabitEthernet0/0/1]q
[r3]int g 0/0/2
[r3-GigabitEthernet0/0/2]ip a 192.168.1.97 27
[r3-GigabitEthernet0/0/2]q
R4
[r4]int lo0
[r4-LoopBack0]ip a 192.168.1.129 28
[r4-LoopBack0]q
[r4]int lo1
[r4-LoopBack1]ip a 192.168.1.145 28
[r4-LoopBack1]q
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip a 192.168.1.14 30
[r4-GigabitEthernet0/0/0]q
[r4]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip a 192.168.1.10 30
[r4-GigabitEthernet0/0/1]q
[r4]int g 0/0/2
[r4-GigabitEthernet0/0/2]ip a 192.168.1.21 30
[r4-GigabitEthernet0/0/2]q
[r4]int g 4/0/0
[r4-GigabitEthernet4/0/0]ip a 192.168.1.17 30
[r4-GigabitEthernet4/0/0]q
R5
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip a 192.168.1.22 30
[r5-GigabitEthernet0/0/0]q
[r5]int g 0/0/2
[r5-GigabitEthernet0/0/2]ip a 192.168.1.18 30
[r5-GigabitEthernet0/0/2]q
[r5]int g 0/0/1
[r5-GigabitEthernet0/0/1]ip a 12.0.0.1 24
[r5-GigabitEthernet0/0/1]q
[r5]int lo0
[r5-LoopBack0]ip a 192.168.1.161 27
[r5-LoopBack0]q
R6
[r6]int lo0
[r6-LoopBack0]ip a 1.1.1.1 24
[r6-LoopBack0]q
[r6]int g 0/0/0
[r6-GigabitEthernet0/0/0]ip a 12.0.0.2 24
[r6-GigabitEthernet0/0/0]qDefault routing configuration
[r1]ip route-static 0.0.0.0 0 192.168.1.2
[r1]ip route-static 0.0.0.0 0 192.168.1.6
[r2]ip route-static 0.0.0.0 0 192.168.1.14
[r3]ip route-static 0.0.0.0 0 192.168.1.10
[r4]ip route-static 0.0.0.0 0 192.168.1.18 preference 100
[r4]ip route-static 0.0.0.0 0 192.168.1.22
[r5]ip route-static 0.0.0.0 0 12.0.0.2
Empty interface configuration
[r1]ip route-static 192.168.1.32 27 NULL0
[r2]ip route-static 192.168.1.64 27 NULL0
[r4]ip route-static 192.168.1.128 27 NULL0
[r5]ip route-static 192.168.1.160 27 NULL0Static routing configuration
[r1]ip route-static 192.168.1.64 27 192.168.1.2
[r1]ip route-static 192.168.1.12 30 192.168.1.2
[r1]ip route-static 192.168.1.8 30 192.168.1.6
[r1]ip route-static 192.168.1.96 27 192.168.1.6
[r2]ip route-static 192.168.1.32 27 192.168.1.1
[r2]ip route-static 192.168.1.4 30 192.168.1.1
[r2]ip route-static 192.168.1.8 30 192.168.1.8
[r3]ip route-static 192.168.1.64 27 192.168.1.5
[r3]ip route-static 192.168.1.0 30 192.168.1.5
[r3]ip route-static 192.168.1.32 27 192.168.1.5
[r3]ip route-static 192.168.1.12 30 192.168.1.10
[r4]ip route-static 192.168.1.64 27 192.168.1.13
[r4]ip route-static 192.168.1.0 30 192.168.1.13
[r4]ip route-static 192.168.1.4 30 192.168.1.9
[r4]ip route-static 192.168.1.96 30 192.168.1.9
[r5]ip route-static 192.168.1.0 24 192.168.1.17
[r5]ip route-static 192.168.1.0 24 192.168.1.21 preference 40At first I wrote all the static routes , Later, I remembered that there was a default route , To use the default route, you only need to write some shorter paths as static paths to supplement
To configure dhcp
[r3]DHCP enable
[r3]ip pool a
[r3-ip-pool-a]network 192.168.1.96 mask 27
[r3-ip-pool-a]gateway-list 192.168.1.97
[r3-ip-pool-a]dns-list 114.114.114.114
[r3-ip-pool-a]q
[r3]int g 0/0/2
[r3-GigabitEthernet0/0/2]dhcp select global
[r3-GigabitEthernet0/0/2]qAccess loopback 6
because R6 That one is the public network , All need to use EASY ip Implement many to one port mapping, plus the previous default path implementation
[r5]acl 2000
[r5-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[r5-acl-basic-2000]q
[r5]int g 0/0/1
[r5-GigabitEthernet0/0/1]nat outbound 2000Realization R6telnetR5 Of public ownership Ip Address time , Actual login to R1 On
/ stay R1 Upper opening telnet service , Open the virtual login port /
[r1]aaa
[r1-aaa]local-user soul privilege level 15 password cipher 123456
[r1-aaa]local-user soul service-type telnet
[r1-aaa]q
[r1]user-interface vty 0 4
[r1-ui-vty0-4]authentication-mode aaa
[r1-ui-vty0-4]q
/R5 Port mapping on /
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]nat server protocol tcp global current-interface 23 ins
ide 192.168.1.1 23test
each other ping

DHCP
pingR6 The loopback of

R6telnetR5 Of public ownership Ip Address time , Actual login to R1 On

边栏推荐
- Google proposes the reliability machine learning model plex: let the large model put forward appropriate prediction results for out of distribution data
- 03 key control LED
- Zhiyuan community weekly 89: Yann Lecun and other writers responded to Marcus' symbolic reasoning debate; Zhu Songchun's new work of aligning AI value with science's official website headlines; Ma Yi,
- 07 printf重定向
- 2022-04-20 unity introduction 5 - Camera
- Nacos as the registration and discovery center and configuration center of microservice architecture
- MQTT---SUBSCRIBE和SUBACK
- 箭头函数与箭头函数的区别
- 第九十九期:flutter学习(二)
- 558. 四叉树交集 / 剑指 Offer II 118. 多余的边
猜你喜欢

04 EXIT中断检测按键

风险评估简介

2022-04-18 unity getting started 1 - window layout
![[design topics] project summary of graduation project based on STM32 - 350 cases](/img/be/86532861c1485243825ca3182b39a7.png)
[design topics] project summary of graduation project based on STM32 - 350 cases

Google recommends using sealed and remotemediator in projects

mysql中出现Unit mysql.service could not be found 的解决方法

Adding an index by Oracle causes other users to lose their query permissions on this table

RobotFramework进阶(二)集成Pycharm及Api自动化用例编写

Envoyez votre code dans l'espace et développez "le plus grand travail" avec Huawei Cloud

Get started with pyGame
随机推荐
基于eTS高效开发HarmonyOS课程类应用
[design topics] project summary of graduation design topics based on C51 single chip microcomputer - 500 cases
Event preview | Apache Doris x Apache seatunnel joint meetup to start registration!
UMI 3.0 template
03 按键控制LED
PowerDesigner installation tutorial
Getting started with esp8266 Lua
Redis uses pipeline
Vector
实现意识的远程直接电磁通信,东大团队联合新加坡国大等构建电磁脑机超表面,有望成为全新通信范式
2022-04-20 unity introduction 5 - Camera
Meta宣布推出Make-A-Scene:可基于文字和草图控制AI图像生成
元宇宙大爆发是谁在“跑马圈地”?
1、OLED简单驱动
mysql中出现Unit mysql.service could not be found 的解决方法
2022-04-18 C Part 4 - Advanced
Google proposes the reliability machine learning model plex: let the large model put forward appropriate prediction results for out of distribution data
2022-04-21 unity foundation 1 - 3D mathematics
相关小知识点
第一百期:封装简答的flutter组件