HCIA-RS项目实战案例

作者:神秘网友 发布时间:2020-10-24 01:35:48

HCIA-RS项目实战案例

HCIA-RS项目实战案例

文章目录

  • 项目需求
  • 企业拓扑结构
  • 配置步骤
  • 项目路由需求
  • 项目互联网需求


  • 实验拓扑及预配置,如果有需要的可以通过邮箱(Email[email protected])联系我。
  • 本篇是关于HCIA-RS的综合项目实验整理笔记。实验拓扑及配置步骤参考资料来自誉天教育
  • 本博客仅供参考,转发注明出处,并附带本文链接,禁止商业!!!

项目需求

  1. 某公司企业总部部门分布在 VLAN 10、VLAN 20、VLAN 30、VLAN 40 中,其中 VLAN 30 和 VLAN 40 通过无线网络接入。
  2. 企业有 Web 和 FTP 服务器部署在 VLAN 2,DNS 服务器部署在 VLAN 3。
  3. AC1 通过 VLAN 100 双归接入到核心交换机。
  4. 各 VLAN 地址规划如下表:
Vlan ID网段规格网关地址服务器以及终端地址
VLAN 2192.168.2.0/24192.168.2.254Web 192.168.2.10
VLAN 3192.168.3.0/24192.168.3.254DNS 192.168.3.10
VLAN 10192.168.10.0/24192.168.10.254DHCP获取
VLAN 20192.168.20.0/24192.168.20.254DHCP获取
VLAN 30192.168.30.0/24192.168.30.254DHCP获取
VLAN 40192.168.40.0/24192.168.40.254DHCP获取
VLAN 100192.168.100.0/24192.168.100.254AC 192.168.100.10
  1. 交换网络使用 RSTP 协议实现防环,在合适的端口上启用边缘端口以及 BPDU 防护,SW1 是根桥,SW2 是备份根桥。
  2. 核心交换机之间通过 LACP 协议实现链路聚合,提高骨干链路带宽。
  3. 核心交换机之间运行 VRRP 协议,提供网关冗余,其中 SW1 为Master,SW2 为Backup, 当 SW1 出现故障后,SW2 成为 Master,并成为新的根桥。
  4. AP 通过 VLAN100 接入到 AC,即 AC 和 AP 在同一个 2 层网络内进行部署。(注:大型网络中也可以将 AC 和 AP 跨子网部署),无线用户通过直接转发的方式进行转发数据。
  5. SW1 作为企业DHCP 服务器为相应 VLAN 配置 IP 地址。
  6. SW1 和 AR1 通过 VLAN 4 互联,SW2 和 AR1 通过 VLAN5 互联,SW1 和 SW2 通过 VLAN 6 互联。
  7. 企业总部申请一条企业 PPP 专线,用于实现和企业分支以及小分支互联互通,并在 PPP 线路上启用了 CHAP 认证,其中 AR1 是认证方,认证账号为 pppuser ,认证密码为 hcie, AR4 是被认证方,AR1 的 Ser3/0/0 接口地址为 192.168.14.1/30,AR4 的 Ser1/0/0 接口地址为 192.168.14.2/30。
  8. 企业分支有 VLAN 7、VLAN 8、VLAN 9 使用 AR3 子接口实现单臂路由互通,其中 AR4 属于 Vlan9。
  9. AR4 提供 PPPOE 拨号服务,AR5 是客户机,现在希望 AR5 通过 PPPOE 拨号连接到公司内网。配置 AR4 为 PPPOE 服务器端,用户认证域为 pppoe,用户名 [email protected], 密码为 [email protected]。
  10. 配置 OSPF 协议,企业网络通过 PPP 专线实现内部互联互通,网络规划到 Area 0 中。
  11. 企业总部通过 ISP 获得 202.1.1.0/29 网段公网地址,企业总部有 DNS 和Web/FTP 服务器 3 台,希望外网 Client2 和企业分支 Client1 通过 202.1.1.1 访问总部的 DNS 服务器,通过 202.1.1.2 访问Web 服务器,通过 202.1.1.3 访问 FTP 服务器。
  12. HR 和 Sale 使用 202.1.1.4 到 202.1.1.5 访问外网的 8.8.8.8,VLAN 10,VLAN 20 不允许访问互联网,当总部路由AR1 失效后,要求 HR 和 Sale 的员工,能够临时使用 AR3 访问外网,当分支机构 AR3 外网链路失效后,依然能访问外网。
  13. 企业分支和小分支通过 AR3 访问互联网,直接使用 AR3 的外网接口地址实现。
  14. 为了防止企业专线中断,要求在 AR1 和 AR3 直接建立 GRE 隧道作为备用链路,当企业专线中断后,使用 GRE 隧道保证企业内网的连通性, GRE 隧道接口的地址段为10.1.1.0/30。

