当前位置:网站首页>HCIA (network elementary comprehensive experimental exercise)
HCIA (network elementary comprehensive experimental exercise)
2022-07-27 02:16:00 【Not smart】
The experimental requirements

IP Division of address :
First of all, we need to know how many network segments are needed in the figure , Then divide and configure
The following figure shows my divided subnet

According to the above figure, all interfaces of the router 、 Loopback interface IP To configure
After the configuration is completed, we first configure the single arm route under the topology
VLAN Configuration of
Operating instructions
[sw1]vlan b
[sw1]vlan batch 2 3 ( establish VLAN2 and 3)
Divide the interfaces on the switch into corresponding interfaces vlan in
[sw1]interface Ethernet0/0/1 ( Divide an interface into corresponding vlan)
[sw1-Ethernet0/0/1]port link-type access ( First, modify the interface to the access mode )
[sw1-Ethernet0/0/1]port default vlan 2 ( Then divide the interface into corresponding vlan in )
trunk main rd : It doesn't belong to any one vlan, Carry all vlan Traffic forwarding , Can mark ( encapsulation ) distinguish ( decapsulation ) Different vlan The label of .
[sw1]interface e0/0/3
[sw1-Ethernet0/0/5]port link-type trunk ( Modify the interface trunk Pattern )
[sw1-Ethernet0/0/5]port trunk allow-pass vlan 2 to 3
After the above configuration , You can view the of two switches VALN Forms
<lw1>display vlan


notes : Configure the switch connected to the router trunk when , The interface connected with the router should also be configured trunk
Static routing
Due to the requirements of the topic, dynamic routing should not be used , So we need to supplement the routing table through static routing
[r1]ip route-static 192.168.3.0 24 192.168.2.2
( Target segment ) ( Next jump )
Follow this command , In turn R1---R5 Perform static routing configuration ( Except direct connection ), In the face of R2 The loopback configuration of should be summarized , Due to the routing black hole generated after the summary, empty interface configuration is required
[r1]ip route-static 1.1.0.0 22 NULL 0
( After summarizing the network segment )
Finally, configure the default route , Both point outward to the boundary route
[r1]ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
( Next jump )
NAT Address translation
At this time, the experimental requirements have been basically completed , Just in R5 on NAT Address translation deployment
[r5]acl 2000
[r5-acl-basic-2000]rule permit source any
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]nat outbound 2000
So far, all the requirements of the experiment have been met , End of experiment .
边栏推荐
- 6.28 flush written test
- Experiment of total connection and star topology of mGRE
- OSPF protocol overview and basic concepts
- 定时器中断实验
- 二层封装技术(HDLC、PPP--PAP\CHAP、GRE)实验练习
- IS指标复现 文本生成图像IS分数定量实验全流程复现 Inception Score定量评价实验踩坑避坑流程
- 7.7 SHEIN希音笔试
- 7.8 Ruijie online written examination
- Autojs learning - realize the display of date and lunar time
- [reprint] GPU compute capability table
猜你喜欢

mgre的全连和星型拓扑实验

Freytek central computing platform 360 degree sensing system solves the challenges behind NOA mass production

OSPF在MGRE环境下的实验

C语言——数组、字符串处理函数、strlen、strcpy和strncpy、strcat和strncat、strcmp和strncmp

C语言——数据类型、基本数据类型的取值范围

2022zui new Tiktok 24-hour round robin live broadcast monitoring (I) live broadcast room start-up monitoring

FID指标复现踩坑避坑 文本生成图像FID定量实验全流程复现(Fréchet Inception Distance )定量评价实验踩坑避坑流程

TCP's three handshakes and four waves (brief introduction)

Test and open basic daily question brushing (continuous updating...)

Simple application of rip V2 (V2 configuration, announcement, manual summary, ripv2 authentication, silent interface, accelerating convergence)
随机推荐
定时器中断实验
Unity Huatuo example project source code analysis and inspiration
OSPF静态大实验
Text to image intensive reading df-gan:a simple and effective baseline for text to image synthesis
FID index reproduction step on the pit to avoid the pit text generation image FID quantitative experiment whole process reproduction (FR é Chet inception distance) quantitative evaluation experiment s
6.28 Dahua written examination
js求最大值?
Mechanical hard disk Selection Guide -- from the selection experience
The basic configuration of static routing (planning of IP address and configuration of static routing) realizes the accessibility of the whole network.
Experiment of total connection and star topology of mGRE
[MySQL] MySQL startup and shutdown commands and some error reports to solve problems
TCP's three handshakes and four waves (brief introduction)
6.29 Zhong'an Summer Internship
HCIA基础知识(1)
C语言——数组、字符串处理函数、strlen、strcpy和strncpy、strcat和strncat、strcmp和strncmp
JS logical operator
预分频值和自动重装值对中断频率的影响
The latest C language introduction and advanced - the most complete and detailed C language tutorial in history!! Section 1 - overview of C language
7.13 蔚来提前批笔试
TIM输出比较——PWM