The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
VRF & OSPF, !*! psiisyapk, 20-Дек-12, 15:55  [смотреть все]
Здравствуйте, пытаюсь самостоятельно изучать vrf в связке с протоколами маршрутизации. Начал с оспф. Настройка была выполнена, маршруты между роутерами бегают, соседство по оспф устанавливается в своих vrf-ах, но проблема в том что ничего не пингуется, даже адреса стыка между роутерами не пингуют друг друга, не понимаю в чем проблема.

Схема примерно такая   ---   R1 (fa0/0) <--> () (fa0/0) R2, конфиги ниже :

router1#sh run
Building configuration...

Current configuration : 1367 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router1
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
memory-size iomem 5
ip cef
!
ip vrf lo1
rd 65000:2
!
ip vrf lo2
rd 65001:2
!
ip vrf r1
rd 65000:1
!
no ip domain lookup
ip domain name lab.local
!
interface Loopback0
ip vrf forwarding lo1
ip address 192.168.1.1 255.255.255.255
!
interface Loopback1
ip vrf forwarding r1
ip address 192.168.0.2 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding r1
ip address 10.10.10.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router ospf 1 vrf lo1
log-adjacency-changes
passive-interface default
no passive-interface Loopback0
network 192.168.1.1 0.0.0.0 area 0
!
router ospf 2 vrf r1
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet0/0
network 10.10.10.0 0.0.0.3 area 0
network 192.168.0.2 0.0.0.0 area 0
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end

router2#sh run
Building configuration...

Current configuration : 1222 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip source-route
ip cef
!
ip vrf lo1
rd 65000:2
!
ip vrf r1
rd 65000:1
!
no ip domain lookup
ip domain name lab.local
!
interface Loopback0
ip vrf forwarding lo1
ip address 192.168.1.2 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding r1
ip address 10.10.10.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
!
router ospf 1 vrf lo1
log-adjacency-changes
passive-interface default
no passive-interface Loopback0
network 192.168.1.2 0.0.0.0 area 0
!
router ospf 2 vrf r1
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet0/0
network 10.10.10.0 0.0.0.3 area 0
!
no ip http server
no ip http secure-server
!
control-plane
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end

  • VRF & OSPF, !*! Merridius, 16:06 , 20-Дек-12 (1)
    • VRF & OSPF, !*! psiisyapk, 16:14 , 20-Дек-12 (2)
      > А вы пингуете из VRF или из global?
      > ping vrf r1 10.10.10.2 source fa0/0

      так, по ходу я не в курсе что пинг с vrf тоже по другому задается))

      router1#ping 10.10.10.2 source FastEthernet0/0

      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
      Packet sent with a source address of 10.10.10.1
      .....
      Success rate is 0 percent (0/5)

      После чего сделал как вы спрашивали :

      router1#ping vrf r1 10.10.10.2 source fa0/0

      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
      Packet sent with a source address of 10.10.10.1
      !!!!!
      Success rate is 100 percent (5/5), round-trip min/avg/max = 20/23/28 ms

      Судя по всему проблемы и не было, спасибо за наводку, буду дальше изучать vrf))




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру