I am running Quagga 96.4 with OSPF. I am running SuSE Linux SLES8 SP03 in 
a native LPAR. I am using 2 OSA/e 100-megabit Ethernet interfaces as shown 
below:

eth0 has an IP address of 10.28.93.50
eth1 has an IP address of 10.28.91.50

Since these are two equal cost routes, I would expect OSPF to prefer eth1 
since it has a lower IP address. However, Quagga's OSPF seems to prefer 
the route that has the lower interface name, such as eth0. This is not 
correct. I can easily correct this by defining artificial OSPF costs on 
the interfaces to prefer eth1 over eth0.

Has anyone experienced this problem or have any advice. Any comment would 
be much appreciated. Thanks.

Peter

Following are some config info:


Current configuration:
!
hostname quagga
password quagga
enable password quagga
log file /var/log/quagga/quagga.log
no ip forwarding
no ipv6 forwarding
hostname mainpepl
enable password quagga
log file /var/log/quagga/ospfd.log
!
interface ctc0
 description CTC Connection to PEPTEST
 ip address 161.186.86.6/30
 ip ospf network point-to-point
!
interface ctc1
 description CTC Connection to PEPPROD
 ip address 161.186.86.14/30
 ip ospf network point-to-point
!
interface dummy0
 description MAINPEPL VIPA IP Dummy Device
 ip address 161.186.96.50/24
!
interface eth0
 description OSA/e 100-mb Ethernet to White Core Switch
 ip address 10.28.93.50/24
 ip ospf priority 0
!
interface eth1
 description OSA/e/100-mb Ethernet to Blue Core Switch
 ip address 10.28.91.50/24
 ip ospf priority 0
!
interface lo
!
interface sit0
!
router ospf
 ospf router-id 161.186.96.50
 compatible rfc1583
 redistribute connected
 passive-interface ctc0
 passive-interface ctc1
 network 10.28.91.0/24 area 0.0.0.0
 network 10.28.93.0/24 area 0.0.0.0
 network 161.186.96.0/24 area 0.0.0.0

dummy0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:161.186.96.50  Bcast:161.186.96.255 Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61008 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4758328 (4.5 Mb)
eth0      Link encap:Ethernet  HWaddr 00:06:29:FB:C0:9F
          inet addr:10.28.93.50  Bcast:10.28.93.255  Mask:255.255.255.0
          inet6 addr: fe80::206:29ff:fefb:c09f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:373265 errors:0 dropped:0 overruns:0 frame:0
          TX packets:593154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:104294405 (99.4 Mb)  TX bytes:83024141 (79.1 Mb)

eth1      Link encap:Ethernet  HWaddr 00:02:55:89:38:ED
          inet addr:10.28.91.50  Bcast:10.28.91.255  Mask:255.255.255.0
          inet6 addr: fe80::202:55ff:fe89:38ed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12215 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3656 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1031063 (1006.8 Kb)  TX bytes:813943 (794.8 Kb)

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to