设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 1056|回复: 2
收起左侧

[其他] OSPF重分布问题

[复制链接]
发表于 2018-4-22 09:21:09 | 显示全部楼层 |阅读模式


OSPF的R8和R9 区域0
R9中有两个VLAN : VLAN10和VLAN20
R10和R11 分别是模拟两台PC
R10属于VLAN10  R11属于VLAN20
VLAN10 和VLAN20 是OSPF区域10
R8 重分布lookpack接口,地址是11.11.11.11
问题: R10#ping 11.11.11.11 不通。R11#ping11.11.11.11 不通。
麻烦大家看看。配置有什么问题 。还是配置缺少什么。
配置如下:
=========================================================================
R8#show run
Building configuration...
Current configuration : 983 bytes
!
! Last configuration change at 21:52:57 EET Sat Apr 21 2018
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
!
!         
no ip domain-lookup
ip cef   
no ipv6 cef
!         
!         
!         
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!         
vlan internal allocation policy ascending
!         

!         

interface Loopback1
ip address 11.11.11.11 255.255.255.255
!         
interface Ethernet0/0
no switchport
ip address 192.168.100.2 255.255.255.252
ip ospf 100 area 0
duplex auto
!         
interface Ethernet0/1
!         
interface Ethernet0/2
!         
interface Ethernet0/3
!         
router ospf 100
router-id 1.1.1.1
redistribute connected subnets
!         
ip forward-protocol nd
!         
no ip http server
no ip http secure-server
!         
!         
!         
!         
!         
!         
control-plane
!         
!         
line con 0
logging synchronous
line aux 0
line vty 0 4
!         
!         
end
==========================================================================

R9#show run
Building configuration...
Current configuration : 1207 bytes
!
! Last configuration change at 22:17:10 EET Sat Apr 21 2018
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname ABR
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
!

!         
no ip domain-lookup
ip cef   
no ipv6 cef
!         
!         
!         
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!         
vlan internal allocation policy ascending
!         
!         
!         
!         
!         
!         
interface Ethernet0/0
no switchport
ip address 192.168.100.1 255.255.255.252
ip ospf 100 area 0
duplex auto
!         
interface Ethernet0/1
switchport access vlan 10
switchport mode access
!         
interface Ethernet0/2
switchport access vlan 20
switchport mode access
!         
interface Ethernet0/3
!         
interface Vlan10
ip address 192.168.10.1 255.255.255.0
ip ospf 100 area 10
!         
interface Vlan20
ip address 192.168.20.1 255.255.255.0
ip ospf 100 area 10
!         
router ospf 100
router-id 2.2.2.2
network 192.168.10.0 0.0.0.255 area 10
network 192.168.20.0 0.0.0.255 area 10
!         
ip forward-protocol nd
!         
no ip http server
no ip http secure-server
!         
!         
!   

=======================================================================
模拟PC
Router11(config)#do show run
Building configuration...
Current configuration : 1043 bytes
!
! Last configuration change at 22:19:52 EET Sat Apr 21 2018
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip routing
!         
!         
!         
!  
no ip cef
no ipv6 cef
!         
multilink bundle-name authenticated
!         
!      
!         
redundancy
!         
!      
!         
interface Ethernet0/0
ip address 192.168.20.10 255.255.255.0
no ip route-cache
!         
interface Ethernet0/1
no ip address
no ip route-cache
shutdown
!         
interface Ethernet0/2
no ip address
no ip route-cache
shutdown
!         
interface Ethernet0/3
no ip address
no ip route-cache
shutdown
!         
ip default-gateway 192.168.20.1
ip forward-protocol nd
!         
!         
no ip http server
no ip http secure-server
!         
!         
!         
!         
control-plane
!         
!         
!         
!         
!         
!         
!         
!         
line con 0
logging synchronous
line aux 0
line vty 0 4
login   
transport input none
!         
!         
end            
=============================================================================
模拟PC
Router10(config)#do show run
Building configuration...
Current configuration : 1001 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
clock timezone EET 2 0
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip routing
!
!         
!
!         
no ip domain lookup
no ip cef
no ipv6 cef
!         
multilink bundle-name authenticated
!         
!   
redundancy
!      
!         
interface Ethernet0/0
ip address 192.168.10.10 255.255.255.0
no ip route-cache
!         
interface Ethernet0/1
no ip address
no ip route-cache
shutdown
!         
interface Ethernet0/2
no ip address
no ip route-cache
shutdown
!         
interface Ethernet0/3
no ip address
no ip route-cache
shutdown
!         
ip default-gateway 192.168.10.1
ip forward-protocol nd
!         
!         
no ip http server
no ip http secure-server
!         
!         
!         
!         
control-plane
!         
!         
!      
!         
line con 0
logging synchronous
line aux 0
line vty 0 4
login   
transport input none
!         
!         
end      
=============================
为什么R10 和R11 ping不通 11.11.11.11
说明原因。谢谢

211.jpg
 成长值: 26395
发表于 2018-4-22 10:28:47 | 显示全部楼层
看一下R9有沒有  11.11.11.11的路由
沙发 2018-4-22 10:28:47 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2018-4-22 23:36:56 | 显示全部楼层
R9有一条11.11.11.11 OSPF外部的路由。怎么就是不通。麻烦大家了
板凳 2018-4-22 23:36:56 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-25 15:44 , Processed in 0.081466 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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