[Xorp-users] OSPF neighbors not establishing with a Cisco router

Grinberg, Leo Leo.Grinberg at iqor.com
Mon Feb 14 14:10:43 PST 2011


Hi, I have XORP 1.6 running on CentOS Linux 2.6.18 and connected via
Ethernet to a Cisco 3845 router.  Both routers are configured to use
OSPF in Area 0.

Both send Hello's to 224.0.0.5.  The Cisco router processes the Hello
from the XORP box and sends a Hello directly to it.  However the XORP
box ignores it,  it seems to me that it is not even processing the Hello
sent by the Cisco router to the multicast IP.

Why is the XORP router not processing the multicast hello's?

 

Here is the pertinent information:

Show ospf neighbors from Cisco router:

 

Qrouter#show ip ospf nei

 

Neighbor ID     Pri   State           Dead Time   Address
Interface

10.2.46.180     128   INIT/DROTHER    00:00:30    10.2.46.180
GigabitEthernet0/0

Qrouter#

 

 

Debug from the Cisco router:

 

*Feb 14 22:15:14.694: OSPF: Send hello to 224.0.0.5 area 0 on
GigabitEthernet0/0 from 10.2.46.2

*Feb 14 22:15:22.274: OSPF: Rcv hello from 10.2.46.180 area 0 from
GigabitEthernet0/0 10.2.46.180

*Feb 14 22:15:22.274: OSPF: Send immediate hello to nbr 10.2.46.180, src
address 10.2.46.180, on GigabitEthernet0/0

*Feb 14 22:15:22.274: OSPF: Send hello to 10.2.46.180 area 0 on
GigabitEthernet0/0 from 10.2.46.2

*Feb 14 22:15:22.274: OSPF: End of hello processing

 

Show ospf neighbors from XORP router (also the capture is attached as
ospf2.pcap).

 

root at localhost.localdomain> show ospf4 neighbor 

  Address         Interface             State      ID              Pri
Dead

root at localhost.localdomain> quit

 

TCPDUMP from the XORP router:

[root at localhost Administrator]# /usr/sbin/tcpdump -i eth1 proto ospf 

tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode

listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes

17:08:55.058523 IP 10.2.46.2 > ospf-all.mcast.net: OSPFv2, Hello,
length: 60

17:09:02.633499 IP 10.2.46.180 > ospf-all.mcast.net: OSPFv2, Hello,
length: 44

17:09:02.633978 IP 10.2.46.2 > 10.2.46.180: OSPFv2, Hello, length: 60

17:09:05.058747 IP 10.2.46.2 > ospf-all.mcast.net: OSPFv2, Hello,
length: 60

 

Config file of the XORP router

 

interfaces {

    restore-original-config-on-shutdown: false

    interface eth1 {

        description: "data interface"

        disable: false

        /* default-system-config */

        vif eth1 {

            disable: false

            address 10.2.46.180 {

                prefix-length: 24

                broadcast: 10.2.46.255

                disable: false

            }

        }

    }

    interface eth2 {

        vif eth2 {

            disable false

            address 10.4.46.180 {

                prefix-length 24

                broadcast: 10.4.46.255

                disable false

            }

        }

    }

}

 

fea {

    unicast-forwarding4 {

        disable: false

    }

}

 

    {

                broadcast: 10.4.46.255

                disable false

            }

        }

    }

}

 

fea {

    unicast-forwarding4 {

        disable: false

    }

    multicast-forwarding4 {

        disable: false

    }

}

 

protocols {

    ospf4 {

        router-id: 10.2.46.180

 

        area 0.0.0.0 {

            interface eth1 {

                vif eth1      {

"config4.boot" 71L, 1003C written

[root at localhost etc]# vi config4.boot 

 

/* 10.140.14.23/home/Administrator/xorp/xorp-1.6 */

 

interfaces {

    restore-original-config-on-shutdown: false

    interface eth1 {

        description: "data interface"

        disable: false

        /* default-system-config */

        vif eth1 {

            disable: false

            address 10.2.46.180 {

                prefix-length: 24

                broadcast: 10.2.46.255

                disable: false

            }

        }

    }

    interface eth2 {

        vif eth2 {

            disable false

            address 10.4.46.180 {

                prefix-length 24

                broadcast: 10.4.46.255

                disable false

            }

        }

    }

}

 

fea {

    unicast-forwarding4 {

        disable: false

    }

    multicast-forwarding4 {

        disable: false

    }

}

 

protocols {

    ospf4 {

        router-id: 10.2.46.180

 

        area 0.0.0.0 {

            interface eth1 {

                vif eth1      {

                    address 10.2.46.180 {

                    }

                }

    multicast-forwarding4 {

        disable: false

    }

            }

        }

    }

}

 

fea {

    unicast-forwarding4 {

        disable: false

    }

}

plumbing {

        mfea4 {

                disable: false

                interface eth1 {

                        vif eth1 {

                                disable: false

                        }

                }

        }

}

 

protocols {

    ospf4 {

        router-id: 10.2.46.180

 

        area 0.0.0.0 {

            interface eth1 {

                vif eth1      {

                    address 10.2.46.180 {

                    }

                }

            }

        }

 

        area 10.4.46.0 {

            area-type stub

 

            area-range 10.4.46.0/24 {

                advertise true

            }

 

            default-lsa {

                metric 10

            }

 

            interface eth2 {

                vif eth2 {

                    address 10.4.46.180 {

                    }

                }

            }

        }

    }

 

Leo Grinberg

Network Engineering

iQor

973-294-7021 (O)

646-320-2544 (C)

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20110214/60e8a387/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ospf2.pcap
Type: application/octet-stream
Size: 9758 bytes
Desc: ospf2.pcap
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20110214/60e8a387/attachment-0001.obj 


More information about the Xorp-users mailing list