企业拓扑结构

HCIA-RS项目实战案例

配置步骤

  • 在 SW1、SW2、SW3、SW4 上创建 VLAN2、3、10、20、30、40、100
vlan batch 2 3 10 20 30 40 100
  • 配置 SW1 与 SW2 之间的 Eth-Trunk(聚合)链路
int eth 1
	mpde lacp-static  //使用静态LACP
	trunkport g 0/0/1 to 0/0/2
  • 配置交换机 SW1、SW2 之间的互联链路为 Trunk,并放行相应的 VLAN
int eth 1
	port link-type trunk
	port trunk allow-pass vlan 2 3 10 20 30 40 100
int g0/0/3
	p l t
	p t a v 2 3 10 20 30 40 100
int g0/0/4
	p l t
	p t a v 2 3 10 20 30 40 100
  • 配置交换机 SW3、SW4的接口类型为 Trunk,并放行相应的 VLAN
int g0/0/1
	p l t
	p t a v 2 3 10 20 30 40 100
int g0/0/2
	p l t
	p t a v 2 3 10 20 30 40 100
  • 配置交换机 SW3、SW4 与服务器及主机相连的接口类型为 Access,并加入到相应的 VLAN
# SW3
int g0/0/4
	port link-type access
	port default vlan 10
int g0/0/5
	p l a
	p d v 2
int g0/0/6
	p l a
	p d v 3
# SW4
int g0/0/4
	p l a
	p d v 20
  • 交换机 SW3、SW4 与 AP连接的接口类型为 Trunk,pvid 设置为 VLAN 100,并放行 VLAN 100、VLAN 30、VLAN 40
int g0/0/3
	p l t
	port trunk pvid vlan 100
	p t a v 30 40 100
  • 将交换机 SW1、SW2 与 AC 连接的接口类型配置为 Trunk ,并放行 VLAN 100
int g0/0/5
	p l t
	p t a v 100
  • 将 AC 与交换机相连的接口类型配置为 Trunk,并放行 VLAN 100
int g0/0/1
	p l t
	p t a v 100
int g0/0/2
	p l t
	p t a v 100
  • 在 SW1、SW2、SW3、SW4上配置 RSTP 协议,并将 SW1 设置为根桥,SW2 设置为备份根桥
# SW1、SW2、SW3、SW4
stp mode rstp
# SW1
stp priority 0
# SW2
stp priority 4096
  • 在 SW1、SW2 上配置边缘端口,并启用 BPDU 保护
stp bpdu-protection
int g0/0/6
	stp edge-port enable
  • 在 SW3、SW4 上配置边缘端口,并启用 BPDU 保护
# SW3
stp bpdu-protection
int g0/0/4
	stp edge-port enable
# SW4
stp bpdu-protection
int g0/0/4
	stp edge en
int g0/0/5
	stp edge en
int g0/0/6
	stp edge en
  • 在 AC 上开启 RSTP 协议
stp enable
stp mode rstp

避免环路,避免实验卡顿。(模拟器 AC 缺省关闭 STP 协议)

  • 在 SW1、SW2 上配置 VRRP ,为相应的 VLAN 提供网关冗余
# SW1
int Vlanif 2
	ip addreess 192.168.2.1 24
	vrrp vrid 1 virtual-ip 192.168.2.254
	vrrp vrid 1 priority 120
int vlan 3
	ip ad 192.168.3.1 24
	vrrp vrid 2 vir 192.168.3.254
	vrrp vrid 2 pri 120
int vlan 10
	ip ad 192.168.10.1 24
	vrrp vrid 3 vir 192.168.10.254
	vrrp vrid 3 pri 120
int vlan 20
	ip ad 192.168.20.1 24
	vrrp vrid 4 vir 192.168.20.254
	vrrp vrid 4 pri 120
