OSPF over Frame-Relay - Part 2: Broadcast

http://ipexpert.ccieblog.com/ |  Networking, CCIE, Ethernet Add a new comment

In part I of our series, we looked at the default OSPF network type on frame-relay (non-broadcast). This begs the question of “OK we know non-broadcast, now what about broadcast?” Excellent, let’s get started!

First, I want to get into actually understanding the technology. This is important because once you get the concepts, you should not have to straight up memorize the important pieces. You will be able to build them on your own.

So, what is the broadcast network type, and what are its attributes? When I think of a broadcast network type I immediately think of Ethernet. This is actually a great example, because the default OSPF type on an Ethernet topology is broadcast. So what happens on Ethernet with respect to OSPF? Well, we have a DR right? That makes sense because we can have a whole bunch of routers on a single Ethernet segment and we don’t want to have to peer between all of them. We just elect a single DR to do all the dirty work. Secondly, our OSPF packets are sent via multicast to 224.0.0.5 and 224.0.0.6. This is perfect on Ethernet because it is a broadcast medium. What about frame-relay?

Well, the concept of the DR does not change at all! We still need it, and we will take care of that exactly as we did in the non-broadcast article - make the hub the DR by setting it to a higher priority. Make sure your spokes can NEVER be the DR/BDR by setting their priority to 0. So nothing magical there.

What about OSPF traffic? With non-broadcast we had to resort to unicast messages using the neighbor command. We said frame-relay was a non-broadcast medium by nature. So what do we do? Well, in my mind this is sort of a “hack” which always makes things a bit more exciting J In frame-relay, when you are doing your layer 3 to layer 2 resolution (using frame-map usually) you can specify the broadcast keyword on the end of your map.

For example: frame-relay map ip 100.100.100.5 205 broadcast

What does this do? It is actually pretty clever. What this does is tell the routers “Hey if you have any broadcast messages, go ahead and send them down this DLCI as a unicast” So basically it is a way to send broadcast messages on a non-broadcast medium J

With that being said it is VITALLY important that you have the broadcast keyword on your frame maps on both sides, or this will not work!!! That is really as complex as the broadcast network type over frame gets! What about timers? Well, think about broadcast. Most broadcast environments like Ethernet are generally considered “fast” so we use fast timers! This means our hello/dead timers will be 10/40 seconds by default.

Let’s set this up and see how things work out. I have gone ahead and done “no router ospf 1″ on all our frame routers in the topology. We will set things up from scratch.

First, we set our DR priority and our network type on the interface! Then we will setup basic OSPF.

R2(config)#int s0/1/0.256

R2(config-subif)#ip ospf pri 255

R2(config-subif)#ip ospf network broad

R2(config-subif)#router ospf 1

R2(config-router)#network 100.100.100.2 0.0.0.0 area 0

R5(config-if)#ip ospf pri 0

R5(config-if)#ip ospf network broadcast

R5(config-if)#

R5(config-if)#router ospf 1

R5(config-router)#network 100.100.100.5 0.0.0.0 area 0

R6(config)#int s0/1/0

R6(config-if)#ip ospf pri 0

R6(config-if)#ip ospf network broadcast

R6(config-if)#

R6(config-if)#router ospf 1

R6(config-router)#network 100.100.100.6 0.0.0.0 area 0

Taking a look here at R6 we can see that the OSPF network type is indeed broadcast, our timers are “fast”, it has a neighbor to R2 who is the DR, and that we have enabled broadcast on our frame maps

R6(config-router)#do sh ip ospf int s0/1/0 | i Network Type|Timer

Process ID 1, Router ID 100.100.100.6, Network Type BROADCAST, Cost: 64

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5

R6(config-router)#do sh ip ospf neigh

Neighbor ID Pri State Dead Time Address Interface

100.100.100.2 255 FULL/DR 00:00:31 100.100.100.2 Serial0/1/0

R6(config-router)#do sh run int s0/1/0

Building configuration…

Current configuration : 295 bytes

!

interface Serial0/1/0

ip address 100.100.100.6 255.255.255.0

encapsulation frame-relay

ip ospf network broadcast

ip ospf priority 0

frame-relay map ip 100.100.100.2 602 broadcast

frame-relay map ip 100.100.100.5 602

frame-relay map ip 100.100.100.6 602

no frame-relay inverse-arp

end

That’s it for OSPF broadcast over frame-relay. Let’s review. First, in order to have broadcasts on an OSPF network, we need to make sure to set the broadcast keyword on our frame maps. Secondly, broadcast still requires the use of a DR so make sure your hub is set as the DR by using the priority command on the interface. OSPF network types are set on the interface level. Finally, our timers by default are “fast” 10 hello/40 dead.

In our next installment we will take a look at the fairly simple point-to-point OSPF network type! Stay tuned for more tutorials covering all the different OSPF network types.

Thanks!

Joe (Post contributed by Joe Astorino - CCIE #24347 R&S)

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    NetworkingWhite Papers & Webcasts

    White Paper

    HP X5000 G2 Network Storage System Data Sheet

    The new HP X5000 G2 Network Storage Systems is ideal for midsize companies. The solution is a two-node Network Attached Storage (NAS) cluster with shared storage built on HP BladeSystem technology. In this datasheet, you will find a in-depth look into the HP X5000 G2 Network Storage Systems including key features and benefits that set this unit apart from the rest of those in the market.

    White Paper

    HP X5000 G2 Network Storage System Quickspecs

    The new HP X5000 G2 Network Storage Systems powered by Microsoft Windows Storage Server 2008 R2 Enterprise edition are Network Attached Storage (NAS), with two-node integrated into a converged 3U chassis, that are designed for a better file serving experience. In this quickspecs flyer, you will explore a view of the key features and benefits that set this unit apart from the rest of those in the market.

    White Paper

    HP X5000 G2 Network Storage System Ease of Use, High-Availability, Performance, and Interoperability Evaluation

    Today's small and medium-size businesses (SMBs) have ever-growing storage needs. This often translates into a requirement for terabytes of storage and a level of high-availability typically associated with large-scale, enterprise deployments, managed without having a large IT staff. Given IT staffing constraints, storage solutions for SMBs must be easily installed and managed by existing IT staff, which is why HP introduced the new HP X5000 G2 Network Storage Systems, powered by Intel® Xeon® Processors. Independent tests show the HP X5520 G2 Network Storage System can be installed out-of-the-box to a fully-functional, high availability system joined to a Microsoft domain in less than 90 minutes with the help of an automated HP Configuration Tasks Tool guide.

    White Paper

    Optimizing Enterprise WLAN Performance

    This white paper reviews business and technology trends impacting enterprise wireless networks and describes how HP Mobility Solutions in general and HP Mobility Traffic Manager in particular enable the industry's most scalable, cost-effective and manageable wireless network deployments.

    White Paper

    The Cost Advantages of Using a Hosted Unified Communications Service: A TCO Guide for SMBs

    A challenge for small and mid-sized businesses (SMBs) is the cost of scaling their communications systems to rival the rich functionality and flexibility of bigger competitors with dedicated IT staffs. Upfront capital costs and the requirement for on-site staff to manage equipment and applications have fueled interest in hosted unified communications (UC) services, which allow smaller organizations to use a third-party provider's UC infrastructure in the cloud and enjoy the economies of scale of very large organizations.

    See more White Papers | Webcasts

    Ask a question

    Ask a Question