栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

华三HCL多区域ospf实验

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

华三HCL多区域ospf实验

 

实验目的:用ospf协议实现pc4能访问pc5。

R1配置如下:

interface LoopBack0
 ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0
 port link-mode route
 combo enable copper
 ip address 10.0.0.2 255.255.255.0
#
interface GigabitEthernet0/1
 port link-mode route
 combo enable copper
 ip address 20.0.0.1 255.255.255.0

 router id 1.1.1.1
#
ospf 1
 area 0.0.0.0
  network 1.1.1.1 0.0.0.0
  network 10.0.0.0 0.0.0.255
  network 20.0.0.0 0.0.0.255

R2配置如下:

interface LoopBack0
 ip address 2.2.2.2 255.255.255.255
#
interface GigabitEthernet0/0
 port link-mode route
 combo enable copper
 ip address 30.0.0.2 255.255.255.0
#
interface GigabitEthernet0/1
 port link-mode route
 combo enable copper
 ip address 20.0.0.2 255.255.255.0

#
 router id 2.2.2.2
#
ospf 1
 area 0.0.0.0
  network 2.2.2.2 0.0.0.0
  network 20.0.0.0 0.0.0.255
 area 0.0.0.1
  network 30.0.0.0 0.0.0.255

R3配置如下:

interface LoopBack0
 ip address 3.3.3.3 255.255.255.255
#
interface GigabitEthernet0/0
 port link-mode route
 combo enable copper
 ip address 10.1.0.2 255.255.255.0
#
interface GigabitEthernet0/1
 port link-mode route
 combo enable copper
 ip address 30.0.0.1 255.255.255.0

#
 router id 3.3.3.3
#
ospf 1
 area 0.0.0.1
  network 3.3.3.3 0.0.0.0
  network 10.1.0.0 0.0.0.255
  network 30.0.0.0 0.0.0.255

测试如下:

 注意:PC配置的时候一定要配网关。

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/880609.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号