Configuring OSPF

OSPF Configuration Examples

Figure 42 Sample OSPF Autonomous System Network Map

OSPF domain (BGP autonomous system 50000)

 

 

 

 

Area 1

Router A

 

Router B

 

 

 

 

E1

Interface address:

 

E2

Interface address:

 

 

 

192.168.1.2

 

192.168.1.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Network: 192.168.1.0

 

E3

Interface address:

 

 

 

192.168.1.3

 

 

 

Router C

 

 

 

 

 

 

 

 

 

 

S0

Interface address:

 

 

 

 

192.168.2.3

 

 

Network: 192.168.2.0

 

 

 

 

 

 

 

S1

Area 0

 

 

 

Interface address:

Router D

192.168.2.4

 

E4

 

Interface address: 10.0.0.4

Network: 10.0.0.0

 

Interface address:

 

E5

10.0.0.5

 

 

 

Interface address:

 

 

 

Router E

 

S2

172.16.1.5

 

 

 

Network: 172.16.1.0

S1030a

In this configuration, five routers are configured with OSPF:

Remote address: 172.16.1.6

in autonomous system 60000

Router A and Router B are both internal routers within area 1.

Router C is an OSPF ABR. Note that for Router C, Area 1 is assigned to E3 and area 0 is assigned to S0.

Router D is an internal router in area 0 (backbone area). In this case, both network router configuration commands specify the same area (area 0, or the backbone area).

Router E is an OSPF ASBR. Note that BGP routes are redistributed into OSPF and that these routes are advertised by OSPF.

Cisco IOS IP Configuration Guide

IPC-247

Page 293
Image 293
Cisco Systems 78-11741-02 manual This configuration, five routers are configured with Ospf, IPC-247