[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-users
Subject:    [quagga-users 13290] External routes learned through OSPFv2 are not added to routing table in AS
From:       JAGADEESH BANAVARA <jagadeesh_bg () yahoo ! com>
Date:       2013-05-31 17:27:54
Message-ID: 1370021274.33477.YahooMailNeo () web164003 ! mail ! gq1 ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,


I have an issue with the ospfd failover and here is the configuration and simulation \
steps. Could you please let me know if I am missing anything that could cause this \
issue.

1. Configure a DR/BACKUP and DRother (lest say TEST-BOX) setup. I have installed \
quagga-0.99.22 on all the devices.

2. Make sure the neighbors are in full negotiation and we could reach the network \
interfaces configured on the DRother either from DR/BACKUP. I notice the network \
interfaces  advertised by the DRother is added to the ospf routing table on \
DR/BACKUP.

TEST-BOX> show ospf neighbor
    Neighbor ID Pri
 State           Dead Time Address         Interface            RXmtL RqstL DBsmL
10.36.0.68       20 Full/DR           36.918s 10.35.0.68      eth1:10.35.107.11       \
0     0     0 10.36.0.80        1 Full/Backup       32.056s 10.35.0.80      \
eth1:10.35.107.11        0     0     0

Any cast address reachable
# ping  10.34.1.18 
PING 10.34.1.18 (10.34.1.18) 56(84) bytes of data.
64 bytes from 10.34.1.18: icmp_seq=1 ttl=64 time=10.3
 ms

root@hal:~# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.34.1.18      10.35.107.11    255.255.255.255 UGH       0 0          0 eth1

3. Bring down the DR by disconnecting the network (Ex: pull cable)

4. The current BACKUP becomes DR and the DRother establishes full state
TEST-BOX> show ospf neighbor
    Neighbor ID Pri State           Dead Time Address         Interface            \
RXmtL RqstL DBsmL 10.36.0.80        1
 Full/DR           35.706s 10.35.0.80      eth1:10.35.107.11        0     0     0

# ping  10.34.1.18 (from DR)
PING 10.34.1.18 (10.34.1.18) 56(84) bytes of data.
From 10.36.0.1 icmp_seq=5 Destination Host Unreachable

Routing table entry for 10.34.1.18  not found.

5. I notice the LSA updates are exchanged between the new DR and the DRother

6. The ospf routing table on DR is missing for the DRother and the DRother advertised \
network interfaces are not reachable.

7. If I leave the systems for 30 miutes ( LSA RefreshTime)  then the LSA exchanges \
causes the ospf routing table getting updated for anycast ip 10.34.1.18  and ping \
works properly.

NOTE: I dont notice any issue if another router added in the configuration and is a \
BACKUP after the  failover.

DRother:
-----------
The anycast adrress 10.34.1.18 we want to advertise is a loopback address. The eth1 \
interface configured with IP 10.35.107.11 

! -*- zebra -*-
!
hostname zebra-10.35.107.11

password zebra
enable password zebra

! loglevel: emergencies, alerts, critical, errors, warnings,
!           notifications, informational, or debugging
!           (default is informational.)
log syslog informational

! Create an access list that allows access from localhost and nowhere else
access-list access permit 127.0.0.1/32
access-list access deny any

! Enable access control on the command-line interface
line vty
    access-class access4
interface lo
  ip ospf priority 0
  ip ospf hello-interval 10
  ip ospf dead-interval
 40
  ip ospf retransmit-interval 5
  ip ospf transmit-delay 1

interface eth1
  ip ospf priority 0
  ip ospf hello-interval 10
  ip ospf dead-interval 40
  ip ospf retransmit-interval 5
  ip ospf transmit-delay 1

router ospf
  ospf router-id 10.35.107.11
  ospf abr-type cisco
  network 10.35.107.11/16 area 1
  network 10.34.1.18/32 area 1


DR/BACKUP: 
---------------

The DR and BACKUP configuration just differes by priority and hostname. The eth0 and \
eth1 on the DR/BACKUP configured with IP address 10.36.0.68/10.35.0.68 and \
10.36.0.80/10.35.0.80 

!
! Zebra configuration saved from vty
!   2012/07/05 21:40:09
!
hostname Router645
password zebra
log stdout
!
!
!
interface eth0
ip ospf priority 20
!
interface eth1
ip ospf priority 20
!
interface eth2
!
interface
 eth3
!
interface lo
!
router ospf
 network 10.35.0.0/16 area 0.0.0.1
 network 10.36.0.0/16 area 0.0.0.1
!
line vty
!


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt">Hi,<br><br><div style="font-family: \
times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: \
times new roman, new york, times, serif; font-size: 12pt;"><div \
class="y_msg_container"><div id="yiv3174311870"><div><div \
style="color:#000;background-color:#fff;font-family:times new roman, new york, times, \
serif;font-size:12pt;"><div>I have an issue with the ospfd failover and here is the \
configuration and simulation steps. Could you please let me know if I am missing \
anything that could cause this issue.</div><div style="color:rgb(0, 0, \
0);font-size:16px;font-family:times new roman, new york, times, \
serif;background-color:transparent;font-style:normal;"><br>1. Configure a DR/BACKUP \
and DRother (lest say TEST-BOX) setup. I have installed quagga-0.99.22 on all the \
devices.<br><br>2. Make sure the neighbors are  in full negotiation and we could \
reach the network interfaces configured on the DRother either from DR/BACKUP. I \
notice the network interfaces <br>advertised by the DRother is added to the ospf \
routing table on DR/BACKUP.<br><br>TEST-BOX&gt; show ospf \
neighbor<br>&nbsp;&nbsp;&nbsp; Neighbor ID Pri  \
State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dead Time \
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Interface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RXmtL \
RqstL DBsmL<br>10.36.0.68&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20 \
Full/DR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36.918s \
10.35.0.68&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
eth1:10.35.107.11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; \
0&nbsp;&nbsp;&nbsp;&nbsp; 0<br>10.36.0.80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 \
Full/Backup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32.056s \
10.35.0.80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
eth1:10.35.107.11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; \
0&nbsp;&nbsp;&nbsp;&nbsp; 0<br><br>Any cast address reachable<br># ping&nbsp; \
10.34.1.18 <br>PING 10.34.1.18 (10.34.1.18) 56(84) bytes of data.<br>64 bytes from \
10.34.1.18: icmp_seq=1 ttl=64 time=10.3  ms<br><br>root@hal:~# netstat -nr<br>Kernel \
IP routing table<br>Destination&nbsp;&nbsp;&nbsp;&nbsp; \
Gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Genmask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags&nbsp;&nbsp; MSS \
Window&nbsp; irtt Iface<br>10.34.1.18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
10.35.107.11&nbsp;&nbsp;&nbsp; 255.255.255.255 \
UGH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 \
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 eth1<br><br>3. Bring down \
the DR by disconnecting the network (Ex: pull cable)<br><br>4. The current BACKUP \
becomes DR and the DRother establishes full state<br>TEST-BOX&gt; show ospf \
neighbor<br>&nbsp;&nbsp;&nbsp; Neighbor ID Pri \
State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dead Time \
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
Interface&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RXmtL \
RqstL DBsmL<br>10.36.0.80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1  \
Full/DR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 35.706s \
10.35.0.80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
eth1:10.35.107.11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; \
0&nbsp;&nbsp;&nbsp;&nbsp; 0<br><br># ping&nbsp; 10.34.1.18 (from DR)<br>PING \
10.34.1.18 (10.34.1.18) 56(84) bytes of data.<br>From 10.36.0.1 icmp_seq=5 \
Destination Host Unreachable<br><br>Routing table entry for 10.34.1.18&nbsp; not \
found.<br><br>5. I notice the LSA updates are exchanged between the new DR and the \
DRother<br><br>6. The ospf routing table on DR is missing for the DRother and the \
DRother advertised network interfaces are not reachable.<br><br>7. If I leave the \
systems for 30 miutes ( LSA RefreshTime)&nbsp; then the LSA exchanges causes the ospf \
routing table getting updated for anycast ip 10.34.1.18&nbsp; and ping works \
properly.<br><br>NOTE: I dont notice any issue if another router added in the \
configuration and is a BACKUP after the  \
failover.<br><br>DRother:<br>-----------<br>The anycast adrress 10.34.1.18 we want to \
advertise is a loopback address. The eth1 interface configured with IP 10.35.107.11 \
<br><br>! -*- zebra -*-<br>!<br>hostname zebra-10.35.107.11<br><br>password \
zebra<br>enable password zebra<br><br>! loglevel: emergencies, alerts, critical, \
errors, warnings,<br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
notifications, informational, or \
debugging<br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (default \
is informational.)<br>log syslog informational<br><br>! Create an access list that \
allows access from localhost and nowhere else<br>access-list access permit \
127.0.0.1/32<br>access-list access deny any<br><br>! Enable access control on the \
command-line interface<br>line vty<br>&nbsp;&nbsp;&nbsp; access-class \
access4<br>interface lo<br>&nbsp; ip ospf priority 0<br>&nbsp; ip ospf hello-interval \
10<br>&nbsp; ip ospf dead-interval  40<br>&nbsp; ip ospf retransmit-interval \
5<br>&nbsp; ip ospf transmit-delay 1<br><br>interface eth1<br>&nbsp; ip ospf priority \
0<br>&nbsp; ip ospf hello-interval 10<br>&nbsp; ip ospf dead-interval 40<br>&nbsp; ip \
ospf retransmit-interval 5<br>&nbsp; ip ospf transmit-delay 1<br><br>router \
ospf<br>&nbsp; ospf router-id 10.35.107.11<br>&nbsp; ospf abr-type cisco<br>&nbsp; \
network 10.35.107.11/16 area 1<br>&nbsp; network 10.34.1.18/32 area \
1<br><br><br>DR/BACKUP: <br>---------------<br><br>The DR and BACKUP configuration \
just differes by priority and hostname. The eth0 and eth1 on the DR/BACKUP configured \
with IP address 10.36.0.68/10.35.0.68 and 10.36.0.80/10.35.0.80 <br><br>!<br>! Zebra \
configuration saved from vty<br>!&nbsp;&nbsp; 2012/07/05 21:40:09<br>!<br>hostname \
Router645<br>password zebra<br>log stdout<br>!<br>!<br>!<br>interface eth0<br>ip ospf \
priority 20<br>!<br>interface eth1<br>ip ospf priority 20<br>!<br>interface \
eth2<br>!<br>interface  eth3<br>!<br>interface lo<br>!<br>router \
ospf<br>&nbsp;network 10.35.0.0/16 area 0.0.0.1<br>&nbsp;network 10.36.0.0/16 area \
0.0.0.1<br>!<br>line vty<br>!</div></div></div></div><br><br></div> </div> </div>  \
</div></body></html>



_______________________________________________
Quagga-users mailing list
Quagga-users@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic