[Xorp-hackers] OSPF problem present in XORP-1.5
Francisco Rodriguez
f.rodriguez at lancaster.ac.uk
Thu Jul 31 13:40:36 PDT 2008
Hi,
Im currently trying to migrate some of my experiments from XORP-1.4 to
XORP-1.5 version, but Im having some problems.
Before moving to XORP-1.5, I had the following setting running with version
1.4:
PC1 Running as Route Server --> Running XORP 1.4
|
PC2 Bridge --> Debian Linux running as packet
forwarders (No routing software running here)
|
Router 1 --> Running XORP 1.4
|
Router 2 --> Running XORP 1.4
Basically Im using XORP as an OSPF Route Server which is running in PC1.
PC2 is just a box that is in charge of all the forwarding without doing any
routing calculating. With previous setup, I can exchange packets between PC1
and Router1 without any problem and OSPF runs fine and I see how the
adjacencies are form.
The problem comes when running XORP-1.5, I cannot make the previous setup
work. The OSPF neighbours state remains in
ExStart , which means that the OSPF packets are seen by both ends but for
some reason they cannot form the adjacency.
This is the output of my debugging:
On PC1 (Router Server):
root at Route-Server> show ospf4 neighbor
Address Interface State ID Pri Dead
192.168.1.3 eth1.13/eth1.13 ExStart 192.168.1.3 128 39
192.168.2.3 eth1.14/eth1.14 ExStart 192.168.2.3 128 39
root at Route-Server> show ospf4 database
OSPF link state database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *172.16.0.2 172.16.0.2 0x80000001 434 0x2 0x68b7 60
root at Route-Server> show ospf4 database detail
OSPF link state database, Area 0.0.0.0
Router-LSA:
LS age 436 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link
State ID 172.16.0.2 Advertising Router 172.16.0.2 LS sequence number
0x80000001 LS checksum 0x68b7 length 60
bit Nt false
bit V false
bit E false
bit B false
Type 3 Stub network Subnet number 172.16.0.0 Mask 255.255.255.0
Metric 1
Type 3 Stub network Subnet number 192.168.1.0 Mask 255.255.255.0
Metric 1
Type 3 Stub network Subnet number 192.168.2.0 Mask 255.255.255.0
Metric 1
root at Route-Server> show ospf4 neighbor detail
Address Interface State ID Pri Dead
192.168.1.3 eth1.13/eth1.13 ExStart 192.168.1.3 128 29
Area 0.0.0.0, opt 0x2, DR 192.168.1.3, BDR 192.168.1.2
Up 00:07:21
192.168.2.3 eth1.14/eth1.14 ExStart 192.168.2.3 128 39
Area 0.0.0.0, opt 0x2, DR 192.168.2.3, BDR 192.168.2.2
Up 00:07:11
On Router 1:
root at XORP1> show ospf4 neighbor
Address Interface State ID Pri Dead
192.168.2.2 eth1/eth1 ExStart 172.16.0.2 128 31
192.168.4.2 eth2/eth2 Full 192.168.3.2 128 39
root at XORP1> show ospf4 neighbor det
Possible completions:
<neighbor> Show Neighbors
detail Show Neighbors
root at XORP1> show ospf4 neighbor detail
Address Interface State ID Pri Dead
192.168.2.2 eth1/eth1 ExStart 172.16.0.2 128 37
Area 0.0.0.0, opt 0x2, DR 192.168.2.3, BDR 192.168.2.2
Up 00:39:43
192.168.4.2 eth2/eth2 Full 192.168.3.2 128 35
Area 0.0.0.0, opt 0x2, DR 192.168.4.2, BDR 192.168.4.1
Up 00:40:15, adjacent 00:39:29
root at XORP1> show ospf4 database
OSPF link state database, Area 0.0.0.0
Type ID Adv Rtr Seq Age Opt Cksum Len
Router *192.168.2.3 192.168.2.3 0x80000002 593 0x2 0x73a7 48
Router 192.168.3.2 192.168.3.2 0x80000004 594 0x2 0xf0b6 48
Router 192.168.1.3 192.168.1.3 0x80000003 595 0x2 0x4cd2 48
Network 192.168.3.2 192.168.3.2 0x80000002 594 0x2 0x8c14 32
Network 192.168.4.2 192.168.3.2 0x80000002 594 0x2 0x8e10 32
root at XORP1> show ospf4 database detail
OSPF link state database, Area 0.0.0.0
Router-LSA:
LS age 596 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link
State ID 192.168.2.3 Advertising Router 192.168.2.3 LS sequence number
0x80000002 LS checksum 0x73a7 length 48
bit Nt false
bit V false
bit E false
bit B false
Type 3 Stub network Subnet number 192.168.2.0 Mask 255.255.255.0
Metric 1
Type 2 Transit network IP address of Designated router 192.168.4.2
Routers interface address 192.168.4.1 Metric 1
Router-LSA:
LS age 597 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link
State ID 192.168.3.2 Advertising Router 192.168.3.2 LS sequence number
0x80000004 LS checksum 0xf0b6 length 48
bit Nt false
bit V false
bit E false
bit B false
Type 2 Transit network IP address of Designated router 192.168.4.2
Routers interface address 192.168.4.2 Metric 1
Type 2 Transit network IP address of Designated router 192.168.3.2
Routers interface address 192.168.3.2 Metric 1
Router-LSA:
LS age 598 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x1 Link
State ID 192.168.1.3 Advertising Router 192.168.1.3 LS sequence number
0x80000003 LS checksum 0x4cd2 length 48
bit Nt false
bit V false
bit E false
bit B false
Type 3 Stub network Subnet number 192.168.1.0 Mask 255.255.255.0
Metric 1
Type 2 Transit network IP address of Designated router 192.168.3.2
Routers interface address 192.168.3.1 Metric 1
Network-LSA:
LS age 597 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 Link
State ID 192.168.3.2 Advertising Router 192.168.3.2 LS sequence number
0x80000002 LS checksum 0x8c14 length 32
Network Mask 0xffffff00
Attached Router 192.168.3.2
Attached Router 192.168.1.3
Network-LSA:
LS age 597 Options 0x2 DC: 0 EA: 0 N/P: 0 MC: 0 E: 1 LS type 0x2 Link
State ID 192.168.4.2 Advertising Router 192.168.3.2 LS sequence number
0x80000002 LS checksum 0x8e10 length 32
Network Mask 0xffffff00
Attached Router 192.168.3.2
Attached Router 192.168.2.3
On PC2 (Bridge): Tcpdump output while Router 1 and PC 1 are trying to
establish an adjacency
FwdM1:~# tcpdump -i eth2 -v
tcpdump: WARNING: eth2: no IPv4 address assigned
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 96
bytes
20:56:20.103523 IP (tos 0xc0, ttl 1, id 42263, offset 0, flags [none], proto
OSPF (89), length 68) 192.168.2.2 > OSPF-ALL.MCAST.NET: OSPFv2, Hello,
length: 48
Router-ID: 172.16.0.2, Backbone Area, Authentication Type: none (0)
Options: [External]
Hello Timer: 10s, Dead Timer 40s, Mask: 255.255.255.0, Priority:
128
Designated Router 192.168.2.3, Backup Designated Router
192.168.2.2
Neighbor List:
192.168.2.3
20:56:21.509478 IP (tos 0xc0, ttl 1, id 64760, offset 0, flags [none], proto
OSPF (89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database
Description, length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:21.509510 IP (tos 0xc0, ttl 64, id 47641, offset 0, flags [none],
proto ICMP (1), length 80) 192.168.2.1 > 192.168.2.3: ICMP time exceeded
in-transit, length 60 --> For some reason both ends are rejecting its LSA
packets!!!
IP (tos 0xc0, ttl 1, id 64760, offset 0, flags [none], proto OSPF
(89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database Description,
length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:26.133523 IP (tos 0xc0, ttl 1, id 29548, offset 0, flags [none], proto
OSPF (89), length 68) 192.168.2.3 > OSPF-ALL.MCAST.NET: OSPFv2, Hello,
length: 48
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External]
Hello Timer: 10s, Dead Timer 40s, Mask: 255.255.255.0, Priority:
128
Designated Router 192.168.2.3, Backup Designated Router
192.168.2.2
Neighbor List:
172.16.0.2
20:56:26.133719 IP (tos 0xc0, ttl 1, id 64761, offset 0, flags [none], proto
OSPF (89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database
Description, length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:26.133739 IP (tos 0xc0, ttl 64, id 47642, offset 0, flags [none],
proto ICMP (1), length 80) 192.168.2.1 > 192.168.2.3: ICMP time exceeded
in-transit, length 60
IP (tos 0xc0, ttl 1, id 64761, offset 0, flags [none], proto OSPF
(89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database Description,
length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:26.509440 arp who-has 192.168.2.3 tell 192.168.2.1
20:56:26.549518 arp reply 192.168.2.3 is-at 52:54:00:12:38:52 (oui Unknown)
20:56:30.103479 IP (tos 0xc0, ttl 1, id 42266, offset 0, flags [none], proto
OSPF (89), length 68) 192.168.2.2 > OSPF-ALL.MCAST.NET: OSPFv2, Hello,
length: 48
Router-ID: 172.16.0.2, Backbone Area, Authentication Type: none (0)
Options: [External]
Hello Timer: 10s, Dead Timer 40s, Mask: 255.255.255.0, Priority:
128
Designated Router 192.168.2.3, Backup Designated Router
192.168.2.2
Neighbor List:
192.168.2.3
20:56:31.038015 IP (tos 0xc0, ttl 1, id 64762, offset 0, flags [none], proto
OSPF (89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database
Description, length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:31.038040 IP (tos 0xc0, ttl 64, id 47643, offset 0, flags [none],
proto ICMP (1), length 80) 192.168.2.1 > 192.168.2.3: ICMP time exceeded
in-transit, length 60
IP (tos 0xc0, ttl 1, id 64762, offset 0, flags [none], proto OSPF
(89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database Description,
length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:36.077607 IP (tos 0xc0, ttl 1, id 29550, offset 0, flags [none], proto
OSPF (89), length 68) 192.168.2.3 > OSPF-ALL.MCAST.NET: OSPFv2, Hello,
length: 48
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External]
Hello Timer: 10s, Dead Timer 40s, Mask: 255.255.255.0, Priority:
128
Designated Router 192.168.2.3, Backup Designated Router
192.168.2.2
Neighbor List:
172.16.0.2
20:56:36.077788 IP (tos 0xc0, ttl 1, id 64763, offset 0, flags [none], proto
OSPF (89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database
Description, length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
20:56:36.077808 IP (tos 0xc0, ttl 64, id 47644, offset 0, flags [none],
proto ICMP (1), length 80) 192.168.2.1 > 192.168.2.3: ICMP time exceeded
in-transit, length 60
IP (tos 0xc0, ttl 1, id 64763, offset 0, flags [none], proto OSPF
(89), length 52) 192.168.2.3 > 192.168.2.2: OSPFv2, Database Description,
length: 32
Router-ID: 192.168.2.3, Backbone Area, Authentication Type: none (0)
Options: [External], DD Flags: [Init, More, Master]
Any insights on how can I fix this matter would be much appreciated.
Cheers,
Francisco
-------------------------
Francisco Rodríguez
Computing Department
InfoLab 21
South Drive
Lancaster University
Lancaster LA1 4WA, UK
-------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20080731/cfe03290/attachment-0001.html
More information about the Xorp-hackers
mailing list