February 14, 2010

A closer look at the Data-Link layer

The Data-Link layer provides physical transmission of the data and handles error notifications, network topology, and flow control.

Lets take a closer look at it’s function

  1. Ensures messages are delivered to the proper device on LAN using hardware addresses and will translate messages from the Network layer to transmit.
  2. Transmit messages into pieces called a data frame and adds a customized header containing the hardware destination and source address.
  3. Data-Link uses binary values and hexadecimal values.

Binary Values

Nibble Values Byte Values
8  4  2  1 128  64  32  16  8  4  2  1

Binary to Decimal Chart

Binary Value Decimal Value
10000000 128
11000000 192
11100000 224
11110000 240
11111000 248
11111100 252
11111110 254
11111111 255

Hexadecimals

Hex is short for hexadecimal, which is a numbering system that uses the first six letters of the alphabet (A through F) to extend beyond the available ten digits in the decimal system. Hexadecimal has a total of sixteen digits.

Hex to Binary to Decimal Chart

Hexadecimal Binary Decimal
0 0000 0
1 0001 1
2 0010 2
3 0011 3
4 0100 4
5 0101 5
6 0110 6
7 0111 7
8 1000 8
9 1001 9
A 1010 10
B 1011 11
C 1100 12
D 1101 13
E 1110 14
F 1111 15

Six major points of Routers

There are six major points to remember or keep in mind when working with routers or layer 3 devices. You should probably commit these to memory.

Here are the six major points

  1. Routers, by default, will not forward any broadcast or multi-task packets.
  2. Routers use the logical address in the network layer header to determine the next hop router to forward the packet to.
  3. Routers can use access list, created by an administrator to control security on the types of packets that are allowed to enter or exit an interface.
  4. Routers can provide layer 2 bridging functions if needed, and can simultaneously route through the same interface.
  5. Routers provide connections between virtual LANS (VLANS).
  6. Routers provide Quality of Service (QoS) for specific types of network traffic.

A closer look at the Network Layer

The network layer manages devices addressing, tracks location of devices on the network, and determines the best way to move data, which means the Network layer must transport traffic between devices that aren’t locally attached.

Lets take a closer look at it’s function

  1. Checks a packet when it is first received on a router interface.
  2. If the packet isn’t destined for that particular router, it will look up the destination network address in the routing table.
  3. Once the router chooses an exit interface, the packet will be sent to that interface to be framed and sent out on the local network.
  4. If the router is unable to locate an interface; the packets will be dropped.

Key Terms

Router – a router is a network layer device (layer 3 device) and provides the routing services within an internetwork.

Data packets – are used at the network layer to transport data through the internetwork.

Routed Protocols – are used to support data traffic.

Route Update Packets – are used to update neighboring routers about the networks connected to all routers within the internetwork.

Routing Protocols – are used to send out route updates packets.

Network Address

  1. A protocol specific network address.
  2. A router must maintain a routing table for individual routing protocols because each routing protocols keep track of a network with a different addressing scheme (ex. IP, IPv6, and IPX).

Interface – is the exit interface a packet will take when destined for a specific network.

Metric – is the distance to the remote network.