Microsoft KB Archive/321272

= How to Implement OSPF Over RRAS Dial-on-Demand Connections in Windows 2000 =

PSS ID Number: 321272

Article Last Modified on 10/29/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server SP1
 * Microsoft Windows 2000 Server SP2
 * Microsoft Windows 2000 Server SP3

-



This article was previously published under Q321272



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article describes how to implement Open Shortest Path First (OSPF) over Routing and Remote Access Service (RRAS) Dial-on-Demand (DOD) connections in Windows 2000. This information is specific to when you are using token ring network adapters and you want to connect to a Cisco router.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

This article describes how to set the functional addresses on the token ring network adapter of the Windows 2000 Server.

IMPORTANT: Because OSPF is a complex protocol, use the procedure in this article only if you have a good understanding of OSPF use and configuration.

By default, Windows 2000 uses the functional MAC address for sending and receiving OSPF updates. However, Cisco routers use the broadcast address for the updates. In the following case, both could not communicate with each other.

Example Frame from Windows 2000 Server
138 5.649024 OLICOM4B7920 C00000040000 OSPF Message = Hello host.company.com 224.0.0.5 IP

Frame: Base frame properties

Frame: Time of capture = 9/28/2001 14:44:55.433

Frame: Time delta from previous physical frame: 821312 microseconds

Frame: Frame number: 138

Frame: Total frame length: 100 bytes

Frame: Capture frame length: 100 bytes

Frame: Frame data: Number of data bytes remaining = 100 (0x0064)

TOKENRING: Length = 16, Priority = Normal Priority (No token), Frame, Routed

TOKENRING: Access control = 16 (0x10)

TOKENRING: 000..... = Normal Priority (No token)

TOKENRING: ...1.... = Frame

TOKENRING: ....0... = Original (non-repeated)

TOKENRING: .....000 = Normal Priority, No token needed.

TOKENRING: Frame control = 64 (0x40)

TOKENRING: 01...... = LLC Frame Type

TOKENRING: Destination address = C00000040000

TOKENRING: 1............................... = Group address

TOKENRING: .1.............................. = Locally administered address

TOKENRING: ................0............... = Functional address

TOKENRING: Source address = 8000834B7920

TOKENRING: 1....... = Routing information present

TOKENRING: .0...... = Universally administered address

TOKENRING: Routing Control Field

TOKENRING: 100............. = Broadcast Indicator - All Routes Broadcast B'100'

TOKENRING: ...00010........ = Routing Length 2

TOKENRING: ........0....... = Forward (left-to-right) direction.

TOKENRING: .........111.... = Largest Frame Indicator - All-routes broadcast.

LLC: Unnumbered (U) Frame, Command Frame, DSAP = Sub-Network Access

Protocol (SNAP), SSAP = Sub-Network Access Protocol (SNAP)

LLC: DSAP = Sub-Network Access Protocol (SNAP); Individual Address

LLC: 1010101. = DSAP 170 (0xAA); Sub-Network Access Protocol (SNAP)

LLC: .......0 = Individual address

LLC: SSAP = Sub-Network Access Protocol (SNAP); Command Frame

LLC: 1010101. = SSAP 170 (0xAA); Sub-Network Access Protocol (SNAP)

LLC: .......0 = Command Frame

LLC: Unnumbered Frame Summary = 3 (0x3)

LLC: 000.00.. = Unnumbered Frame Command - Unnumbered Information (UI)

LLC: ...0.... = Poll Bit - No Response Solicited

LLC: ......11 = Frame Type - Unnumbered (U) Frame

SNAP: Etype = Internet IP (IPv4); Organization Code = 0x000000

SNAP: Organization Code = 00 00 00

SNAP: Etype = Internet IP (IPv4)

IP: Protocol = OSPFIGP; Packet ID = 17544; Total IP Length = 76; Options = No Options

IP: Version = IPv4; Header Length = 20

IP: 0100.... = IP Version 4

IP: ....0101 = Header Length 20

IP: Type of Service = Normal Service

IP: 000..... = Precedence - Routine

IP: ...0.... = Normal Delay

