当前位置:网站首页>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
边栏推荐
猜你喜欢
汽配行业面临的难题用什么软件帮忙解决呢
How to hide tabs in nailing applet
EHD ether coin, the hottest dpoc mining project
Overall process analysis of account book operation in fabric0.6
2022年G3锅炉水处理操作证考试题库模拟考试平台操作
安装CUDA+CUSP环境,并创建第一个HelloWord入门工程
AcWing 1977. Information relay (base ring tree, parallel search set)
[game theory complete information static game] Application of Nash equilibrium
How to modify desktop path in win10 system
Edge browser uses bdtab new tab plug-in (BD new tab)
随机推荐
【博弈论-完全信息静态博弈】 Nash均衡的应用
How to efficiently manage commodities and inventory in the beverage wholesale industry
1. fabric2.2 comprehensive learning - Preface
How can the small and medium-sized lighting industry make use of the digital transformation to stand out from the encirclement?
CCNP_ BT-MGRE
Plane merging (matlab)
Overall process analysis of account book operation in fabric0.6
Edge浏览器如何安装BdTab(BD)新标签页插件(图文教程)
分布式系统之道:Lamport 逻辑时钟
18 | establish data path (middle): instruction + operation =cpu
2022年G3锅炉水处理操作证考试题库模拟考试平台操作
ERP basic data Kingdee
Go 接口实现原理【高阶篇】: type _interface struct
The method of SolidWorks modifying text font in engineering drawing
24 | adventure and prediction (III): thread pool in CPU
安装CUDA+CUSP环境,并创建第一个HelloWord入门工程
Maternal and infant supplies wholesale industry uses management software to improve efficiency and realize cost reduction and efficiency increase
set实现名单查找与排除
ERP basic data Huaxia
Basic operation of dfinity (ICP) development-4