int vlan 30
	ip ad 192.168.30.1 24
	vrrp vrid 5 vir 192.168.30.254
	vrrp vrid 5 pri 120
int vlan 40
	ip ad 192.168.40.1 24
	vrrp vrid 6 vir 192.168.40.254
	vrrp vrid 6 pri 120
int vlan 100
	ip ad 192.168.100.1 24
	vrrp vrid 7 vir 192.168.100.254
	vrrp vrid 7 pri 120
# SW2
int Vlanif 2
	ip addreess 192.168.2.2 24
	vrrp vrid 1 virtual-ip 192.168.2.254
int vlan 3
	ip ad 192.168.3.2 24
	vrrp vrid 2 vir 192.168.3.254
int vlan 10
	ip ad 192.168.10.2 24
	vrrp vrid 3 vir 192.168.10.254
int vlan 20
	ip ad 192.168.20.2 24
	vrrp vrid 4 vir 192.168.20.254
int vlan 30
	ip ad 192.168.30.2 24
	vrrp vrid 5 vir 192.168.30.254
int vlan 40
	ip ad 192.168.40.2 24
	vrrp vrid 6 vir 192.168.40.254
int vlan 100
	ip ad 192.168.100.2 24
	vrrp vrid 7 vir 192.168.100.254
  • 在 SW1 上配置 DHCP
dhcp enable
ip pool vlan10  //创建地址池
	network 192.168.10.0 24  //宣告的网段
	gateway-list 192.168.10.254  //网关
	dns-list 192.168.3.10  //DNS服务器
	excluded-ip-address 192.168.10.1 192.168.10.2  //去除IP地址
ip po vlan20
	net 192.168.20.0 24
	gate 192.168.20.254
	dns 192.168.3.10
	ex 192.168.20.1 192.168.20.2
ip po vlan30
	net 192.168.30.0 24
	gate 192.168.30.254
	dns 192.168.3.10
	ex 192.168.30.1 192.168.30.2
ip po vlan40
	net 192.168.40.0 24
	gate 192.168.40.254
	dns 192.168.3.10
	ex 192.168.40.1 192.168.40.2
ip po vlan100
	net 192.168.100.0 24
	gate 192.168.100.254
	ex 192.168.100.1 192.168.100.2
	ex 192.168.100.10
	option 43 sub-option 3 ascii 192.168.100.10
  • SW1 接口上启动全局地址池
int vlan 10
	dhcp select global
int vlan 20
	dhcp select global
int vlan 30
	dhcp select global
int vlan 40
	dhcp select global
int vlan 100
	dhcp select global
  • 配置 AC ,创建SSID:HR—>VLAN 30、SSID:Sale—>VLAN 40的映射关系,创建 AP 组用于将相同配置的 AP 都加入同一 AP 组
wlan
	ap-group name qp-group1
	q
# 创建域管理模板,在域管理模板下配置 AC的国家码并在 AP 组下引用域管理模板
wlan
	regulatory-domain-profile name default
	 country-code cn
	 q
	ap-group name ap-group1
	 regulatory-domain-profile name default
	 q
	q
# 配置 AC 的源接口
int vlan 100
	ip ad 192.168.100.10 24
capwap source interface vlanif 100
  • AC 离线导入 AP1 ,并将 AP1 加入 AP 组“ap-group1”中,命名此 AP1 为 area_1
  • 在 AP1 上使用dis int vlan 1 | inc Hard查看 AP1 的 MAC 地址
wlan
	ap auth-mode mac-auth  //基于 MAC 地址认证
	 ap-id 0 ap-mac 00e0-fcd3-5d70  //绑定AP
	 ap-name area_1
	 ap-group ap-group1
	 q
  • AC 离线导入 AP2 ,并将 AP2 加入 AP 组“ap-group1”中,命名此 AP1 为 area_2
  • 在 AP2 上使用dis int vlan 1 | inc Hard查看 AP2 的 MAC 地址
wlan
	ap auth-mode mac-auth
	 ap-id 0 ap-mac 00e0-fcc0-4b90
	 ap-name area_2
	 ap-group ap-group1
	 q

AP 上电后,执行命令 dis ap all查看到 AP 的"State"字段为“nor”时,表示 AP 正常上线

  • 配置 WLAN 业务参数,创建名为 wlan-sec 的安全模板,WPA/WPA2+PSK+AES的安全策略,密码为 [email protected]
