当前位置:网站首页>HCIP_ Static experiment
HCIP_ Static experiment
2022-06-13 08:16:00 【BT youth】
( notes :4 platform PC of no avail DHCP To allocate )
be based on 192.168.0.0/24 To allocate
192.168.00000000.00 000000
A total of 3 Large section ( borrow 2 position )
192.168.0.64/26 —— Loopback : Switch back in three ( borrow 2 position )
|-192.168.0.01 00 0000
192.168.0.64/28
192.168.0.80/28
192.168.0.96/28
192.168.0.128/26 —— The trunk : There are six paragraphs ( borrow 3 position )
|-192.168.0.10 000 000
192.168.0.136/29
192.168.0.144/29
192.168.0.160/29
192.168.0.184/29
192.168.0.152/29
192.168.0.192/29
192.168.0.192/26 ——VLAN: Two ( borrow 1 position )
|192.168.0.11 0 00000
192.168.0.192/27
192.168.0.224/27
Assign addresses to routers :
R3:
Interface configuration address :
[r3]interface GigabitEthernet 0/0/0
[r3-GigabitEthernet0/0/0]ip address 192.168.0.137 29
[r3]interface GigabitEthernet 0/0/1
[r3-GigabitEthernet0/0/1]ip address 192.168.0.161 29
Loopback address :
[r3]interface LoopBack 1
[r3-LoopBack1]ip address 192.168.0.65 28
[r3]interface LoopBack 2
[r3-LoopBack2]ip address 192.168.0.81 28
[r3]interface LoopBack 3
[r3-LoopBack3]ip address 192.168.0.97 28
Static allocation IP:
[r3]ip route-static 192.168.0.144 29 192.168.0.138—— Backbone segment 1
[r3]ip route-static 192.168.0.184 29 192.168.0.162—— Backbone segment 2
[r3]ip route-static 192.168.0.192 26 192.168.0.162——VLAN Network segment
[r3]ip route-static 192.168.0.152 29 192.168.0.138—— Backbone segment 3( Load balancing , Because the distance is equal )
[r3]ip route-static 192.168.0.152 29 192.168.0.162—— Backbone segment 3
[r3]ip route-static 192.168.0.168 29 192.168.0.138—— Backbone segment 4( Load balancing , Because the distance is equal )
[r3]ip route-static 192.168.0.168 29 192.168.0.162—— Backbone segment 4
[r3]ip route-static 0.0.0.0 0 192.168.0.138 —— Default route ( Load balancing , Because the distance is equal )
[r3]ip route-static 0.0.0.0 0 192.168.0.162 —— Default route ( Load balancing , Because the distance is equal )
[r3]ip route-static 192.168.0.64 26 NULL 0 ——R3 Loop back the hollow interface anti ring
[r5]ip route-static 192.168.0.192 26 NULL 0 ——R5 to VLAN Air filling interface anti ring
[r5]interface GigabitEthernet 0/0/1.1
[r5-GigabitEthernet0/0/1.1]arp broadcast enable —— Turn on ARP radio broadcast
[r5-GigabitEthernet0/0/1.1]dot1q termination vid 2 VLAN2 pack dot1q
[r5-GigabitEthernet0/0/1.1]ip address 192.168.0.195 27
[r5]interface GigabitEthernet 0/0/1.2
[r5-GigabitEthernet0/0/1.1]arp broadcast enable —— Turn on ARP radio broadcast
[r5-GigabitEthernet0/0/1.2]dot1q termination vid 3 VLAN3 pack dot1q
[r5-GigabitEthernet0/0/1.2]ip address 192.168.0.227 27
[sw1]interface Eth0/0/1
[sw1-Ethernet0/0/1]port link-type trunk
[sw1-Ethernet0/0/1]port trunk allow-pass vlan 2 3
[sw1]interface Eth0/0/4
[sw1-Ethernet0/0/4]port link-type trunk
[sw1-Ethernet0/0/4]port trunk allow-pass vlan 2 3
[sw1]interface Eth0/0/3
[sw1-Ethernet0/0/3]port link-type access
[sw1-Ethernet0/0/3]port default vlan 3
[sw1]interface Eth0/0/2
[sw1-Ethernet0/0/2]port link-type access
[sw1-Ethernet0/0/2]port default vlan 2
Empathy :SW2
[sw1]interface Eth0/0/5
[sw1-Ethernet0/0/5]port link-type trunk
[sw1-Ethernet0/0/5]port trunk allow-pass vlan 2 3
[sw1]interface Eth0/0/2
[sw1-Ethernet0/0/2]port link-type access
[sw1-Ethernet0/0/2]port default vlan 3
[sw1]interface Eth0/0/1
[sw1-Ethernet0/0/1]port link-type access
[sw1-Ethernet0/0/1]port default vlan 2
PC1 Address :
IP:192.168.0.193/27
gateway :192.168.0.195
VLAN2
PC3 Address :
IP:192.168.0.194/27
gateway :192.168.0.195
-----------------------------
PC2 Address :
IP:192.168.0.225/27
gateway :192.168.0.227
VLAN3
PC4 Address :
IP:192.168.0.226/27
gateway :192.168.0.227
Realization VLAN2 Communication between 、VLAN3 Communication between , however VLAN2 And VLAN3 Can't communicate .
ip pool bt1
net work 192.168.1.0 mask 24
gatway-list 192.168.1.1
dns-list 8.8.8.8
q
dhcp enable
interface g0/0/2.1
dhcp select global
q
ip pool bt2
net work 192.168.2.0 mask 24
gatway-list 192.168.2.1
dns-list 8.8.8.8
q
interface g0/0/2.2
dhcp select global
边栏推荐
- set实现名单查找与排除
- 疫情之下的远程办公解决方案
- 获取类的属性
- Operation of simulated examination platform for examination question bank of G3 boiler water treatment operation certificate in 2022
- Edge browser uses bdtab new tab plug-in (BD new tab)
- 生鲜配送分拣管理系统哪家比较强?
- Cosmos star module development
- Go 接口实现原理【高阶篇】: type _interface struct
- Live broadcast review | bas technology innovation exploration under active defense system
- How to hide tabs in nailing applet
猜你喜欢
2022起重机械指挥考试题模拟考试题库及在线模拟考试
Differences between Merkle DAG and Merkle tree
24 | adventure and prediction (III): thread pool in CPU
Disk C is full? A few simple tips teach you to release and clean up tens of gigabytes of space on the C disk, the most effective way to clean up the C disk
星巴克创始人:出于安全考量 或不再向非店内消费者开放“公厕”
Altium Designer中导入和导出设置的方法
免费文件服务器储存技术
Dfinity (ICP) basic development tutorial-5
【PYTORCH】Expected object of type torch. xxxTensor but found type torch. cuda. xxxTensor(torch0.4.0)
母婴用品批发行业使用管理软件提高效率 实现降本增效
随机推荐
Shell脚本常用开发规范
P7712 [Ynoi2077] hlcpq
Several precise order receiving methods suitable for fresh food wholesale industry
STM32CubeMX的下载和安装方式
sizeof、strlen求字符长度
How to use annotations in word
本地靶场2-文件上传漏洞(三)-网络安全
Start from scratch - implement the jpetstore website -1- establish the project framework and project introduction
Detailed explanation of digital certificate and Ca
Cosmos star application case
Unity 退出编辑器模式
Daffodil upgrade (self idempotent)
ERP基础数据 华夏
Maternal and infant supplies wholesale industry uses management software to improve efficiency and realize cost reduction and efficiency increase
The method of SolidWorks modifying text font in engineering drawing
[complete information static game characteristics of Nash equilibrium]
Determine whether a string is rotated from another string
How about a well-known food material distribution information management system?
基于paddlepaddle的新冠肺炎识别
Dfinity (ICP) development problems and solutions-6