[Xorp-hackers] State of OSPF

Mike Horn mhorn at vyatta.com
Fri Jun 2 07:30:58 PDT 2006


Hi Kristian,

The key is from the Cisco debug message, "OSPF: Mismatched hello parameters
from 195.182.5.227".  So there is an OSPF setting(s) the 2 routers are not
agreeing upon.

Based on your configs, I think the issue is that you have the XORP ethernet
interface configured as a /28 and the Cisco interface is a /29.  Try
changing those to match and let me know if that fixes the issue.

-mike


-----Original Message-----
From: xorp-hackers-bounces at icir.org [mailto:xorp-hackers-bounces at icir.org]
On Behalf Of 'Kristian Larsson'
Sent: Friday, June 02, 2006 7:53 AM
To: Mike Horn
Cc: xorp-hackers at xorp.org
Subject: Re: [Xorp-hackers] State of OSPF

On Fri, Jun 02, 2006 at 07:04:09AM -0600, Mike Horn wrote:
> Hi Kristian,
> 
> I have XORP running OSPF with 2 Cisco's (2600, 4500) and a Juniper 
> (J2300) here, perhaps you could send out your config?  The most common 
> issue I have seen is that for OSPF to work properly XORP requires that 
> you specify the IP addres of the interface that is running XORP.
> 
> Here's an example:
> 
> set protocols ospf4 router-id 10.0.0.50 set protocols ospf4 area 
> 0.0.0.0 interface eth0 vif eth0 address 10.0.0.50
My configuration:
root at crs1# show 
    protocols {
        ospf4 {
            router-id: 195.182.5.227
            area 0.0.0.0 {
                interface "eth1.3910" {
                    vif "eth1.3910" {
                        address 195.182.5.227 {
                        }
                    }
                }
            }
        }
    }
    interfaces {
        interface "eth1.3910" {
            vif "eth1.3910" {
                address 195.182.5.227 {
                    prefix-length: 28
                }
            }
        }
    }



cisco conf (relevant sections):
interface FastEthernet0/1.3910
 description AS39525 CNV Linknet
 encapsulation dot1Q 3910
 ip address 195.182.5.225 255.255.255.248  ip pim sparse-dense-mode  no cdp
enable

router ospf 39525
 router-id 195.182.5.252
 log-adjacency-changes
 redistribute connected subnets
 passive-interface default
 no passive-interface FastEthernet0/1.3909  no passive-interface
FastEthernet0/1.3910  no passive-interface Tunnel10  no passive-interface
Tunnel11  no passive-interface Tunnel12  network 195.182.5.0 0.0.0.255 area
0  neighbor 195.182.5.116 priority 1  default-information originate


root at crs1# run show ospf4 neighbor 
  Address         Interface             State      ID              Pri  Dead
root at crs1# 

show ip ospf neighbor on the cisco does not show it as a neighbor either.

running tcpdump on the xorp machine I see:
14:54:23.569081 IP 195.182.5.225 > 224.0.0.5: OSPFv2, Hello (1), length: 60
14:54:28.732384 IP 195.182.5.227 > 224.0.0.5: OSPFv2, Hello (1), length: 44

so both are sending packets.. hmm, how about some debugging!?
terminal monitor; debug ip ospf hello (on the cisco) gives me:
*Jun  2 13:52:20.460: OSPF: Rcv hello from 195.182.5.227 area 0 from
FastEthernet0/1.3910 195.182.5.227 *Jun  2 13:52:20.460: OSPF: Mismatched
hello parameters from 195.182.5.227


I've captured a small tcpdump that you may look at... it contains some other
traffic as well, but the ospf traffic is not very hard to spot ;)

XORP is not latest (but not very old) CVS. I'd say it's from a month ago or
so.
The XORP machine is a Celeron 2.66GHz machine with dual Broadcom Tigon3
Gigabit Ethernet controllers.
XORP was not built on that machine but on another Celeron machine.
No strange config paramters to ./configure, just a straight build.

Hope I've given enough debug data.

Regards, 
   Kristian.




More information about the Xorp-hackers mailing list