This is the interface status when in area 0.0.0.0 Interface em0, line protocol is UP Internet address 10.0.30.1/24, Area 0.0.0.0 Linkstate unknown Router ID 10.0.11.2, network type BROADCAST, cost: 10 Transmit delay is 1 sec(s), state DR, priority 1 Designated Router (ID) 10.0.11.2, interface address 10.0.30.1 Backup Designated Router (ID) 0.0.0.0, interface address 0.0.0.0 Timer intervals configured, hello 10, dead 40, wait 40, retransmit 5 Hello timer due in 00:00:02+162msec Uptime 2d01h05m Neighbor count is 0, adjacent neighbor count is 0
This is the interface status when in area 10.0.30.0 Interface em0, line protocol is UP Internet address 10.0.30.1/24, Area 10.0.30.0 Linkstate unknown Router ID 10.0.11.2, network type BROADCAST, cost: 10 Transmit delay is 1 sec(s), state DR, priority 1 Designated Router (ID) 10.0.11.2, interface address 10.0.30.1 Backup Designated Router (ID) 0.0.0.0, interface address 0.0.0.0 Timer intervals configured, hello 10, dead 40, wait 40, retransmit 5 Hello timer due in 00:00:07+845msec Uptime 00:04:22 Neighbor count is 0, adjacent neighbor count is 0 Database from the router Router Link States (Area 10.0.30.0) Link ID Adv Router Age Seq# Checksum 10.0.11.2 10.0.11.2 290 0x80000001 0x11e1 Summary Net Link States (Area 10.0.30.0) Link ID Adv Router Age Seq# Checksum 10.0.0.0 10.0.11.2 270 0x80000001 0x62bb 10.0.1.0 10.0.11.2 270 0x80000001 0x57c5 10.0.10.0 10.0.11.2 270 0x80000001 0x8f8e 10.0.11.128 10.0.11.2 289 0x80000001 0x6d32 10.0.11.132 10.0.11.2 270 0x80000001 0x4556 10.0.20.0 10.0.11.2 289 0x80000001 0x21f2 Router Link States (Area 0.0.0.0) Link ID Adv Router Age Seq# Checksum 10.0.10.200 10.0.10.200 281 0x800001c0 0x3339 10.0.11.2 10.0.11.2 276 0x800001a0 0x725d 10.0.20.1 10.0.20.1 290 0x80000126 0x9fea Summary Net Link States (Area 0.0.0.0) Link ID Adv Router Age Seq# Checksum 10.0.0.0 10.0.10.200 1033 0x8000007d 0x6382 10.0.1.0 10.0.10.200 1763 0x8000007c 0x5a8b 10.0.10.0 10.0.10.200 1463 0x8000007d 0x9055 10.0.20.0 10.0.20.1 810 0x80000091 0x6223 # ospfctl show rib Destination Nexthop Path Type Type Cost Uptime 10.0.10.200 10.0.11.134 Intra-Area Router 10 00:07:05 10.0.20.1 10.0.11.130 Intra-Area Router 10 00:07:24 10.0.0.0/24 10.0.11.134 Inter-Area Network 30 00:07:05 10.0.1.0/24 10.0.11.134 Inter-Area Network 30 00:07:05 10.0.10.0/24 10.0.11.134 Inter-Area Network 20 00:07:05 10.0.11.128/30 10.0.11.130 Intra-Area Network 20 00:07:24 10.0.11.132/30 10.0.11.134 Intra-Area Network 20 00:07:05 10.0.20.0/24 10.0.11.130 Inter-Area Network 20 00:07:24 # ospfctl show fib flags: * = valid, O = OSPF, C = Connected, S = Static Flags Prio Destination Nexthop *S 8 0.0.0.0/0 129.241.43.193 *O 32 10.0.0.0/24 10.0.11.134 *O 32 10.0.1.0/24 10.0.11.134 *O 32 10.0.10.0/24 10.0.11.134 * 1 10.0.11.2/32 10.0.11.2 *O 32 10.0.11.128/30 10.0.11.130 * 1 10.0.11.129/32 10.0.11.129 * 4 10.0.11.130/32 10.0.11.129 *O 32 10.0.11.132/30 10.0.11.134 * 1 10.0.11.133/32 10.0.11.133 * 4 10.0.11.134/32 10.0.11.133 *O 32 10.0.20.0/24 10.0.11.130 *C 4 10.0.30.0/24 link#1 *C 0 127.0.0.0/8 link#0 *S 8 127.0.0.0/8 127.0.0.1 * 1 127.0.0.1/32 127.0.0.1 *C 4 n.n.n.n/26 link#2 *S 8 224.0.0.0/4 127.0.0.1 As seen from another router Router Link States (Area 10.0.10.0) Link ID Adv Router Age Seq# Checksum 10.0.10.50 10.0.10.50 233 0x80000082 0xe038 10.0.10.100 10.0.10.100 239 0x80000089 0x46eb 10.0.10.200 10.0.10.200 240 0x80000087 0xaca2 Net Link States (Area 10.0.10.0) Link ID Adv Router Age Seq# Checksum 10.0.10.200 10.0.10.200 240 0x80000082 0xccb2 Summary Net Link States (Area 10.0.10.0) Link ID Adv Router Age Seq# Checksum 10.0.11.128 10.0.10.200 250 0x80000001 0x309f 10.0.11.130 10.0.10.200 250 0x80000001 0xc90b 10.0.11.132 10.0.10.200 1600 0x8000007d 0x461d 10.0.20.0 10.0.10.200 250 0x80000001 0xe360 # ospfctl show rib Destination Nexthop Path Type Type Cost Uptime 10.0.10.200 10.0.10.200 Intra-Area Router 10 00:05:49 10.0.0.0/24 10.0.10.100 Intra-Area Network 20 00:05:49 10.0.1.0/24 10.0.10.100 Intra-Area Network 20 00:05:49 10.0.10.0/24 10.0.10.50 Intra-Area Network 10 00:05:49 10.0.11.128/30 10.0.10.200 Inter-Area Network 40 00:05:49 10.0.11.130/32 10.0.10.200 Inter-Area Network 30 00:05:49 10.0.11.132/30 10.0.10.200 Inter-Area Network 20 00:05:49 10.0.20.0/24 10.0.10.200 Inter-Area Network 40 00:05:49 On Wed, Sep 2, 2015 at 1:21 PM, Gregory Edigarov <ediga...@qarea.com> wrote: > On 09/02/2015 10:31 AM, Roger Skjetlein wrote: > >> Hi, >> >> >> have an issue with ospfd when using multiple areas and networks from area >> 10.0.30.0 not distributed to 0.0.0.0. >> >> eg >> >> excerpt from config >> >> area 0.0.0.0 { >> interface gre0 >> interface gre1 >> } >> area 10.0.30.0 { >> interface em0 >> } >> >> the network for em0 is 10.0.30.0/24 and is never seen in ospf routing >> table. Moving interface em0 to area 0.0.0.0 solves the distribution of the >> network, but not having multiple areas. >> > please show more info, specifically ospfctl sh database, ospfctl sh rib > from at least two routers in your network. > > -- "Over vidden flyger renen; efter den i vind og væde! - Bedre det, end bryde stenen op af fattig jord dernede!"