华为HCNA实验典型实例

  • 格式:doc
  • 大小:4.00 MB
  • 文档页数:18

下载文档原格式

  / 20
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

fi

一、静态路由的配置实例:

实验目的:将拓扑图网络设备和节点,实现网络互通。

1、规划PC和路由器各接口IP地址;

2、配置路由器和PC的IP地址,并测试直连路由是否通过:

[R1-GigabitEthernet0/0/0]ip address 24

问题:

1、为什么要在边界路由器上默认路由

答:因为企业员工要上网,运行默认路由的这台路由器,都会把不知道往哪里的数据包往互联网上扔!

save

Are you sure to continue (y/n)[n]:y

It will take several minutes to save configuration file, please wait.......

Configuration file had been saved successfully

Note: The configuration file will take effect after being activated

*

静态路由的负载分担

如图:静态路由负载分担拓扑图配置地址后,使用静态路由到达网络号 /24 。达到自由选路功能[R5]ip route-static 24

[R5]ip route-static 24

[R5]ip route-static 24

二、rip动态路由实例

实验目的:通过rip动态路由协议配置,使下图设备全网互通

[R1]rip 问题:解决路由环路的办法

1、触发更新,用来避免环路

2、¥

3、限制跳数

4、水平分割

5、路由中毒/毒性翻转 /路由毒化

6、Rip计时器

(以上方法都是rip路由协议默认启用的)

虽然更改成版本2RIPv2可以解决不连续子网问题,但是会使路由表变大。为了提高路由器性能需要进行路由手动汇总!

[R1-GigabitEthernet0/0/0]rip summary-address (掩码需要进行换算)

&

前提是R1路由器有以下环回接口:

将这三个IP地址换算出子网掩码

RIP支持接口明文验证和密文验证

明文:密码

123

密文:

nonstandard 国际标准加密算法。 Usual 华为私有加密算法。

?

三、OSPF动态路由协议

[R1]ospf 1 注意:如果一开始启动OSPF进程,没有配置router-id,那么OSPF路由器会自己选举Router-id.

>

区域只针对接口

四、端口聚合技术实例

/

[SW1]interface Eth-Trunk 1

么R3则成为从路由),vrrp路由器默认优先级为100 。[R3-GigabitEthernet0/0/1]vrrp vrid 1 virtual-ip

允许访问这台server [FW1-policy-interzone-dmz-untrust-inbound-10]action permit //允许访问

注意:由于FTP有两个端口21(控制端口)和20(数据端口)因此需要做一下配置

[FW1]firewall interzone dmz untrust //进入 dmz 和 untrust之间的区域

[FW1-interzone-dmz-untrust]detect ftp //只要是FTP的数据包都放行

.

[FW1-interzone-dmz-untrust]detect

activex-blocking Indicate ActiveX blocking

dns Indicate the DNS protocol

ftp Indicate the File Transfer Protocol

h323 Indicate the protocol

icq Indicate ICQ protocol

:

ils Indicate the ILS protocol

ipv6 Configure internet protocol version 6

java-blocking Indicate Java blocking

mgcp Indicate the Media Gateway Control Protocol

mms Indicate the MMS protocol

msn Indicate MSN

nat64 Configure the information about network address and protocol translation from IPv6 clients to IPv4

servers (NAT64)

netbios Indicate the NetBIOS protocol

pptp Indicate the Point-to-Point Tunnel Protocol qq Indicate QQ

rtsp Indicate the Real Time Streaming Protocol sip Indicate the Session Initiation Protocol

sqlnet Indicate the SQL*NET protocol

user-defined Indicate defined by user

^

七、网络安全管理-NAT技术

相关主题