Question:
I am looking for a Cisco 1900 sample config for the following network as I have been tearing my hair out trying to get this to work:
(Router A) ----- (Router B)
\ /
(Router C)
|
(Router D)
Router D should only know about a default route from Router C. Router C should only know about the default routes, plus connected and static networks from Router A & B, plus the connected and static networks on Router D. Router's A & B should know about the connected and static networks on C&D.
I've tried using the stub node and area configs and summaries and usually I end up with nothing or everything on Router D. My config looks like this right now and I'm getting nothing:
Router C:
router ospf 1234
log-adjacency-changes
area 100 stub no-summary
redistribute connected subnets
redistribute static subnets
passive-interface default
no passive-interface ATM1/1/0.10
no passive-interface ATM1/1/0.11
network 10.2.3.72 0.0.0.3 area 100
network 10.2.3.80 0.0.0.3 area 100
Router D:
router ospf 1234
log-adjacency changes
redistribute connected subnets
redistribute static subnets
passive-interface default
no passive-interface Serial0/0.1
no passive-interface Serial0/1.1
network 10.2.3.72 0.0.0.3 area 100
network 10.2.3.80 0.0.0.3 area 100
routerd#show ip ospf neighbors
(nothing)
Answer:
Presumably routers A & B are in a different area ?
First things first you need to add this line to router D OSPF config -
area 100 stub no-summary
because all routers in a stub area need to know they are in a stub area. Can you add that and then you should see an OSPF neighborship between C & D. Cisco 1900 sereis router