wlan
	security-profile name wlan-sec
	 security wpa-wpa2 psk pass-phrase [email protected] aes
	 q
# 创建名为 HR 的 SSID 模板,并配置 SSID 名称为 HR
wlan
	ssid-profile name HR
	 ssid HR
	 q
# 创建名为 HR 的 VAP 模板,配置业务数据转发模式、业务 VLAN,并且引用安全模板和 SSID 模板
wlan
	vap-profile name HR
	 forward-mode direct-forward
	 service-vlan vlan-id 30
	 security-profile wlan-sec
	 ssid-profile HR
	 q
# 同样配置 Sale
wlan
	ssid-profile name Sale
	 ssid Sale
	 q
	vap-profile name Sale
	 forward-mode direct-forward
	 service-vlan vlan-id 40
	 security-profile wlan-sec
	 ssid-profile Sale
	 q
	ap-group name ap-group1
	 vap-profile HR wlan 1 radio 0
	 vap-profile HR wlan 1 radio 1
	 vap-profile Sale wlan 2 radio 0
	 vap-profile Sale wlan 2 radio 1
	 q
  • 配置 DNS 服务器和 Web 服务器
# DNS
IP:192.168.3.10/24
Gateway:192.168.3.254
# Web
IP:192.168.2.10/24
Gateway:192.168.2.254

在PC,STA,Server之间使用ping测试连通性

项目路由需求

  1. SW1和 AR1 通过 VLAN 4 互联,SW2 和 AR1通过 VLAN 5 互联,SW1 和 SW2 通过 VLAN 6 互联,互联地址如下
SW1 Vlanif 4192.168.4.1/30AR1 G0/0/2192.168.5.2/30
SW2 Vlanif 5192.168.5.1/30SW1 Vlanif 6192.168.6.1/30
AR1 G0/0/1192.168.4.2/30SW2 Vlanif 6192.168.6.2/30
  • 地址互联配置
# SW1
vlan 4
int g0/0/6
	p l a
	p d v 4
int vlanif 4
	ip ad 192.168.4.1 30
# SW2
vlan 5
int g0/0/6
	p l a
	p d v 5
int vlanif 5
	ip ad 192.168.5.1 30
# AR1
int g0/0/1
	ip ad 192.168.4.2 30
int g0/0/2
	ip ad 192.168.5.2 30
  1. 配置 SW1,SW2 上互联 VLAN 6,并在 Eth-Trunk 上放行 VLAN 6
# SW1
vlan 6
int eth 1
	p t a v 6
int vlanif 6
	ip ad 192.168.6.1 30
# SW2
vlan 6
int eth 1
	p t a v 6
int vlanif 6
	ip ad 192.168.6.2 30
  1. 企业总部申请一条企业 PPP 专线,用于实现和企业分支以及小分支互联互通,并在 PPP 线路上启用了 CHAP 认证,其中 AR1 是认证方,认证账号为 pppuser,认证密码为 hcie,AR4 是被认证方。AR1 的 Ser3/0/0 接口地址为192.168.14.1/30,AR4 的 Ser1/0/0 接口地址为192.168.14.2/30,配置如下
# AR1
aaa
	local-user pppuser password cipher hcie
	local-user pppuser service-type ppp
int s3/0/0
	ip ad 192.168.14.1 30
	ppp authentication-mode chap
int s1/0/0
	ip ad 192.168.14.2 30
	ppp chap user pppuser
	ppp chap password cipher hcie 
  1. 企业分支有 VLAN 7、VLAN 8、VLAN 9 使用 AR3 上子接口实现单臂路由互通,其中 AR4 属于 VLAN 9,地址规划如下:
设备名设备地址网关地址
PC 3192.168.7.10/24192.168.7.254/24
Client 1192.168.8.10/24192.168.8.254/24
AR4 G0/0/0192.168.9.10/24192.168.9.254/24
  1. 配置 SW5 上的 VLAN,并将端口加入到正确的 VLAN 以及配置 Trunk
vlan batch 7 8 9
int g0/0/2
	p l a
	p d v 7
int g0/0/3
	p l a
	p d v 8
int g0/0/4
	p l a
	p d v 9
int g0/0/5
	p l t
	p t a v 7 to 9
  1. 配置 AR3 上的单臂路由,配置 AR4 上 G0/0/0 接口地址,PC 地址自行配置
# AR3
int g0/0/1.7
	dot1q termination vvid 7
	arp broadcast enable
	ip ad 192.168.7.254 24
int g0/0/1.8
	dot1q termination vidd 8
	arp broadcast enable
	ip ad 192.168.8.254 24
int g0/0/1.9
	dot1q termination vid 9
	arp broadcast enable
	ip ad 192.168.9.254 24
# AR4
int g0/0/0
	ip ad 192.168.9.10 24
  1. AR4 提供 PPPOE 拨号服务,AR5 是客户机,现在希望 AR5 通过 PPPOE 拨号连接到公司内网,配置 AR4 为 PPPOE 服务器端,用户认证域为 pppoe,用户名 [email protected],密码为 [email protected]
ip pool pppoe
	net 172.16.1.0 24
	gateway-list 172.16.1.254

aaa
	authentication-scheme pppoe
	 authentication-mode local
	 q
	domain pppoe
	 authentication-scheme pppoe
	 authorization-scheme pppoe
	 q
	local-user [email protected] password cipher [email protected]
	local-user [email protected] service-type ppp
  1. 在 AR4 上创建并配置 VT ,在 G0/0/1 启用 PPPoE Server 功能
int virtual-template 1
	ppp authentication-mode chap domain pppoe
	ip ad 172.16.1.254 24
	remote address pool pppoe
int g0/0/1
	pppoe-server bind virtual-template 1
  1. 配置 AR5 为PPPoE拨号客户端
dialer-rule
	disler-rule 1 ip permit
int dialer 1
	dialer user user1
	disler bundle 1
	ppp chap user [email protected]
	ppp chap password cipher [email protected]
	ip ad ppp-negotiate
int g0/0/0
	pppoe-client dial-bundle-number 1
ip route-static 0.0.0.0 dialer 1

在 AR4 上使用命令查看是否拨号成功 ,Rem MAC为AR5 的G0/0/0接口的MAC地址dis pppoe-server session all
在 AR5上使用命令查看地址是否获取成功dis ip int bri

  1. 配置 OSPF 协议,企业网络通过 PPP 专线实现内部互联互通,整个内部网络规划到 Area 0 中
# SW1
ospf 1 router-id 1.1.1.1
	silent-interface all
	undo silent-interface vlanif 6
	undo silent-interface vlanif 4
	area 0
	 net 192.168.2.1 0.0.0.0
	 net 192.168.3.1 0.0.0.0
	 net 192.168.4.1 0.0.0.0
	 net 192.168.6.1 0.0.0.0
	 net 192.168.10.1 0.0.0.0
	 net 192.168.20.1 0.0.0.0
	 net 192.168.30.1 0.0.0.0
	 net 192.168.40.1 0.0.0.0
int vlan 4
	ospf network-type p2p
int vlan 6
	ospf network-type p2p
# SW2
ospf 1 router-id 2.2.2.2
	silent-interface all
	undo silent-interface Vlanif 6
	undo silent-interface Vlanif 5
	area 0
	 net 192.168.2.1 0.0.0.0
	 net 192.168.3.1 0.0.0.0
	 net 192.168.5.1 0.0.0.0
	 net 192.168.6.1 0.0.0.0
	 net 192.168.10.1 0.0.0.0
	 net 192.168.20.1 0.0.0.0
	 net 192.168.30.1 0.0.0.0
	 net 192.168.40.1 0.0.0.0
int Vlan 5			
	ospf network-type p2p
int vlan 6
	ospf network-type p2p
# AR1
ospf 1 router-id 3.3.3.3
	area 0
	 net 192.168.4.2 0.0.0.0
	 net 192.168.5.2 0.0.0.0
	 net 192.168.14.1 0.0.0.0
int g0/0/1
	ospf network-type p2p
int g0/0/2
	ospf network-type p2p
# AR4
ospf router-id 4.4.4.4
	silent-interface virtual-template 1
	area 0
	 net 192.168.14.2 0.0.0.0
	 net 172.16.1.254 0.0.0.0
	 net 192.168.9.10 0.0.0.0
int g0/0/0
	ospf network-type p2p
# AR3
ospf 1 router-id 5.5.5.5
	silent-interface g0/0/1.7
	silent-interface g0/0/1.8
	area 0
	 net 192.168.7.254 0.0.0.0
	 net 192.168.8.254 0.0.0.0
	 net 192.168.9.254 0.0.0.0
int g0/0/1.9
	ospf network-type p2p

配置完毕后,在随意在 PC 和服务器之间测试网络连通性,全网互通,除了VLAN 100 之外

项目互联网需求

  1. 企业总部通过 ISP 获得 202.1.1.0/29 网段公网地址,企业总部有 DNS 和Web/FTP 服务器 3 台,现希望外网 Client2 和企业分支 Client1 通过 202.1.1.1 访问总部的 DNS 服务器, 通过 202.1.1.2 访问 Web 服务器,通过 202.1.1.3 访问 FTP 服务器
  2. 总部 HR 和 Sale 使用 202.1.1.4-202.1.1.5 访问外网的 8.8.8.8 ,VLAN 10、VLAN 20 不允许访问互联网,当总部路由 AR1 外网链路失效后,要求 HR 和 Sale 的员工,能够临时使用 AR3 访问外网,当分支机构 AR3 外网链路失效后,依然能访问外网
  3. 企业分支和小分支通过 AR3 访问互联网,直接使用 AR3 的外网接口地址实现
  4. 互联网专线地址规划:
AR1G0/0/0102.1.1.1/30
AR2G0/0/0102.1.1.2/30
AR2G0/0/1103.1.1.2/30
AR2G0/0/28.8.8.1/24
AR3G0/0/0103.1.1.1/30
  1. 配置互联地址,以及缺省路由和回程路由
# AR1
int g0/0/0
	ip ad 102.1.1.1 30
ip route-static 0.0.0.0 0 102.1.1.2
# ISP
int g0/0/0
	ip ad 102.1.1.2 30
int g0/0/1
	ip ad 103.1.1.2 30
int g0/0/2
	ip ad 8.8.8.1 24
ip route-static 0.0.0.0 0 103.1.1.2
# AR3
int g0/0/0
	ip ad 103.1.1.1 30
ip route-static 0.0.0.0 0 103.1.1.2
  1. 配置 NAT Server
# AR1
nat server protocol udp global 202.1.1.1 53 insade 192.168.3.10 53
nat server protocol tcp global 202.1.1.2 80 inside 192.168.2.10 80
nat server protocol tcp global 202.1.1.3 21 inside 192.168.2.10 21
  1. 配置 SNAT 让 HR 和 Sale 用户以及分支和小分支可以访问外网 8.8.8.8
# AR1
nat address-group 1 202.1.1.5
acl 2000
	rule permit source 192.168.1.0 0.0.0.255
	rule permit source 192.168.7.0 0.0.0.255
	rule permit source 192.168.8.0 0.0.0.255
	rule permit source 192.168.30.0 0.0.0.255
	rule permit source 192.168.40.0 0.0.0.255
int g0/0/0
	nat outbond 2000 address-group 1
# AR3
acl 2000
	rule permit source 192.168.1.0 0.0.0.255
	rule permit source 192.168.7.0 0.0.0.255
	rule permit source 192.168.8.0 0.0.0.255
	rule permit source 192.168.30.0 0.0.0.255
	rule permit source 192.168.40.0 0.0.0.255
int g0/0/0
	nat outbound 2000
  1. 在 AR1 和 AR3 上配置 OSPF 协议动态下发缺省路由,Cost 类型为 Type-1
# AR1
ospf 1
	default-route-advertise type 1
# AR3
ospf 1
	default-route-advertise type 1
  1. 为了保证来回路径一致,修改 AR1 和 SW2 链路的 Cost
# AR1
int g0/0/2
	ospf cost 10
# SW2
int vlan 5
	ospf cost 10
  1. 为了防止企业专线中断,公司要求在 AR1 和 AR3 直接建立 GRE 隧道作为备用链路,当企业专线中断后,使用 GRE 隧道保证企业内网的连通性。GRE 隧道接口的地址段为10.1.1.0/30
# AR1
int tunnel 0/0/0
	tunnel-protocol gre
	ip ad 10.1.1.1 30
	source 102.1.1.1
	destination 103.1.1.1
# AR3
int tunnel 0/0/0
	tunnel-protocol gre
	ip ad 10.1.1.2 30
	source 103.1.1.1
	destination 102.1.1.1
