您的位置:首页 > 其它

OSPF的高级配置

2010-03-04 21:28 323 查看
实验目的:
掌握OSPF的虚链路
实验环境拓扑图及要求:
 



实验步骤:【必写】
分类写出你的实验进行中的步骤,可用文字或图片加水印标记
配置文档:
RA:
en
conf t
host RA
no ip domain-lookup
int loop 0
ip add 10.0.0.1 255.255.0.0 //配置loop端口的IP
exit
int f0/0
ip add 192.168.1.2 255.255.255.0 //配置端口IP
no sh
exit
router ospf 250 //启用OSPF协议
network 0.0.0.0 255.255.255.255 area 0 //宣告网段并将加入骨干区域
end
RB:
en
conf t
host RB
no ip domain-lookup
int loop 0
ip add 10.0.0.2 255.255.0.0
exit
int f0/0
ip add 192.168.1.1 255.255.255.0
no sh
exit
int f1/0
ip add 192.168.0.1 255.255.255.0
no sh
exit
router ospf 250
network 192.168.1.0 0.0.0.255 area 0
network 10.0.0.0 0.0.255.255 area 1
network 192.168.0.0 0.0.0.255 area 1
area 1 virtual-link 10.0.0.3 //在区域1上配置一条虚链路并指定router ID
end
RC:
en
conf t
host RC
no ip domain-lookup
int loop 0
ip add 10.0.0.3 255.255.0.0
exit
int f0/0
ip add 192.168.0.2 255.255.255.0
no sh
exit
int f1/0
ip add 172.16.0.1 255.255.255.0
no sh
exit
router ospf 250
network 192.168.0.0 0.0.0.255 area 1
network 10.0.0.0 0.0.255.255 area 2
network 172.16.0.0 0.0.0.255 area 2
area 1 virtual-link 10.0.0.2
end
Rd:
en
conf t
host RD
no ip domain-lookup
int loop 0
ip add 10.0.0.4 255.255.0.0
exit
int f0/0
ip add 172.16.0.2 255.255.255.0
no sh
exit
router ospf 250
network 0.0.0.0 255.255.255.255 area 2
end
测试截图:








内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: