Skip to content

Network Ninja

The Long Road to Cisco

  • Home
  • About
  • Legal Disclaimer
  • Archives

Less
More
Trim
Untrim
« Older
Home
Loading
Newer »

Monthly Archive for October, 2008

Open Shortest Path First – OSPF Fundamentals – Neighbours and Adjacencies

Published
by
Deon Botha
on October 10, 2008
in BSCI, Certification, Cisco Systems, Concepts and Constructs and OSPF
. 0 Comments

OSPF develops neighbour relationships with routers on the same link by exchanging hello messages (a.k.a hellos).

At the initial exchange of hellos, the routers add each other to their respective Neighbour Tables (The Neighbour Table in this case acting as a list of connected OSFP enabled routers).

OSPF Enabled Routers send multicast hellos with a destination address 224.0.0.5 on all OSPF-enabled interfaces.

OSPF sends out hellos every 10 seconds on a broadcast link (a link with more than 2 nodes on the same segment like Ethernet) and 30 seconds on a non-broadcast (a link with only 2 nodes on the same segment; exceptions *shrug* exist for NBMA) link.

The Hello message contains:

OSPF Hellos

After the initial hello exchange between two routers, an exchange of network information begins. After routers have synchronized their information they are adjacent.

OSPF States

Routers must go though various states from the initial relationship “hello” that transitions through a process before forming a “full” adjacency as shown above in the picture.

Once a full adjacency is achieved, tables between routers must be kept updated to prevent loops and routing errors. LSAs are re-sent when a change occurs, or every 30 minutes to keep routing information “fresh”.

Going through the different “states” a neighbour relationship can be in:

  • Down – This is the first OSPF neighbour state, this state means that no hellos (information) has been received from any neighbour(s).
  • Attempt - This state is only valid for manually configured neighbours in a Non-broadcast multi access (NBMA) environment. In Attempt state, the router sends unicast hellos every poll interval to the neighbour from which hellos have not been received within the dead interval.
  • Init - This state indicates that the router has received a hello packet from its neighbour, but the receiving router’s ID was not included in the hello.
  • 2-way – This state indicates that the bi-directional communication has been established between two routers
  • Exstart – Once the Designated Router (DR) and Backup Designated Router (BDR) are elected, the actual process of exchanging link-state information can start between the routers and their DR and BDR.
  • Exchange – In this state, OSPF routers exchange database descriptor (DBD) packets.
  • Loading - In this state, the actual exchange of link-state information occurs.
  • Full - In this state, routers are fully adjacent with each other. All the routers and networks LSAs are exchanged and the router databases are fully synchronized.

Hellos between routers continue to be sent periodically and the adjacency is maintained as long as hellos are exchanged. Missing hello messages result in a router declaring the adjacency being declared dead.

As soon as OSPF identifies a problem, it modifies its LSAs accordingly and sends the updated LSAs to the remaining neighbours (with full adjacencies).

Being event-driven, this LSA process intrinsically improves convergence time and reduces the amount of information that needs to be sent across the network.

A key piece of information exchange in LSAs is the OSPF metric information. Many OSPF vendors assign each link a cost of 10, Cisco makes cost inversely proportional to a 100 Mbs

OSPF Cost

An Admin can override the default cost. This would be done for compatibility reasons (with other OSPF speakers or because the link is more than 100 Mbps).

Sometimes the meric is equivalent for multiple paths to a destination. In this case, OSPF will load balance over each of the equivalent interfaces. Cisco routers will automatically perform equal-cost load balancing for up to four paths, but this parameter can be increased by configuration to as many as sixteen paths.

The cost is applied to the outgoing interface. The routing process will select the lowest cumulative cost to a remote network.

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Update on Cisco Live! – World’s Leading Technologies Together in JHB

Published
by
Deon Botha
on October 10, 2008
in Asides, Cisco Systems and Vine
. 0 Comments

Cisco Live! is the Cisco annual ‘Networkers’ conference. For the first time ever the will be held in Sandton, Johannesburg on 1st – 4th December 2008. Cisco Live! will be the place for network engineers from all over Africa gather for technical training, education and networking. For the past eleven years, the conference has been at the forefront of educating delegates on new technologies.

The Cisco Live! conference will incorporate a new concept ‘Networkers at Cisco Live!’ with a mix of technical and business offerings. This format broadens traditional technical focused meet-ups to include executive tracks that examine the role of technology in driving business value in a challenging economic climate. The theme of this year’s conference is ‘The Power of Collaboration’ and delegates can look forward to thought-provoking keynotes from local and international Cisco executives and industry experts.

Networkers at Cisco Live! will be held at the Sandton Convention Centre and will attract more than 1,500 delegates, making it the largest Networkers conference in South Africa to date. The program will comprise various sessions, ranging from technical trainings to an invitation-only executive symposium. Delegates will also have the opportunity to view the World of Solutions demonstration area, which will showcase collaboration and communication tools and technology, such as TelePresence.

A Word from Steve Midgley the Managing Director of Cisco South Africa

“South Africa is the first country outside the United States to introduce the Cisco Live! brand. With Cisco Live!, we are taking the event to the next level to provide a platform where industry players can learn new technologies, discuss business trends, share ideas and network,” said Steve Midgley, Managing Director, Cisco Systems South Africa.“In recent years, specialization, globalization and new technologies have resulted in more collaborative environments made up of global, virtual networks and communities that improvise and find more productive, innovative and faster ways to do business. Cisco puts communications and collaboration capabilities within the context of a business process to allow workers increase their productivity, speed and agility,” added Midgley.

Speakers

Rick Hutley, vice president of Global Innovations for Cisco Internet Business Solutions Group, will be a keynote speaker at the event. Hutley, responsible for engaging Cisco’s largest global customers, will discuss the role of collaborative technologies in addressing the key business challenges and opportunities faced by organisations today.

Also speaking at the conference will be World Wide Worx’s Arthur Goldstuck, who will present findings from the Cisco-sponsored Internet Access in South Africa 2008 research report. Goldstuck’s presentation will cover the latest trends in Internet access and will set the scene for a discussion around the future of connectivity in South Africa, which plays a crucial role in collaboration.

For more information on Networkers at Cisco Live! www.networkersafrica.co.za

Open Shortest Path First – OSPF Fundamentals – Basics

Published
by
Deon Botha
on October 7, 2008
in BSCI, BSCI Notes, Certification, Cisco Systems, Concepts and Constructs and OSPF
. 0 Comments

Open Shortest Path First (OSPF) is an open standard routing protocol, defined in detail in many Internet Engineering Task Force (IETF) Request For Comments (RFCs)  including RFC 2328.

OSPF uses the Shortest Path First (SPF) Algorithm to calculate the best path to a given destination. OSPF builds loop-free paths that converge quickly, but often requires more processor power and memory than distance vector routing protocols (EIGRP).

OSPF can be more complicated because there are many topology and configuration options to consider versus EIGRP that has is has less of a learning curve.

OSPF is designed to offer flexibility in network design (OSPF is an open standard vs EIGRP that is Cisco Proprietary) which IOW allows OSPF to supports linking between different vendors Cisco, HP, etc.

OSPF Basics

OSPF as mentioned before is a Link-State routing protocol (basics) that is based on the Dijkstra Shortest Path First (SPF) Algorithm.

When one compares distance-vector routing to link-state routing;

  • link-state routing processes more information locally (on the router meaning more memory & CPU use) to reduce network bandwidth use.
  • Link-State routing protocols record all possible routes thus avoiding many of the techniques needed by distance-vector routing protocols to avoid loops.
  • Distance-vector routing protocols advertise routes to neighbours while link-state routing protocols advertise a list of connections.
  • In link-state routing, a neighbour is a directly connected router (or a router on the opposite side of a WAN link with the same network address).

OSPF is used within an Autonomous-System (AS). It has advantages over distance-vector routing protocols:

  • OSPF is classless + allows summarization
  • Converges quickly
  • OSPF is a standard, and fairly widely support can be found in a heterogeneous environment
  • Conserves bandwidth
  • uses multicast and not broadcast
  • sends incremental change-based updates
  • uses cost as the metric
  • KB is fairly widely available and less restricted than EIGRP

When a link goes up or down in a link-state routing protocol network, a link-state advertisement (LSA) is generated. LSAs are shared with neighbours and a topological database (a.k.a link-state database (LSDB) or Topology Table) is built.

LSAs are marked with sequence numbers so that older and/or newer versions of advertisements can be recognized (start 0×8000 0001 end 0xFFFF FFFF before rolling to the start again). The eventual goal is that all routers in the same AS has the same LSDB which is then processed using SPF from which the best routes are selected and a routing table created.

The Topology Database (LSDB) is the routers view of the network within the AS it operates. This includes every OSPF router within that area and all connected networks.

To view the current status of the link state database,
Router#show ip ospf database

The Topology Database is updated by LSAs and each router in a AS has exactly the same topology database. All routers must have the same view of the network otherwise routing loops or loss of connectivity will occur.

When a router realizes there has been a change to the network topology, the router is responsible for informing the rest of the routers in the area with a LSA. This happens mostly due to:

  • A router losing physical or data-link layer connectivity on a connected network
  • A router does not receive a predetermined number of consecutive OSPF hello messages
  • A router receives a LSA update from a adjacent neighbour, informing it of the change in the network topology

In any of the above cases, the router will generate an LSA and flood it to all neighbours with the following stipulations:

  • If the LSA is new, the route is added to the database, the route is flooded out other links so other routers are updated, SPF is rerun.
  • If the sequence number is the same as the current entry in the Topology Database, the router ignores the advertisement.
  • If the sequence number is older, the router sends the newer copy (in memory) back to the advertiser to make sure that all neighbours have the latest LSA.

All OSPF operations centre around populating and maintaining

  • Neighbour Table
  • Topology Table
  • Routing Table

Notes and Notices:

This is a part of my personal BSCI notes and research to assist myself in learning and understanding the concepts and theory for the BSCI exam. I learn by making notes reading and writing things down and wish to file them where I can’t lose them. These notes are not to be seen, judged or mistaken for replacements to Cisco recognized and authorized training which I personally support and attend and suggest you undertake if you are going for the BSCI Certification.

Apple iPhone 3G

Published
by
Deon Botha
on October 3, 2008
in Asides and Vine
. 0 Comments

So finally South Africa is treated to the bright, amazing, and wondrous release of the Applie iPhone 3G (totally missing out on Version 1), that’s unless you had a cousin, connection or friend in another “more developed” country smuggle one in for you. I would have been there on the launch day (I like the vibe of launch days) but I was quad biking in the bushveld (sun, wild animals, 4×4 lots of fun and first holiday in a long time).

Here is the laugh though; since the launch (a week ago today) I have seen 1 (total) being used (at a Fortinet mixer last night). I have decided against being a South African first adopter becuase of articels like this and this and don’t want to be find out first hand how bad Vodacom support can be on a new product.

I stopped into a Voda-store (local reseller) to have a listen to the whole story on a “Apple package deal” and was thoroughly disgusted as they wanted me to sign “another contract” on top of the one I already have. I had to ask three times specifically NO CONTRACT ONLY HANDSET before I was told that the Voda-super-store was the only place that sold iPhone out-of-hand for the super price of ZAR 7,569. These sharks don’t tell you when you ask, or listen when you ask and con people into signing contracts for 24 months onto existing 24 month contracts. Totally Disgusting this being one of their resellers and how they operate. Probably why Vodacom South Africa has a Net Profit of ZAR 8 Bn and Earnings before interest, taxation, depreciation, amortisation, impairment, profit/loss on disposal of property, plant and equipment, investment properties, intangible assets and investments of ZAR 16.5 Bn.

Today on MyBroadband they had a nice piece on the cost of the iPhone in other markets versus here.

Anyone want that iPhone 3G with added Apple Tax all things considered? Seems a little much for me taking into consideration what it says on the box isn’t what the product seems to be doing all over the world.


Search

About

You are currently browsing the Network Ninja weblog archives for the month October, 2008.

Latest

RSS
  • Digital Growth with your Job
  • Open Shortest Path First – OSPF Fundamentals – Scenario
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 13
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 12
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 11
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 10
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 9
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 8
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 7
  • Open Shortest Path First – OSPF Fundamentals – Questions and Answers – Question 6

Archives

  • June 2009
  • April 2009
  • March 2009
  • February 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Categories

  • 802.11 (7)
  • 802.1Q (1)
  • 802.1X (1)
  • AAA (1)
  • Access Point (7)
  • ACL (4)
  • Addressing (3)
  • Asides (31)
  • auto-summary (3)
  • AutoQoS (1)
  • Bandwidth (2)
  • BCMSN (55)
  • BDR (2)
  • BGP (1)
  • BPDU Filtering (1)
  • BPDU Guard (2)
  • BPDU Root Guard (1)
  • BSCI (67)
  • BSCI Notes (18)
  • BSCI Questions (48)
  • Business (1)
  • Cabling and Equiptment (3)
  • CAM (1)
  • CCDA (1)
  • CDP (1)
  • CEF (1)
  • Certification (123)
  • CIDR (2)
  • CIR (2)
  • Cisco Systems (144)
  • Concepts and Constructs (76)
  • CoS (1)
  • Cost (3)
  • DAI (1)
  • DDNS (1)
  • Debug (2)
  • DHCP Snooping (1)
  • DHCP Spoofing (1)
  • DR (3)
  • DUAL (1)
  • Dynamic ARP Inspection (1)
  • ECNM (5)
  • EIGRP (5)
  • Enterprise Architecture (7)
  • EtherChannel (1)
  • GLBP (1)
  • Hello Timer (2)
  • Hold Timer (2)
  • Hot Standby Router Protocol (1)
  • HSRP (1)
  • IGRP (1)
  • IIN (2)
  • Inter-Vlan Routing (1)
  • Interconnection Technologies (2)
  • IP Source Guard (1)
  • IS-IS (1)
  • ISL (1)
  • LACP (1)
  • Link State Advertisements (2)
  • Load Balancing (2)
  • Loop Guard (1)
  • MAC Address Flooding (1)
  • MLS (1)
  • MSTP (1)
  • NBAR (1)
  • NBMA (1)
  • Off-Topic (12)
  • OSPF (18)
  • PAgP (1)
  • passive-interface (1)
  • PoE (1)
  • Port Security (1)
  • Priority (2)
  • Proxy ARP (1)
  • PVC (1)
  • QoS (2)
  • RIP (1)
  • RIPv2 (1)
  • Root Guard (1)
  • RSTP (1)
  • Show (6)
  • Software (1)
  • SONA (2)
  • SSH (2)
  • STP (5)
  • Stub Router (3)
  • summary-address (1)
  • Support (4)
  • Switch Spoofing (1)
  • TCAM (1)
  • Telnet (2)
  • Troubleshooting (1)
  • Trunk (6)
  • Unidirectional Link Detection (1)
  • VACL (3)
  • VC (1)
  • Vine (20)
  • VLAN (11)
  • VLAN Hopping (1)
  • VLSM (1)
  • VoIP (1)
  • VRRP (1)
  • VTP (4)
  • VTY (1)
  • Wireless (7)


Styled with Sawchuk

Powered by WordPressabc and K21.0-RC7

Entries Feed and Comments Feed

41 queries. 1.3190 seconds.