设为首页收藏本站language 语言切换
查看: 2271|回复: 8
收起左侧

[已解决] 求助,OSPF实验题

[复制链接]
发表于 2011-9-15 13:20:05 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2011-9-24 16:45 编辑

小弟自学CCNP,有一个OSPF配置问题,请大虾们帮忙,赐教,哪怕给点儿意见也好


Montreal   Serial 0/0/0     192.168.100.1/24

Ottawa     Serial 0/0/0     192.168.100.2/24
                Loopback 0     172.16.1.1/24
                Serial 0/0/1      192.168.1.1/24

Toronto    Serial 0/0/1      192.168.1.2/24
                Serial 0/1/0       192.168.200.1/24

Vancouver  Serial 0/0/0    192.168.200.2/24
                  Loopback 1    45.234.56.1/26
                  Loopback 2    45.234.56.65/26
                  Loopback 3    45.234.56.129/26
                  Loopback 4    45.234.56.193/26
                  Loopback 5    45.234.57.1/26
                  Loopback 6    45.234.57.65/26
                  Loopback 7    45.234.57.129/26
                  Loopback 8    45.234.57.193/26
Configuration Requirements
1. Configure the interfaces in the diagram with the IP addresses as specified in Table 1.
           o Ottawa‟s loopback interface is not part of an OSPF area.
           o Vancouver‟s loopback interfaces should be configured in area 300.
2. Configure OSPF with interfaces in the areas shown Figure 1 and described in Table 1.
3. Configure area 100 as an NSSA area.
4. Create virtual links as necessary to achieve full connectivity.
5. Use MD5 authentication with the keyword “cisco” over the link between Toronto and Vancouver.
6. Modify the link between Ottawa and Toronto to have „hello‟ and „dead‟ timers that are double the default values.
7. Redistribute the loopback network on router Ottawa into OSPF.
8. Ensure loopback interfaces are advertised with the correct subnet mask.
9. Configure the router Vancouver loopback interfaces to be in area 300. Summarise this area with the most efficient summary.
10. Run a Tcl script on all routers to verify connectivity.
以上是配置要求,当小弟配置到第四部的时候,就怎么也不能实现全部连接,以下是小弟的配置信息,希望大家可以给点儿意见(因为小弟第四步配置出错,所以只有前三步的内容):
R1:conf t
hostname Montreal
interface serial 0/0/0
ip address 192.168.100.1 255.255.255.0
clock rate 64000
no shutdown
exit
router ospf 1
router-id 1.1.1.1
network 192.168.100.0 0.0.0.255 area 100
area 100 nssa
R2:conf thostname Ottawa
interface serial 0/0/0
ip address 192.168.100.2 255.255.255.0
clock rate 64000
no shutdown
exit
interface serial 0/0/1
ip address 192.168.1.1 255.255.255.0
clock rate 64000
no shutdown
exit
interface loopback 0
ip address 172.16.1.1 255.255.255.0
exit
router ospf 1
router-id 2.2.2.2
network 192.168.100.0 0.0.0.255 area 100
network 192.168.1.0 0.0.0.255 area 0
area 100 nssa
exit
int lo0
ip ospf network point-to-point
R3:conf t
hostname Toronto
int s0/0/1
ip add 192.168.1.2 255.255.255.0
no shut
exit
int s0/1/0
ip add 192.168.200.1 255.255.255.0
clock rate 64000
no shut
exit
router ospf 1
router-id 3.3.3.3
network 192.168.200.0 0.0.0.255 area 200
network 192.168.1.0 0.0.0.255 area 0
R4:conf t
hostname Vancouver
int lo1
ip add 45.234.56.1 255.255.255.192
int lo2
ip add 45.234.56.65 255.255.255.192
int lo3
ip add 45.234.56.129 255.255.255.192
int lo4
ip add 45.234.56.193 255.255.255.192
int lo5
ip add 45.234.57.1 255.255.255.192
int lo6
ip add 45.234.57.65 255.255.255.192
int lo7
ip add 45.234.57.129 255.255.255.192
int lo8
ip add 45.234.57.193 255.255.255.192
int s0/0/0
ip add 192.168.200.2 255.255.255.0
no shut
exit
router ospf 1
router-id 4.4.4.4
network 192.168.200.0 0.0.0.255 area 200
network 45.234.0.0 0.0.0.63 area 300




 楼主| 发表于 2011-9-15 13:22:54 | 显示全部楼层
1.png
忘了传图片了
沙发 2011-9-15 13:22:54 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-9-15 14:20:40 | 显示全部楼层
R3 R4上建虚链路不行?
板凳 2011-9-15 14:20:40 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-15 14:26:04 | 显示全部楼层
建了,但是输入 show ip route以后看不到loopback,  输入show ip ospf neighbor在R3上,可以看到虚拟链路
,是不是我的loopback网址分配有问题
地板 2011-9-15 14:26:04 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-9-15 14:40:58 | 显示全部楼层
network 45.234.0.0 0.0.0.63 area 300
area300里具体是那几个loopback地址啊
5# 2011-9-15 14:40:58 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-15 14:47:03 | 显示全部楼层
就是那8个LOOPBACK地址
6# 2011-9-15 14:47:03 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-9-16 11:24:58 | 显示全部楼层
  R3:

    router os 1
   
    area 200 virtual-link 4.4.4.4

    R4:

    router os 1

      area 200 virtual-link 3.3.3.3
7# 2011-9-16 11:24:58 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2011-9-16 11:45:13 | 显示全部楼层
network 45.234.0.0 0.0.0.63 area 300发布不够严谨。
你是2个网段 56 ,57 。在划分子网的时候56,57网段的时候 是1,65,129,193.你如果想用块大小为64的 你觉得个子网该怎么写。这个几个地址,如果按64大小来分,他们该属于0,64,128,192。那么在做精确发布的时候,就该已他们的子网的网络号来书写。

如:network 45.234.56.0 0.0.0.63 area 300
     network 45.234.56.64 0.0.0.63 area 300
后面的依次类推。。
这个只是自己的理论猜想。。在网吧。没回去做试验。。做了后再解答。。希望对你有用





评分

参与人数 1威望 +1 收起 理由
小乔 + 1

查看全部评分

8# 2011-9-16 11:45:13 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-9-17 10:12:29 | 显示全部楼层
9# 2011-9-17 10:12:29 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 15:57 , Processed in 0.061754 second(s), 15 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表