Types of IPv6 Addresses

April 13, 2014

There are alot of new terms and techniques that are needed to be learnt in order to get a grasp of the IPv6 principles and as promised i will go over the types of IPv6 addresses that exist. The one that doesn’t exist anymore is the broadcast. Anyway they are:

IPv6 Multicast

  • First 8Bits are 1
  • or FF00::/8

This works just like the IPv4 brother and is used to send traffic to a subset of devices, it also functions, at times, like a broadcast. In the new IPv6 world there is no such thing but the multicast addressing does the same thing.

 

Unspecified

  • Devices use this IPv6 address to ask for an IPv6 address from a DHCP server
  • Written as ::/128

Does as described, before a device has an IP it will use the ::/128 IP as the source and when a DHCP server responds to the request an unused IPv6 address will be assigned.

 

Loopback

  • Performs the same functions as 127.0.0.1 does in IPv4
  • ::1/128

This address is used basically to troubleshoot and test the IP stack on devices.

 

Link Local

  • Every device will generate a link local address
  • Only used to communicate on the local broadcast domain, meaning it won’t pass a router or the Layer 2 link.
  • Written and identified by FE80::/10
  • Link-Local address are generated using the EUI-64 rules aka Stateless Address Auto-configuration (SLAAC)

The link-local address is quite unique and as stated above it will not be used outside the broadcast domain, so without any configuration at all you should be able to connect devices on the same broadcast domain and have connectivity using the Link Local addresses. It’s a pretty cool feature of IPv6 and something to look out for too.

 

Global

  • Can be routed via the internet and between networks
  • Reachable by routers globally
  • 2000::/3 – First 3Bits must be 001
  • AKA Global Unicast Address

Basically this is the address that your local RIR or ISP will allocate to you to use,  without going into details you would be given a further subdivided piece of the above address space to use to connect to the internet. Once this is setup and configured you will be reachable by other routers globally.

 

Anycast

  • Allow the use of the same IP addresse in different locations
  • Function like Global IPv6 Addresses.

The Anycast feature of IPv6 can be used to allow the use of identical IPv6 addresses in different locations. The reason for this is so that you can setup servers for almost anything and the requesting host will find the destination which is closer, not just via metric but this could mean physically too.


Routing Metrics

December 10, 2013

On our journey through the Cisco ICND2 objectives, we are expected to know a thing or two about “Metrics”

So what is a metric you ask ?

Well a routing metric is used by all routing protocols to decide on the best path to any given network. Not to be confused with Administrative Distance (AD). Which tell the router which path to believe when a router learns a route from more then one routing protocol.

Below is an example of what a metric is, with the use of RIPv2. As you can see R1 has two paths to reach R2. One is out FA0/1 directly to R2 (Which in the real world would be a connected route with a lower AD then RIP) and out FA0/2 through R3.

The metric with RIP is calculated using hop count, so the path with the least hops is the best path. The path highlighted in red would be used in this example.

RIP Metric


The Router Boot Sequence

November 25, 2013

The router goes through a series of events every-time the router is powered on, from performing tests and loading IOS. For the ICND2 exam it is required that you can describe the boot process. Here are the events:

  1. Initially the router will undertake a POST, which tests to see if the Router is functional. POST is run and stored in ROM
  2. The Bootstrap program is run, its job is to find, locate and run the IOS software. First it checks the configuration register then the boot sequence is checked in NVRAM. By default IOS is loaded from FLASH
  3. IOS is loaded into RAM and it will check NVRAM for a working config called startup-config
  4. Once startup-config is found the file will now be loaded into RAM and is now known as running-config

If a startup-config is not found the router will send out a broadcast looking for a TFTP host containing a configuration file, when this fails the router will then load into setup mode.


Study Update

November 13, 2013

Hi all, just a quick update to let you know what’s happening.

Well i’ve almost almost completed reading the ICND2 book , the new 200-101 exam and it is quite different to it’s predecessor so i highly recommend you purchase the new one if you haven’t already. The next thing i have to do is also finish up my notes and get those ios commands stuck in my head. I had initially planned to obtain the CCNA by the end of November but due to some hurdles in the last couple of weeks i will be happy with finishing up all the notes before then.

Also the networkdictionary.wikispaces.com wiki which i have created is coming along nicely. Plenty of Cisco related acronyms in there now, so don’t forget it’s free for anyone and to join also, add whatever is missing (that’s alot)

So keep at it and when the times right i will be covering the rest of the ICND2 exam soon. I’m thinking Identifying WAN technologies next, it’s my favourite.


PVSTP – Per VLAN Spanning Tree Protocol

October 19, 2013

The second item under the topics in the new ICND2 200-101 exam, requires that you can identify PVSTP.

PVSTP or Per VLAN Spanning Tree Protocol  does just that, each VLAN will have a different STP setup or topology, as it is done on per VLAN basis.

As the engineer this provides you with a great tool to load balance traffic over the network, using some configuration options you can decide what switches will become root.

Note: All of the interfaces on the Root switch will be DP’s

PVSTP

 

 

 

 

 

 

The above example show you how the two VLANs have a different topology.


Problems avoided using STP

October 15, 2013

If you are going to setup a LAN with redundant paths, it is important that STP is running. If not you will be opening yourself up to these few problems

  • Broadcast Storms
  • MAC Table instability
  • Multiple frame transmission

While the issue of broadcast storms may seem obvious, the other two may not be the things you think about at all. In the case of MAC table instability your switches will experience frequent updates to their MAC tables with wrong entires, from the looped frames which are being sent around the LAN.

The second issue of Multiple frame transmission can be somewhat, a disastrous side affect of not running STP. Duplicate copies of the looping frame can end up at the end host, in turn completely confusing it, resulting in discarded frames.

Luckily though on CISCO switches STP is on by DEFAULT


Spanning Tree Protocol Port Roles

October 1, 2013

The diagram below is the network in use:

Switch 3

FA0/1 – DP

FA1/1 – DP

Switch 1

FA1/1 – RP

FA0/1 DP

Switch 2

FA1/1 – RP

FA0/1 – DP

Switch 0

FA0/1 – RP

FA1/1 – ALTN

The lab for this example can be downloaded  by clicking here
01_Diagram 02_STP_Ports_Roles 03_STP_Port_Roles


Setting A Switch’s Revision Number To Zero

September 1, 2013
  • configure the new switch for VTP transparent mode and then back to VTP client or server mode, which resets the VTP revision number to 0
  • Erase the new switch’s vlan.dat file in flash and reload the switch. This file contains the switch’s VLAN database, including the revision number

VLAN & VTP Switch Defaults (CISCO)

August 26, 2013
  • VTP server mode
  • No VTP domain name
  • VLAN 1 and VLAN’s 1002-1005 are automatically configured (cannot be deleted)
  • All access interfaces are assigned to VLAN 1 (an implied switchport access vlan 1 command)

Creating A VLAN Step By Step

August 26, 2013

Step 1 

 a. From configuration mode, use the vlan vlan-id global configuration

command to create the VLAN and to move the user into VLAN

configuration mode.

 

b. (Optional) Use the name name VLAN subcommand to list a name

for the VLAN. If not configured, the VLAN name is VLANZZZZ,

where ZZZZ is the 4-digit decimal VLAN ID.

 

Step 2  To configure a VLAN for each access interface, follow these steps:

 a. Use the interface command to move into interface configuration

mode for each desired interface.

 

b. Use the switchport access vlan id-number interface subcommand to

specify the VLAN number associated with that interface.

 

c. (Optional) To disable trunking on that same interface, ensuring that

the interface is an access interface, use the switchport mode access

interface subcommand.