Professional Documents
Culture Documents
IP Addressing
IP Addressing
IP Addressing Overview............................................................................................................................................ 1
IP Characteristics and IPv4 Address Format................................................................................................... 3
IP Addressing Overview
In this video we're going to look at IP version 4 addressing. I'm going to give you an
overview of IP version 4 addresses and explain the basics of IPv4 addressing.
From now on, I'm going to refer to IP addresses but be a way of please that I'm discussing
IP version 4 addresses in this video and not IP version 6 addresses.
We're going to look at an overview of IP addresses, what they looked like and how
they function.
I'm going to explain the various address classes that you get an IP version 4.
In other words, Class A,
Class B,
Class C,
Class D and
Class E.
We'll also talk about CIDR, and how that changes the address classes. But as a
foundation it's important that you understand the 5 address classes A, B, C, D
and E.
We will look at special IP addresses including the loopback address the local
broadcast address and other special addresses.
And lastly I'm going to explain what network mask do and why they important with
regards to IP addressing.
So, what is an IP address?
An IP address is a layer 3 logical address assigned by an administrator. Unlike MAC
addresses which are hard coded or burnt into Network Interface Cards by the
manufacturer. An IP address is configured by an administrator. The IP address may
change within a subnet. For example, when using DHP or Dynamic Host
Configuration Protocol.
An IP address resides at a layer 3 in the OSI model. Please refer to the OSI videos for
more details on how the OSI model works.
An IP address is used to uniquely identify a device on the network and is used by
routers to determine where that device is. So, a router routes traffic to a destination
IP address based on a hierarchy of network and host which will talk about in a
moment.
IP Characteristics
IP version 4 or Internet Protocol version 4 is a layer 3 or network a layer protocol as
per the OSI model. In different video, i explained the OSI model. So, if you're not
sure about layers, please refer to that video.
IP version 4 is a connectionless protocol. In other words, there are no sessions
formed when traffic is transmitted. The transmitter simply sends data without
notification to the receiver no status information is sent back from the receiver to the
transmitter, it's totally connectionless.
IP on the other hand doesn't do any of that. Each packet is treated independently of
other packets.
That's why traffic can take different paths to get to a destination.
Routers will route the traffic via different paths based on options such as load
balancing because each packet is independent, and IP is a connectionless
protocol.
Routers can also base routing decisions on different values such as
bandwidth or hop count.
But it is possible that packets from one session take divergent or different parts
to get to a destination.
So, for example RIP will base its routing decisions on hop count, which is not good
and hence RIP is not used that often anymore.
OSPF will base it on bandwidths other running protocols will use their own metrics
to determine the best path.
I'll be discussing routing protocols in more detail later in this course but in brief,
routing protocols determine the best path or best route from A to B.
This is based on the hierarchical addressing structure in IP version 4 and IP version 6 where
we have both a network and host portion as part of the address.
Router base their routing decisions on the network portion of the address rather
than on the host portion of the address and I'll explain network, and host portions in
a moment.
IP also only gives best effort to delivery of packets. There is no guarantee of packet
delivery any packet could be misdirected. It could be duplicated, or it could be lost
in transmission when sent to a destination and that should be expected in IP
transmissions.
Once again TCP which is a connection-oriented protocol has the ability to read transmit
packets that go missing, UDP another layer for protocol doesn't retransmit packets. If they
get dropped simply lost, and the applications layer need to take care of that.
There is also no data recovery features in IP. If the packet for example gets
corrupted, the end devices need to handle that and not the routers in between.