当前位置:网站首页>Hcip first day static routing comprehensive experiment
Hcip first day static routing comprehensive experiment
2022-07-27 02:23:00 【less than _ ermi】
Experiment content and requirements :

experimental analysis :
Three loops need 1 Net segment , Backbone links need 6 Net segment , Two vlan Two network segments are required , A common need 9 Net segment , In the router AR3 Sub interface required , be based on 192.168.0.0/24 Divide network segments .
IP Address planning :
take 192.168.0.0/24 The subnet is divided into three network segments , Give a loop back , Give a backbone link , For two VLAN One , Respectively :
borrow 2 position
192.168.00000000.00000000/24
128 64 32 16 8 4 2 1
192.168.0.0/26
192.168.0.64/26
192.168.0.128/26
192.168.0.192/26Take out the first three network segments to use
192.168.0.0/26 For backbone links , Then divide it into /30 Of
So I borrowed 4 position
128 64 32 16 8 4 2 1
192.168.0.0/30
192.168.0,4/30
192.168.0.8/30
192.168.0.12/30
192.168.0.16/30
192.168.0.20/30
192.168.0.24/30
192.168.0.28/30
192.168.0.32/30
192.168.0.36/30
192.168.0.40/30
192.168.0.44/30
192.168.0.48/30
192.168.0.52/30
192.168.0.56/30
192.168.0.60/30
Let's take any of them 6 Take out the network segment and use it !192.168.0.64/26 To give R1 Three loopback addresses on , borrow 2 position , Divide it into /28 Of
128 64 32 16 8 4 2 1
192.168.0.64/28
192.168.0.80/28
192.168.0.96/28
192.168.0.112/28
Of course, we just need to take one 3 Take out the network segment and use it !192.168.0.128/26 For two VLAN, Because a VLAN There are only two hosts , Therefore, it is divided into /27 The can ;
192.168.0.128/27
192.168.0.160/27
192.168.0.192/27
Experimental process :
1、 For each router / The switch interfaces IP To configure
2、 Configure static route and default route
[r1]ip route-static 192.168.0.8 30 192.168.0.14[r1]ip route-static 0.0.0.0 0 192.168.0.143、 establish vlan Divide vlan
[SW1]vlan batch 2 3
Define the interface type
[SW1-Ehernet0/0/1]port link-type truk
[SW1-Ehernet0/0/1]port truk allow-pass vlan all
[SW1-Ehernet0/0/2]port link-type access
[SW1-Ehernet0/0/2]port default vlan 2 into vlan2 in 4、 to AR3 Configure sub interfaces
[R3]interface g0/0/2.1
[R3-GigabiEhernet0/0/2.1]ip add 192.168.0.129 27
[R3-GigabiEhernet0/0/2.1]dot1q termination vid 2
[R3-GigabiEhernet0/0/2.1]arp broadcast enable
[R3-GigabiEhernet0/0/2.2]ip add 192.168.0.161 27
[R3-GigabiEhernet0/0/2.2]dot1q termination vid 3
[R3-GigabiEhernet0/0/2.2]arp broadcast enable5、 To configure DHCP
[R3]ip pool 702
[R3- ip-pool-702]network 192.168.0.128 mask 255.255.255.224
[R3- ip-pool-702]gateway-list 192.168.0.129
[R3- ip-pool-702]dns-list 8.8.8.8
[R3-GigabitEthernet0/0/2.1]dhcp select global Virtual interface call
[R3]ip pool 703
[R3- ip-pool-703]network 192.168.0.160 mask 255.255.255.224
[R3- ip-pool-703]gateway-list 192.168.0.161
[R3- ip-pool-703]dns-list 8.8.8.8
[R3-GigabitEthernet0/0/2.2]dhcp select global stay PC6 Check the allocation on ipconfig
6、 test

End of experiment .
边栏推荐
- TreeSet集合存储元素的问题
- STM32 introductory tutorial lesson 2
- JVM面试题(面试必备)
- Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History
- Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
- ESP8266Wi-Fi数据通讯
- Golang implements TCP chat room
- Codeforces Round #809 (Div. 2), problem: (C) Qpwoeirut And The City
- (超详尽版,不懂随时评论)Codeforces Round #804 (Div. 2)C The Third Problem
- OSPF protocol overview and basic concepts
猜你喜欢

微信小程序:用户微信登录流程(附:流程图+源码)

今天浅讲一下转义字符【萌新版】

Explain exi interrupt through the counting experiment of infrared sensor

Codeforces Round #796 (Div. 2), problem: (1688C) Manipulating History

(前缀和/思维)Codeforces Round #806 (Div. 4)F. Yet Another Problem About Pairs Satisfying an Inequality

JUC并发编程

勤写标兵——云小井

静态路由基本配置 实现全网可达

HCIP第一天静态路由综合实验

WAN technology experiment
随机推荐
C语言——数据类型、基本数据类型的取值范围
Lora光照传感器节点数据采集
C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement
OSPF configuration in mGRE environment and LSA optimization - reduce the amount of LSA updates (summary, special areas)
Tcp的三次握手与四次挥手
C language - first program, print, variables and constants
NAT (network address translation protocol)
NAT network address conversion experiment
(title + detailed idea + annotated code) codeforces round 805 (Div. 3) F Equate Multisets
数字集成电路:MOS管器件章(二)
7.8 Ruijie online written examination
ESP8266Wi-Fi数据通讯
Experiment of OSPF in mGRE environment
Timer interrupt experiment
微信小程序:用户微信登录流程(附:流程图+源码)
Tim output comparison - PWM
C language - assignment operator, compound assignment operator, self increasing and self decreasing operator, comma operator, conditional operator, goto statement, comment
C language - array, string handler, strlen, strcpy and strncpy, strcat and strncat, StrCmp and strncmp
指针得真正奥义!!!
HCIP oSPF综合实验