IP: ....0... = Normal Throughput

IP: .....0.. = Normal Reliability

IP: ......0. = Normal Monetary Cost

IP: Total Length = 76 (0x4C)

IP: Identification = 17544 (0x4488)

IP: Fragmentation Summary = 0 (0x0)

IP: .0.............. = May fragment datagram if necessary

IP: ..0............. = Last fragment in datagram

IP: ...0000000000000 = Fragment Offset 0 (0x0000)

IP: Time to Live = 1 (0x1)

IP: Protocol = OSPFIGP

IP: Checksum = 52651 (0xCDAB)

IP: Source Address = 148.20.22.18

IP: Destination Address = 224.0.0.5

OSPF: Message = Hello

OSPF: Version = 2 (0x2)

OSPF: OSPF Packet Type = Hello

OSPF: Packet Length = 56 (0x38)

OSPF: Source Router ID = 148.20.22.18

OSPF: Area ID = 0.0.0.0

OSPF: Checksum = 0x1C01

OSPF: Authentication Type = None

OSPF: Authentication = 0x0000000000000000

OSPF: Netmask = 255.255.240.0

OSPF: Hello Interval = 10 (0xA) seconds

OSPF: Hello Options = 2

OSPF: ......1. = Processes AS External routes

OSPF: .....0.. = Does not support MOSPF

OSPF: ....0... = Does not process Not-So-Stubby-Area advertisements

OSPF: ...0.... = Does not process external attributes LSAs

OSPF: ..0..... = Does not support demand circuit extensions

OSPF: Router Priority = 1 (0x1)

OSPF: Dead Interval = 40 (0x28) seconds

OSPF: Designated Router = 0.0.0.0

OSPF: Backup Designated Router = 0.0.0.0

OSPF: Neighbor = 148.20.22.19

OSPF: Neighbor = 148.20.22.20

OSPF: Neighbor = 148.20.22.21

Example Frame from the Cisco Router
139 0.320512 CISCO BCFBFC *BROADCAST OSPF Message = Hello 148.20.22.19 224.0.0.5 IP

Frame: Base frame properties

Frame: Time of capture = 9/28/2001 14:44:49.784

Frame: Time delta from previous physical frame: 170272 microseconds

Frame: Frame number: 70

Frame: Total frame length: 94 bytes

Frame: Capture frame length: 94 bytes

Frame: Frame data: Number of data bytes remaining = 94 (0x005E)

TOKENRING: Length = 14, Priority = Bridge, Token, No Routing

TOKENRING: Access control = 128 (0x80)

TOKENRING: 100..... = Bridge

TOKENRING: ...0.... = Token

TOKENRING: ....0... = Original (non-repeated)

TOKENRING: .....000 = Normal Priority, No token needed.

TOKENRING: Frame control = 64 (0x40)

TOKENRING: 01...... = LLC Frame Type

TOKENRING: Destination address = FFFFFFFFFFFF

TOKENRING: 1............................... = Group address

TOKENRING: .1.............................. = Locally administered address

TOKENRING: ................1............... = Group address

TOKENRING: Source address = 000778BCFBFC

TOKENRING: 0....... = No routing information present

TOKENRING: .0...... = Universally administered address

LLC: Unnumbered (U) Frame, Command Frame, DSAP = Sub-Network Access Protocol (SNAP), SSAP = Sub-Network Access Protocol (SNAP)

LLC: DSAP = Sub-Network Access Protocol (SNAP); Individual Address

LLC: 1010101. = DSAP 170 (0xAA); Sub-Network Access Protocol (SNAP)

LLC: .......0 = Individual address

LLC: SSAP = Sub-Network Access Protocol (SNAP); Command Frame

LLC: 1010101. = SSAP 170 (0xAA); Sub-Network Access Protocol (SNAP)

LLC: .......0 = Command Frame

LLC: Unnumbered Frame Summary = 3 (0x3)

LLC: 000.00.. = Unnumbered Frame Command - Unnumbered Information (UI)

LLC: ...0.... = Poll Bit - No Response Solicited

LLC: ......11 = Frame Type - Unnumbered (U) Frame

SNAP: Etype = Internet IP (IPv4); Organization Code = 0x000000

SNAP: Organization Code = 00 00 00

SNAP: Etype = Internet IP (IPv4)

IP: Protocol = OSPFIGP; Packet ID = 43736; Total IP Length = 72; Options = No Options

IP: Version = IPv4; Header Length = 20

IP: 0100.... = IP Version 4

IP: ....0101 = Header Length 20

IP: Type of Service = Normal Service

IP: 110..... = Precedence - Internetwork Control

IP: ...0.... = Normal Delay

IP: ....0... = Normal Throughput

IP: .....0.. = Normal Reliability

IP: ......0. = Normal Monetary Cost

IP: Total Length = 72 (0x48)

IP: Identification = 43736 (0xAAD8)

IP: Fragmentation Summary = 0 (0x0)

IP: .0.............. = May fragment datagram if necessary

IP: ..0............. = Last fragment in datagram

IP: ...0000000000000 = Fragment Offset 0 (0x0000)

IP: Time to Live = 1 (0x1)

IP: Protocol = OSPFIGP

IP: Checksum = 30107 (0x759B)

IP: Source Address = 148.20.22.19

IP: Destination Address = 224.0.0.5

OSPF: Message = Hello

OSPF: Version = 2 (0x2)

OSPF: OSPF Packet Type = Hello

OSPF: Packet Length = 52 (0x34)

OSPF: Source Router ID = 148.20.22.19

OSPF: Area ID = 0.0.0.0

OSPF: Checksum = 0x72DB

OSPF: Authentication Type = None

OSPF: Authentication = 0x0000000000000000

OSPF: Netmask = 255.255.240.0

OSPF: Hello Interval = 10 (0xA) seconds

OSPF: Hello Options = 2

OSPF: ......1. = Processes AS External routes

OSPF: .....0.. = Does not support MOSPF

OSPF: ....0... = Does not process Not-So-Stubby-Area advertisements

OSPF: ...0.... = Does not process external attributes LSAs

OSPF: ..0..... = Does not support demand circuit extensions

OSPF: Router Priority = 1 (0x1)

OSPF: Dead Interval = 40 (0x28) seconds

OSPF: Designated Router = 148.20.22.20

OSPF: Backup Designated Router = 148.20.22.19

OSPF: Neighbor = 148.20.22.20

OSPF: Neighbor = 148.20.22.21

Note that the following parameters are correct, and both are in the same subnet:

Area 0.0.0.0

no password

Hello Update 10sec.

Dead interval 40sec.

different Router IDs

However, the Cisco router uses as TOKENRING: Destination address = FFFFFFFFFFFF, and the Windows 2000 server uses TOKENRING: Destination address = C00000040000.

To resolve this issue, use either of the following methods:  Switch the Cisco router to use the functional address for the OSPF updates. For information about how to do so,please view the documentation that is included with your Cisco router, or visit the following Cisco Web site:

http://www.cisco.com

Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

 Switch the Windows 2000 server to use broadcasts for the updates. To do so, use Registry Editor to add the following value to the following registry key:

Value name: TrFunctionalMcastAddress Data type: REG_DWORD

Data range: 0-1

Default value: 1

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Description: This registry key setting determines if IP multicasts are sent by using the Token Ring Multicast address that is described in RFC 1469, or by using the subnet broadcast address. A value of 0 means that IP multicasts are sent by using the subnet broadcast address. A value of 1 means that IP multicasts are sent by using the token ring multicast address that is described in RFC 1469.

For additional information about related topics, click the article numbers below to view the articles in the Microsoft Knowledge Base:

241540 OSPF over RRAS Dial-on-Demand and VPN Connections in Windows 2000

235492 RIP and OSPF Do Not Start Dial On Demand Connections

OSPF is an Interior Gateway Protocol (IGP) that is specified by the Internet Engineering Task Force (IETF).

Keywords: kbenv kbhowto kbnetwork KB321272

Technology: kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbwin2000ServSP1 kbwin2000ServSP2 kbwin2000ServSP3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.