# AR1
ospf 1
	area 0
	 net 10.1.1.1 0.0.0.0
int tunnel 0/0/0
	ospf cost 10000
# AR3
ospf 1
	area 0
	 net 10.1.1.2 0.0.0.0
int tunnel 0/0/0
	ospf cost 10000
  1. 业务测试,在 STA1 和 STA2 上 ping 测试 8.8.8.8,均能 ping 通。在 PC3 和 AR5 上 ping 测试 8.8.8.8 均能 ping 通
  • 业务测试,Client1,Client2 均能通过 202.1.1.2 以及 202.1.1.3 访问 Web 以及 FTP 服务
  • 业务测试,在 AR1 的接口 G0/0/0 失效后,STA1,STA2 依然可以通过 AR3 访问 8.8.8.8
  • 业务测试,当企业专线失效后,企业总部和分支,小分支均可以继续通信

DNS 服务器设置如下:

HCIA-RS项目实战案例

HCIA-RS项目实战案例

Web服务设置如下:

HCIA-RS项目实战案例

HCIA-RS项目实战案例

Client1设置如下:

HCIA-RS项目实战案例


以上内容均属原创,如有不详或错误,敬请指出。
本文作者: 坏坏 本文链接: https://blog.csdn.net/qq_45668124/article/details/109251305 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请联系作者注明出处并附带本文链接!

HCIA-RS项目实战案例相关教程

  1. 搭建react项目(npm)

    搭建react项目(npm) 文章目录 一、检查环境是否适合安装React项目 二、使用步骤 1.通过npm全局安装create-react-app 2.使用create-react-app命令来创建项目 一、检查环境是否适合安装React项目 首先检查一下是否已经安装webpack?(webpack-v) 安装webpack

  2. 实战!实战!Ansible部署高可用Open stack平台详解

    实战!实战!Ansible部署高可用Open stack平台详解 实战!实战!Ansible部署高可用Open stack平台详解 首先配置网络 网络配置,两张网卡:vmnet0桥接到物理网卡;vmnet1仅主机模式。 两个compute端和controller的配置相同 server_back的网卡配置 虚拟机文件里

  3. 在springboot项目中集成log4j日志输出

    在springboot项目中集成log4j日志输出 dependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-log4j/artifactIdversion1.3.8.RELEASE/version/dependency 此处有个注意点,就是关闭springboot自带的依赖: 将springstarter依赖:

  4. LeetCode--1077. 项目员工 III

    LeetCode--1077. 项目员工 III 开窗分组,找出最大的年限,然后找出工作年限等于最大年限的 select tmp.project_id, tmp.employee_idfrom(select *, max(t.experience_years) over(partition by t.project_id) maxfrom (select p.project_id, p.employee_id,

  5. nginx部署多个vue项目如何配置

    nginx部署多个vue项目如何配置 使用同一域名或者ip去部署访问多个前端项目,比如域名/ip直接访问官网,域名/ip后面带路径去访问其它项目 官网访问地址: http://192.168.27.119/login项目二访问地址:http://192.168.27.119/biz/login项目三访问地址:http://1

  6. 小白都能懂的设计模式 java版 抽象工厂模式 实战练习(超详细)

    小白都能懂的设计模式 java版 抽象工厂模式 实战练习(超详细) 比如要生产华为手机,华为路由器,小米手机,小米路由器 先写路由器和手机的接口: package abstract1;//手机产品接口public interface IphoneProduct { void start(); void shutdown(); void c

  7. java web 项目乱码问题的解决办法(数据库使用MySQL)

    java web 项目乱码问题的解决办法(数据库使用MySQL) 1、如何解决服务器返回页面中文乱码问题 response.setContentType(text/html;charset=UTF-8); 2、解决post方式请求表单参数中文乱码问题 request.setCharacterEncoding(UTF-8);//注意此语句一定要设置在

  8. mysql实战系列--直播(含回放)周报统计

    mysql实战系列--直播(含回放)周报统计 文章目录 1. 表设计 2. 数据示例 3. 需求及数据说明 4. sql实现 5. sql拆分解析 5.1 原始数据处理(子查询1) 5.2 过滤多余重复数据(子查询2) 5.3 生成报告 1. 表设计 由于我这边数据量比较大对数据进行了按用户分了100个