Проблема ciaco 1760 подключаются к провайдеру по PPTP. Поднимается соединение по OSPF, но маршруты OSPF находятся в базе данных (по команде sh ip ospf data), но не в таблице маршрутизации их нет Почему?
Конфиг:
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service internal
!
hostname c1760sb
!
boot-start-marker
boot-end-marker
!
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
voice-card 1
!
aaa new-model
!
!
aaa authentication login default local
aaa authentication ppp default local
aaa session-id common
ip subnet-zero
no ip source-route
no ip gratuitous-arps
ip cef
!
!
!
!
no ip domain lookup
vpdn enable
!
vpdn-group 1
request-dialin
protocol pptp
rotary-group 0
initiate-to ip 1.2.3.4
!
! Default PPTP VPDN group
vpdn-group 2
accept-dialin
protocol pptp
virtual-template 1
!
vpdn-group 3
request-dialin
protocol pppoe
!
no ftp-server write-enable
!
!
!
!
!
!!
!
!
interface Loopback0
ip address 10.10.20.20 255.255.255.255
!
interface Loopback2
ip address 192.168.2.254 255.255.255.255
!
interface Ethernet0/0
no ip address
full-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface FastEthernet0/0
no ip address
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 1 native
ip address 192.168.0.11 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat inside
ip ospf mtu-ignore
no cdp enable
!
interface FastEthernet0/0.16
encapsulation dot1Q 16
ip address 172.16.0.11 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
no cdp enable
!
interface Virtual-Template1
ip unnumbered FastEthernet0/0.1
peer default ip address pool vpn
no keepalive
ppp authentication pap chap ms-chap
!
interface Dialer0
mtu 1460
ip address 10.22.0.252 255.255.255.0
encapsulation ppp
dialer in-band
dialer idle-timeout 180000
dialer string 123
dialer vpdn
dialer-group 2
no cdp enable
ppp chap hostname stest
ppp chap password 0 ***
ppp pap sent-username stest password 0 ***
!
interface Dialer1
ip address negotiated
ip access-group test in
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer persistent delay initial 30
dialer persistent delay 15
dialer vpdn
dialer-group 1
no cdp enable
ppp authentication pap chap callin
ppp chap hostname ***
ppp chap password 0 ***
ppp pap sent-username *** password 0 ***
!
router ospf 22
log-adjacency-changes
network 10.22.0.0 0.0.255.255 area 0
!
ip local pool vpn 192.168.1.1 192.168.1.250
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 10.22.0.0 255.255.0.0 Dialer0
no ip http server
ip nat inside source list 1 interface Dialer1 overload
!
ip access-list extended test
permit tcp any any eq 1723
permit tcp any any established
permit gre any any
permit icmp any any
deny ip any any log!
access-list 1 permit 192.168.0.0 0.0.0.255
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
dialer-list 3 protocol ip permit
!
control-plane
!
!
!
voice-port 1/0
!
voice-port 1/1
!
voice-port 1/2
!
voice-port 1/3
!
!!
line con 0
line aux 0
line vty 0 4
privilege level 15
transport input telnet
!
end
>[оверквотинг удален]
> !
> !
> !
> line con 0
> line aux 0
> line vty 0 4
> privilege level 15
> transport input telnet
> !
> endsh ip ospf nei
sh ip ospf 22
а вы оспф соседство устанавливаете с провайдером что ли?
еще может помочь в этом деле debug
>[оверквотинг удален]
>> line aux 0
>> line vty 0 4
>> privilege level 15
>> transport input telnet
>> !
>> end
> sh ip ospf nei
> sh ip ospf 22
> а вы оспф соседство устанавливаете с провайдером что ли?
> еще может помочь в этом деле debugУ нас через провайдера организован VPN и он использует OSPF.
c1760sb#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
10.22.0.1 0 FULL/ - 00:00:39 10.22.0.1 Dialer0c1760sb#sh ip ospf 22
Routing Process "ospf 22" with ID 192.168.2.254
Start time: 00:00:29.784, Time elapsed: 00:17:05.469
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Supports area transit capability
Router is not originating router-LSAs with maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
Incremental-SPF disabled
Minimum LSA interval 5 secs
Minimum LSA arrival 1000 msecs
LSA group pacing timer 240 secs
Interface flood pacing timer 33 msecs
Retransmission pacing timer 66 msecs
Number of external LSA 17. Checksum Sum 0x086A88
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Number of areas transit capable is 0
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 2 (1 loopback)
Area has no authentication
SPF algorithm last executed 00:03:40.971 ago
SPF algorithm executed 11 times
Area ranges are
Number of LSA 10. Checksum Sum 0x05FBA8
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
debug ip ospf adj
debug ip ospf hello
debug ip ospf packet
*Mar 11 17:52:44.887: OSPF: Send hello to 224.0.0.5 area 0 on Dialer0 from 10.22
.0.252
*Mar 11 17:52:44.947: OSPF: rcv. v:2 t:1 l:48 rid:10.22.0.1
aid:0.0.0.0 chk:1DDE aut:0 auk: from Dialer0
*Mar 11 17:52:44.947: OSPF: Rcv hello from 10.22.0.1 area 0 from Dialer0 10.22.0
.1
*Mar 11 17:52:44.947: OSPF: End of hello processing
>[оверквотинг удален]
> debug ip ospf packet
> *Mar 11 17:52:44.887: OSPF: Send hello to 224.0.0.5 area 0 on Dialer0
> from 10.22
> .0.252
> *Mar 11 17:52:44.947: OSPF: rcv. v:2 t:1 l:48 rid:10.22.0.1
> aid:0.0.0.0 chk:1DDE aut:0 auk: from Dialer0
> *Mar 11 17:52:44.947: OSPF: Rcv hello from 10.22.0.1 area 0 from Dialer0
> 10.22.0
> .1
> *Mar 11 17:52:44.947: OSPF: End of hello processingа какие сети вам анонсяться?
сделайте sh ip route
покажите sh ip ospf database
>[оверквотинг удален]
>> .0.252
>> *Mar 11 17:52:44.947: OSPF: rcv. v:2 t:1 l:48 rid:10.22.0.1
>> aid:0.0.0.0 chk:1DDE aut:0 auk: from Dialer0
>> *Mar 11 17:52:44.947: OSPF: Rcv hello from 10.22.0.1 area 0 from Dialer0
>> 10.22.0
>> .1
>> *Mar 11 17:52:44.947: OSPF: End of hello processing
> а какие сети вам анонсяться?
> сделайте sh ip route
> покажите sh ip ospf databasesh ip protocols
>[оверквотинг удален]
>>> *Mar 11 17:52:44.947: OSPF: rcv. v:2 t:1 l:48 rid:10.22.0.1
>>> aid:0.0.0.0 chk:1DDE aut:0 auk: from Dialer0
>>> *Mar 11 17:52:44.947: OSPF: Rcv hello from 10.22.0.1 area 0 from Dialer0
>>> 10.22.0
>>> .1
>>> *Mar 11 17:52:44.947: OSPF: End of hello processing
>> а какие сети вам анонсяться?
>> сделайте sh ip route
>> покажите sh ip ospf database
> sh ip protocolsчто то я не вижу на каком интерфейсе они дружат по оспф