注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用手机和电池实现反地心..
 帮助

TCP/IP卷一实验之------OSPF


2007-04-13 10:30:44
 标签:OSPF 实验 TCP/IP   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
2,Configure summarization on all ABRs in Table 8-13. 
3 Modify the configurations to make area 15 a stub area. 
4 Modify the configurations to make area 30 a totally stubby area. 
5 Interface S0 of router H is connected to a router running another routing protocol, and the routes learned from that protocol are being redistributed into OSPF. Modify the configurations as necessary to allow these redistributed routes to be advertised throughout the OSPF domain, but do not allow any type 5 LSAs to enter area 20. 
 
A
conf t
int l 0
ip ad 10.100.100.1 255.255.255.255
int e0
ip ad 10.0.1.1 255.255.255.0
no shut
int e 1
ip ad 10.0.2.1 255.255.255.0
no shut
int e 2
ip ad 10.0.3.1 255.255.255.0
no shut
int e 4
ip ad 10.0.4.1 255.255.255.0
no shut
router ospf 1
router-id 10.100.100.1
net 10.0.1.1 0.0.0.0 a 0
net 10.0.2.1 0.0.0.0 a 0
net 10.0.3.1 0.0.0.0 a 0
net 10.0.4.1 0.0.0.0 a 0
end
 
 
B
conf t
int l 0
ip ad 10.100.100.2 255.255.255.255
int e 0
ip ad 10.0.1.2 255.255.255.0
no shut
int e 1
ip ad 10.5.1.1 255.255.255.0
no shut
int s 0
ip ad 10.5.255.13 255.255.255.252
no shut
int s 1
ip ad 10.5.255.129 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.2
net 10.0.1.2 0.0.0.0 a 0
net 10.5.1.1 0.0.0.0 a 5
net 10.5.255.13 0.0.0.0 a 5
net 10.5.255.129 0.0.0.0 a 5
area 0 range 10.0.0.0 255.255.0.0
area 5 range 10.5.0.0 255.255.0.0
end
 
 
C
conf t
int l 0
ip ad 10.100.100.3 255.255.255.255
int e 0
ip ad 10.0.2.2 255.255.255.0
no shut
int e 1
ip ad 10.10.1.1 255.255.255.0
no shut
int s 0
ip ad 10.30.255.249 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.3
net 10.0.2.2 0.0.0.0 a 0
net 10.10.1.1 0.0.0.0 a 10
net 10.30.255.249  0.0.0.0 a 30
area 0 range 10.0.0.0 255.255.0.0
area 10 range 10.10.0.0 255.255.0.0
area 30 range 10.30.0.0 255.255.0.0
area 30 stub no-summary
end
 
 
D
conf t
int l 0
ip ad 10.100.100.4 255.255.255.255
int e 0
ip ad 10.0.3.2 255.255.255.0
no shut
int e1
ip ad 10.20.1.1 255.255.255.0
no shut
router ospf 1
router-id 10.100.100.4
net 10.0.3.2 0.0.0.0 a 0
net 10.20.1.1 0.0.0.0 a 20
area 0 range 10.0.0.0 255.255.0.0
area 20 range 10.20.0.0 255.255.0.0
area 20 nssa
end
 
E
conf t
int l 0
ip ad 10.100.100.5 255.255.255.255
int e 0
ip ad 10.0.4.2 255.255.255.0
no shut
int s 0
ip ad 10.15.255.1 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.5
net 10.0.4.2 0.0.0.0 a 0
net 10.15.255.1.255 0.0.0.0 a 15
area 0 range 10.0.0.0 255.255.0.0
area 15 range 10.15.0.0 255.255.0.0
area 15 stub
end
 
 
F
conf t
int l 0
ip ad 10.100.100.6 255.255.255.255
int e 0
10.5.5.1 255.255.25.0
no shut
int s 0
ip ad 10.5.255.13 255.255.255.252
no shut
int s 1
ip ad 10.5.255.65 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.6
net 10.5.5.1 0.0.0.0 a 5
net 10.5.255.13 0.0.0.0 a 5
net 10.5.255.65 0.0.0.0 a 5
end
 
 
G
conf t
int l 0
ip ad 10.100.100.7 255.255.255.255
int e 0
ip ad 10.10.1.58 255.255.255.0
no shut
int s 0
ip ad 10.10.255.5 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.7
net 10.10.1 58 0.0.0.0 a 10
end
 
 
H
conf t
int l 0
ip ad 10.100.100.8 255.255.255.255
int e 0
ip ad 10.20.1.2 255.255.255.252
no shut
int e 1
ip ad 10.20.100.100 255.255.255.224
no shut
int s 0
ip ad 10.20.255.225 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.8
net 10.20.1.2 0.0.0.0 a 20
net 10.20.100.100 0.0.0.0 a 20
area 20 nssa
end
 
 
I
conf t
int l 0
ip ad 10.100.100.9 255.255.255.255
int e 0
ip ad 10.35.1.1 255.255.255.0
no shut
int s 0
ip ad 10.5.255.66 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.9
net 10.35.1.1 0.0.0.0 a 35
net 10.5.255.66 0.0.0.0 a 5
area 5 range 10.5.0.0 255.255.0.0
end
 
 
J
conf t
int l 0
ip ad 10.100.100.10 255.255.255.255
int e 0
ip ad 10.15.227.50 255.255.255.0
no shut
int s0
ip ad 10.15.225.2 255.255.255.252
no shut
router ospf 1
router-id 10.100.100.10
net 10.15.227.50 0.0.0.0 a 15
net 10.15.225.2 0.0.0.0 a 15
area 15 stub
end
 
 
K
conf t
int l 0
ip ad 10.100.100.11 255.255.255.255
int e 0
ip ad 10.30.1.1 255.255.255.0
no shut
int s 0
ip ad 10.30.254.193 255.255.255.192
encap f
no arp f
no frama inver
frame map ip 10.30.254.194 102 b
frame map ip 10.30.254.195 103 b
frame map ip 10.30.253.196 104 b
no shut
ip ospf priority 255
router ospf 1
router-id 10.100.100.11
nei 10.30.254.194
nei 10.30.254.195
nei 10.30.254.196
net 10.30.254.193 0.0.0.0 a 30
net 10.30.1.1 0.0.0.0 a 30
area 30 stub
end
 
 
L
conf t
int l 0
ip ad 10.100.100.12 255.255.255.255
int e 0
ip ad 10.30.2.1 255.255.255.0
no shut
int s 0
ip ad 10.30.254.194 255.255.255.192
ip ospf priority 0
encap f
no arp f
no frame inver
frame map ip 10.30.254.193 203 b
frame map ip 10.30.254.195 203 b
frame map ip 10.30.254.196 203 b
no shut
router ospf 1
router-id 10.100.100.12
net 10.30.2.1 0.0.0.0 a 30
nei 10.30.254.193
net 10.30.254.294 0.0.0.0 a 30
area 30 stub
end
 
 
M
conf t
int l 0
ip ad 10.100.100.13 255.255.255.255
int e 0
ip ad 10.30.3.1 255.255.255.0
no shut
int s 1
ip ad 10.30.255.250 255.255.255.252
no shut
int s 0
ip ad 10.30.254.195 255.255.255.192
ip ospf priority 0
encap f
no arp f
no frame inver
frame map ip 10.30.254.193 203 b
frame map ip 10.30.254.194 203 b
frame map ip 10.30.254.196 203 b
no shut
router ospf 1
router-id 10.100.100.13
nei 10.30.254.193
net 10.30.3.1 0.0.0.0 a 30
net 10.30.255.250 0.0.0.0 a 30
net 10.30.254.195 0.0.0.0 a 30
area 30 stub
end
 
 
N
conf t
int l 0
ip ad 10.100.100.14 255.255.255.255
int e 0
ip ad 10.30.4.1 255.255.255.0
no shut
int s 0
ip ad 10.30.254.196 255.255.255.192
ip ospf priority 0
encap f
no arp f
no frame inver
frame map ip 10.30.254.193 203 b
frame map ip 10.30.254.194 203 b
frame map ip 10.30.254.195 203 b
router ospf 1
router-id 10.100.100.14
nei 10.30.254.193
net 10.30.4.1 0.0.0.0 a 30
net 10.30.254.196 0.0.0.0 a 30
area 30 stub
end

本文出自 “穿过地狱去看海” 博客,谢绝转载!





    文章评论
 <<   1   2   >>   页数 ( 1/2 )  
2007-04-13 16:04:47
感觉书上对实验讲解挺详细,但是课后的练习显得单调了些

2007-04-13 16:50:02
老大啊,我越来越崇拜你了。。。太强了。

2007-04-14 01:34:32
你强,用这么多台路由器模拟呀

2007-04-14 04:25:38
哪里,我只写个配置,不过都没有去验证

2007-04-14 11:34:53
顶一下,呵呵,

2007-04-26 14:54:22
S O 口不用配置时钟的吗?晕死!

2007-04-26 15:19:19
感谢你提出来,为了省事,就没有写

 <<   1   2   >>   页数 ( 1/2 )  

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: