当前位置:网站首页>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 .
边栏推荐
- js中的数组方法和循环
- 多线程中 synchronized 锁升级的原理是什么?
- Timer interrupt experiment
- Nb-iot access to cloud platform
- 6.30 didi surface warp (one side + two sides)
- Codeforces Round #810 (Div. 2), problem: (B) Party
- MySQL course 1. simple command line -- simple record welcome to supplement and correct errors
- Wechat applet: user wechat login process (attached: flow chart + source code)
- HCIA静态路由基础模拟实验
- Lora通信应用开发
猜你喜欢

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

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

(CF1691D) Max GEQ Sum

C language -- while statement, dowhile statement, for loop and loop structure, break statement and continue statement

Ogeek meetup phase I, together with cubefs, is hot
![C language implementation of the small game [sanziqi] Notes detailed logic clear, come and have a look!!](/img/b9/ade9a808a3f6d24cd9825dc9b010c1.png)
C language implementation of the small game [sanziqi] Notes detailed logic clear, come and have a look!!

HandsomeForum学习论坛

Lora communication application development

RISC-V工具链编译笔记

Esp8266wi fi data communication
随机推荐
Error handling in golang
js中的数组方法和循环
数字集成电路:MOS管器件章(二)
HCIA Basics (1)
C language - first program, print, variables and constants
npm报错, Error: EPERM: operation not permitted, mkdir
【C语言程序设计】分支结构
MySQL课程2.表的各种查询
C language -- nesting of relational and logical operators, if statements, switch statements, and branch structures
NAT network address conversion experiment
ACM mode input and output exercise
入住博客第一天【冲八万】!
动态路由ofps协议配置
多线程中 synchronized 锁升级的原理是什么?
HCIP 双向重发布以及路由策略
JVM面试题(面试必备)
最新京东短信登录+傻妞机器人保姆级部署教程(2022/7/24)
今天浅讲一下转义字符【萌新版】
Lora通信应用开发
Hcip OSPF knowledge summary