Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Lucent Technologies
Remote Access Business Unit
Table of Contents
1.0 OSPF and the Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Why OSPF? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
When to Use OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Lucent Advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Easy to Use, Easy to Configure, Focused on PortMaster Applications . . . . . . . . . . . . . . . . . . . .1
Streamlined to Maximize System Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
NSSA Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
OSPF and RIP Backgrounder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
OSPF vs. RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
RIP Update Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
The OSPF Update Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Key OSPF Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
OSPF Router Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Neighbors and Adjacencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
OSPF Backbones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Stub Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
NSSA Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Variable-Length Subnet Masks (VSLMs) with OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
OSPF Costing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
OSPF Packet Autentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
OSPF and Lucent: Typical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Scenario #1: VLSM, Subnetting a Class C Address across Multiple Sites . . . . . . . . . . . . . . . . . .7
Scenario #2: VLSM, Subnetting a Class C Address across and ISP POP . . . . . . . . . . . . . . . . . . .7
2.0 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
3.0 Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
properly propagated through the network. If a network has many routers, RIP updates can take several minutes to alert the entire network to the failure of a single router. OSPF updates are much
faster than RIP updates. (Note also that sites using
"one way out" or default gateways usually are
much faster than sites using RIP.)
When more than 15 hops between routers are
required. More than 15 hops might be a requirement in some larger networks. RIP will only support 15 hops between routers, but OSPF can support up to 255 hops.
When routing advertisements need to be
password-protected to prevent network
instability or sabotage. OSPF has packet authentication capability; RIP does not.
Why OSPF?
OSPF offers all the functionality of RIP, plus:
Bandwidth optimization, including less frequent routing updates and a choice of metrics
for defining the best links between routers
Lucent Advantages
Lucent Technologies OSPF complies with RFC1583 with additional support for MD5
Authentication and RFC-1587 (NSSA). OSPF is
implemented on all Lucent Technologies remote
access servers and routers, including PortMaster 2
Communications Servers, PortMaster 3 Integrated
Access Servers, PortMaster 4 Integrated Access
Concentrators, IRX Routers, and Office Routers.
The following points demonstrate the key advantages of the Lucent implementation.
set
set
add
set
ospf enable
ospf priority 1
ospf area 0.0.0.0
ether0 ospf on
Page 1
NSSA support
Lucent supports "not so stubby networks" (NSSA),
enabling Lucent Technologies OSPF routing tables
and link state databases to take up less memory.
Because many other remote access vendors do not
support NSSA, Lucent Technologies NSSA support
makes its communications servers and routers
uniquely interoperable with Internet backbone
routers that do support NSSA.
Of the two protocols, OSPF's acknowledgment-oriented routing update process is far more responsive
to changes in network topology. Routers can make
decisions faster when their network information is
known to be consistent with that of other routers.
Router D
Router A
Link 3
Link 4
Link 1
Router B
Router C
Router E
Link 2
Page 2
Destination
Gateway
From
To
Total Cost
Link 1
Link 1
Link 2
Link 2
Link 3
Link 3
Once router E is added, router E sends out notification (called a "link state advertisement") of its
location to router D. Router D updates its network
map and immediately forwards E's update message to router C, which immediately forwards E's
update message to router B, and so on. Ultimately
router A's routing table will include another entry
showing that router D has access to router E over
Link 4 with a cost (to router A) of 4. Indeed, the
Page 3
Autonomous System 1
Internal Router
Internal Router
3. OSPF does not have RIP's 15-hop-countlimitation. As a result, OSPF can accommodate
many more routed network segments.
Area 1
Internal Router
Area 0
Autonomous System 2
Internal Router
Area Border Router
OSPF "costing"
Internal Router
Area 0
Internal Router
Page 4
Area 1
OSPF Backbones
Any OSPF network containing more than one area
requires an area numbered as "0," which is called
the "backbone." All areas in an autonomous system must be connected to the backbone. The backbone is not necessarily made up of additional
routers or hosts, but instead can be viewed as a
logical routing construct created to manage interarea traffic. In some cases, backbones can consist
solely of routers belonging to other areas. To free
up backbone resources for routing issues, hosts
should be located in areas other than the backbone. Generally, if you are going to design an
OSPF autonomous system with only one area, you
should use Area 0.
Stub Areas
"Stub areas" are recommended in OSPF areas that
are connected to other areas through one or more
area border routers (ABRs). Stub areas cannot support autonomous system border routers (ASBRs).
A likely stub area location would be an OSPF
remote office with a single point of access to a central office (CO). Routing out of stub areas is based
on default routesfixed, predefined routing paths.
Stub areas are beneficial because their routers
require less memory and generally create less network overhead.
NSSA Areas
NSSA areas also enhance the use of network
resources. NSSA should be used when an area has
one or more ASBRs but attaches through ABRs.
Page 5
Router A
Router B
Subnet
192.168.64.127
Subnet
192.168.1.0.255
Router C
Subnet
192.168.2.0.255
Subnet
192.168.3.160.191
OSPF "Costing"
OSPF uses an hierarchy of routing categories and
bandwidth calculations to choose optimal routing
paths. Optimal routes are chosen on a least-cost
basis. OSPF places routes into four categories, presented as follows in order of their OSPF cost with
the lowest cost categories first:
Page 6
Site 1
Address range192.168.5.65-126
Netmask255.255.255.192
Site 2
Address range192.168.5.97-126
Netmask255.255.255.221
192.168.2.0-1.5
192.168.2.1
192.168.2.2
PortMaster #1
192.168.2.3
PortMaster #2
192.168.2.4
Office Router #1
192.168.2.5
Office Router #2
Subnet
192.168.2.32-53
Subnet
192.168.2.64-95
Subnet
192.168.2.95-159
Subnet
192.168.2.150-255
Up to 30 Individual
Dial-In Users
Up to 30 Individual
Dial-In Users
LAN Internet
Access
LAN Internet
Access
Page 7
2.0 Summary
Many network managers are migrating from RIP to
OSPF for reasons like the following:
3.0 Bibliography
Douglas Comer, Internetworking with TCP/IP,
Volume 1, Principles, Protocols, and Architecture,
3rd Edition, Prentice Hall, 1995.
C. Hedrick "Routing Information Protocol," RFC1058, June 1988.
Christian Huitema, Routing in the Internet,
Prentice Hall PTR, 1995.
J. Moy, "OSPF Version 2", RFC-1583, March 1994.
RIP is incapable of recognizing classless, subnetted segments with network masks, but OSPF
supports variable-length subnet masks that recognize subnets of any size.
Page 8
Lucent Technologies
Remote Access Business Unit
4464 Willow Road
Pleasanton, California 94588-8519
Tel: (925) 730-2500 Fax: (925) 730-2510
website: http://www.lucent.com/dns/portmaster
Copyright 1999 Lucent Technologies, Inc.
Printed in the USA
04/99
LT-DAT0717
Lucent Technologies
Bell Labs Innovations