Equip Course IPMPLS
Equip Course IPMPLS
CONCEPTS FOR
IPMPLS
(DATA COMMUNICATION AND NETWORKING –
TA2)
By
Samatha, INW3
OBJECTIVE:
By the end of the session you will be able to identify
1. Basics of Data Communications
2. OSI Layers
3. IP Address
4. Data Transmission on LAN
5. Data Transmission on WAN
DAY - 1
2. OSI Layers
Introduction
Communication is sharing of information
Transmitter
Receiver
Medium
Protocol
Network
A network is a set of devices (or) nodes connected by
media links. A node can be a Computer, Printer (or)
any other device capable of sending / receiving the
data generated by other nodes on the network.
Network Criteria:
For effective and efficient network it should meet the
following.
Performance
Reliability
Security
Network Classification
Based on topology
• Bus
• Ring
• Star
• Mesh
OSI Layers
(Open System Interconnection)
OSI Model – History, Origin, Purpose
Introduced in 1974 by ISO, that covers all aspects of network
Communications is the open systems Interconnections model .
A
Amit
P
Prasad
Sharat S
Tiwari T
Nandu N
Dheeraj D
Pradeep P
OSI Layers
OSI Model Layers
OSI Layers
Layer - 7 Application
Application
Upper Layer
Layer - 6 Presentation
Presentation or
Software Layer
Layer - 5 Session
Session
Layer - 3 Network
Network
Lower Layer
Layer - 2 Data
DataLink
Link or
Hardware Layer
Layer - 1 Physical
Physical
14
Application Layers
Application Layer is responsible for
Application
Application
Application
Application providing Networking Services to user.
It also known as Desktop Layer.
Presentation Identification of Services is done using
Presentation
Port Numbers.
Session
Session
Ports are nothing but Socket i.e. Entry
and Exit Point to the Layer
Transport
Transport
Total No. Ports 0 – 65535
Network
Network Reserved Ports(TCP/IP)
Well known ports 0 –
Data
DataLink
Link 1023
Registered Ports 1024 – 49151
Physical
Physical Open Ports 49152 -
65535
15
How data flows through Application Layer
from Application Layer
Application
Application Data
80 21 25 53 67 69
Presentation
Presentation
Session
Session
Transport
Transport
Network
Network
Data
DataLink
Link
Physical
Physical
16
Port numbers & Services
HTTP 80
FTP 21
SMTP 25
TELNET 23
TFTP 69
HTTPS 443
17
Presentation Layer
Application
Application Data
Presentation
Presentation Data
Session
Session
Transport
Transport
Network
Network
Data
DataLink
Link
Physical
Physical
19
Session Layer
Network
- Authentication
Network
- Authorisation
Data
DataLink
Link
Physical
Physical
20
How data flows through Session Layer
Application
Application Data
Presentation
Presentation Data
Session
Session Data
Transport
Transport
Network
Network
Data
DataLink
Link
Physical
Physical
21
Transport Layer
Physical
Physical
Sequencing & Reassembling
Flow Control
Error Correction 22
Transport Layer
Application
Application Data
Presentation
Presentation Data
Session
Session Data
Transport TH Data
Segment
Transport
Network
Network
Data
DataLink
Link
Physical
Physical
24
OSI Layers
Multiplexing & De-multiplexing
Transport Layer Protocols with port numbers
Application
Application
Presentation
Presentation
Session
Session
80 21 25 53 67 69
Transport
Transport
TCP - 6 UDP - 17
Network
Network
Data
DataLink
Link
Physical
Physical
25
OSI Layers
Identifying Service
Transport Layer Protocols
TCP UDP
Transmission Control Protocol
User Datagram Protocol
Connection Oriented
Connection less
Acknowledgement
No Acknowledgement
Reliable
Unreliable
Slower
Faster
Port No. 6
Port No. 17
e.g. HTTP, FTP, SMTP
e.g. DNS, DHCP, TFTP
26
Network Layer
Network Layer
Network Layer is responsible for
Application
Application
providing best path to data to reach
Presentation
Presentation destination. Logical Addressing sits
on this layer. Device working on
Session
Session Network Layer is Router.
Transport
Transport
Functions:
Logical addressing
Network
Network
Network
Network
Routing
Data
DataLink
Link Path determination
Physical
Physical
Routing Protocols
e.g. RIP, IGRP, OSPF, EIGRP
27
Network Layer
Logical addressing.
Application
Application Data
Presentation
Presentation Data
Session
Session Data
Network
Network NH Segment
Packet
Data
DataLink
Link
Physical
Physical
29
Datalink Layer
Datalink Layer
Transport
Transport
MAC – Media Access Control
Network
Network
It talks about Physical Address.
It is 48 bit Addressing
Data
DataLink
Data
Data Link
Link
Link
i.e. 12 digit Hexadecimal Number.
Physical
Physical Device working on Data Link Layer is
Switch, Bridge, NIC.
30
Datalink Layer
Access to Media
Application
Application Data
Presentation
Presentation Data
Session
Session Data
Transport
Transport Segment
Data
DataLink
Link DH Packet DT
Frame
Physical
Physical
32
Physical Layer
Physical Layer
33
Physical Layer
Application
Application Data
Presentation
Presentation Data
Session
Session Data
Transport
Transport Segment
Network
Network Packet
Physical
Physical Bits
35
OSI Layers
How data& transmits
Data Encapsulation from
De-capsulation source to
destination using OSI layer
A B
Presentation
Presentation Data Data Presentation
Presentation
Session
Session Data Data Session
Session
Transport
Transport
TH Data
Segment Segment
TH Data Transport TH
Transport
Network
Network NH Segment
Packet NH
PacketSegment Network
Network NH
Data DH Packet
Frame DT DT Packet
Frame DH
Packet Link DH
DT
DataLink
Link DataLink
Data
Physical
Physical Bits Bits Physical
Physical
36
OBJECTIVES OF LAYERS
Summary of OSI layers
Application
Application Virtual terminal SW for user appl. and services
Presentation
Presentation Syntax and Semantics
Session
Session Manages timings and dialogs (Synchronization)
Transport
Transport Splits data and passes to NW layer
Network
Network Controls subnet and does Routing
Data
DataLink
Link Checks access ,data and frames
Physical
Physical Raw data or Binary transmission
38
OSI Layers
Comparing OSI with TCP/IP Layers
OSI & TCP / IP Layers
Application
Application
Presentation
Presentation Application
Application
Session
Session
Transport
Transport Transport
Transport
Network
Network Internet
Internet
Data
DataLink
Link Network
Network
Access
Access
Physical
Physical
39
TCP/IP CONCEPTS
TCP/IP
TCP/IP is basically a protocol suit which consists of two protocols TCP and IP.
It is also referred to as a protocol stack i.e. a group of protocols that all
work together to allow software or hardware to perform a function. It uses
four layers that map to the OSI model as follows:
WHY TCP/IP A SUITE FOR INTERNET ?
ETHERNET
Ethernet is a communication method that has an
extremely wide installation base.
In 1973 the first Ethernet frame was transmitted.
The IEEE defined the standards for this method in the
802.3 Ethernet standard.
It is a layer 1 and 2 function that handles hardware
addressing, and error checking. It also informs the
receiver what layer 3 protocol is in use inside the
frame.
TCP/IP, ICMP, ARP, IPX, and other protocols are
encapsulated in Ethernet frames, but they are not a
part of the specification.
44
ETHERNET DETAILS
Ethernet Frame
MAC Addressing
Frame Check Sequence
OSI and Framing
Errors
CRC Errors
Late Collisions
CSMA/CD
Auto-Negotiation
Full Duplex
Half Duplex
45
Ethernet - Principle
A B N
ETHERNET FRAME
47
FRAME LENGTH
48
IP Addressing
OBJECTIVE
Structure of an IP address
Classful IP addresses
Limitations and problems with classful
IP addresses
Subnetting
CIDR
IP Version 6 addresses
WHAT IS AN IP ADDRESS?
An IP address is a unique global
address for a network interface
An IP address:
- is a 32 bit long identifier
- encodes a network number
(network prefix) and a host
number
IP ADDRESS PURPOSE
IPv4 Address / History
IPv4 was introduced in 1981
It was designed with 32 bits
Total number of IPv4 addresses are 232 (4.2 billion)
It is represented as octet form.
During 1980s, very few Companies/Organizations had
computer networks, Internet came into existence later
on
As more companies & organizations started building
networks and Internet started to grow the need for
IPv4 addresses to grow
IPV-4 CHALLENGE
IP Address allocation / IANA
IANA (Internet Assigned Numbers Authority)
www.iana.org allocates IPs (both IPv4 & IPv6) to RIR
(Regional Internet Registry)
These RIRs will further distribute the IPs to NIR (National
Internet Registry)
These NIRs will further distribute the IPs to LIR (Local
Internet Registry)
These LIRs will further distribute the IPs to ISP (Internet
Service Provider)
ISPs in turn will provide the IPs to end users/companies/
organizations
Regional Internet Registry (RIRs)
IPV-4
IPV-4 ADDRESS RANGE
IP ADDRESS CLASSIFICATION
PRIORITY BITS
CLASS A RANGE
CLASS B RANGE
CLASS C RANGE
CLASS D RANGE
CLASS E RANGE
OCTET FORMAT
CLASS A NET WORK NOS. AND HOSTS
CLASS B NET WORK NOS. AND HOSTS
CLASS C NET WORK NOS. AND HOSTS
EXAMPLE CLASS –A
SUBNET MASK – EXAMPLE
PRIVATE IP ADDRESS
PUBLIC IP ADDRESS V/ S PRIVATE IP ADDRESS
SWITCHING
COLLISION DOMAIN
.
BROADCAST DOMAIN:
Conditions:
1. They should belong to the same VLAN.
SWITCHES
STAT
UTIL 2
DUPLEX
SPEED
STAT
UTIL 2
DUPLEX
SPEED
` `
Switching Table
MAC Output
Address Interface
Destination
0002.ABCD.EF12 AAAA.1111.BBBB Ethernet 10
3215.2511.AFFC Ethernet 5
0001.2345.6789 Ethernet 0
LAN Frame Packet 3005.6798.AA05 Ethernet 0
0002.ABCD.EF12 Ethernet 6
Switching E6
E0 0005.3ADB.1112 Ethernet 6
IP Address: 1.1.1.1
IP Address: 1.1.1.2
MAC Address:
0001.2345.6789 MAC Address:
0002.ABCD.EF12
Why Layer-3
switches?
• Traffic of LAN is no longer
local
• Speed of LAN is much
faster
• Need a much faster router,
however, very expensive 81
DIFFERENCE L-2 VS L-3 SWITCH
L-2 L-3
Functions at the network
A switching layer.
hub that A switch that performs multi
operates at a port V LAN and data
data link layer pipelining functions of a
standard L–2 switch.
and builds But can perform basic
table of MAC routing functions between
address of all virtual LANs.
the connected
Provides routing at
switching speeds.
stations. They are programmable
Switches the and have console ports.
Types of Switches
• Manageable switches
On a Manageable switch an IP address can be assigned and
• Unmanageable switches
On an Unmanageable switch configurations cannot be made,
83
Switch features: Auto Negotiation
Switch
1 3 5 7 9 11 13 15 17 19 21 23 CATALYST 3550
1 2
SYSTEM
RPS
STAT
UTIL
DUPLEX
SPEED 2 4 6 8 10 12 14 16 18 20 22 24
STAT
UTIL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
CATALYST 3550
1
2
DUPLEX
SPEED
` ` ` `
FLASH
IOS
IOS found
found in
in Flash
Flash
Loading
Loading IOSIOS
NVRAM
NVRAM
NVRAM configuration
configuration copied
copied into
into
RAM
RAM
RAM
Flash
Flash contacts
contacts the
the NVRAM
NVRAM
For
For Configuration
Configuration File
File
2601 Model Router
29
Router LAN Interface Connection
An
An IP
IPaddress
address needs
needs to
to be
beassigned
assignedto
to this
this interface
interfaceand
anditit
should
shouldbebein
inthe
thesame
samenetwork
networkasasof
ofthe
theLAN.
LAN.
E0
Straight Cable
192.168.1.150/24
Straight Cable
LAN - 192.168.1.0/24
93
DEFAULT GATEWAY
Default gateway
Devices on a network must
be configured with a
default gateway. This is
Subnet 192.168.1.0
the address of a router on
that network.
Packets intended for ` ` `
devices on different
networks must be sent to
the default gateway. It is ` `
What is Routing?
Routing is the act of moving information across an
internetwork from a source to a destination.
Along the way, at least one intermediate node typically is
encountered.
Routing involves two basic activities:
Determining optimal or best routing paths
Transport or delivery of packets to the destination.
(Switching)
Static Dynamic
10-15 Routers.
2
Default Routing
unknown destinations.
are unknown.
2
Types of Dynamic Routing Protocols
• Hybrid Protocol
5
DISTANCE VECTOR PROTOCOL
Each router receives the routing table
from its neighboring router.
Router discovers the best path based
on accumulated metrics from each
neighbor.
Does not allow a router to know about
the exact topology of the network.
Metric values vary from 1 to 15.
Example is RIP.
Distance Vector Protocol
• Periodic updates
• Example: RI P, I GRP
6
Routing I nformation Protocol
counts
• Slow convergence
12
LINK STATE PROTOCOL
Uses same link state updates.
Keeps track of neighbors.
For every change in link state database,the
algorithm recalculates the best path
&updates the routing table.
Every router takes the topology change in
account dynamically
Upper limit is 65,535.Can accommodate vast
NW.
LSP routing advertisements are broadcast
much less often,only when change is
detected.
Link State Protocol
7
Open Shortest Path First
• Successor of RI P
algorithm
2
OSPF (contd..)
• Faster Convergence
• Router I D
Neighbor Table
Database table
• Example : EI GRP
8
SUBNETTING
Problem:
Organizations have University
UniversityNetwork
Network
multiple networks
which are Engineering Medical
School
independently School
managed
Solution 1: Allocate a separate Library
network address for each
network
Difficult to manage
From the outside of the
organization, each network
must be addressable.
Add another
Solution 2: Subnetting
level of hierarchy to the
IP addressing structure
ADDRESS ASSIGNMENT WITH SUBNETTING
Each part of the organization is allocated a range of IP addresses
(subnets or subnetworks)
Addresses in each subnet can be administered locally
128.143.0.
0/16
University
UniversityNetwork
Network
128.143.121.0
/24
BASIC IDEA OF SUBNETTING
Split the host number portion of an IP address
into a subnet number and a (smaller) host
number.
Result is a 3-layer hierarchy
network prefix host number
Then:
Subnets can be freely assigned within the organization
Internally, subnets are treated as separate networks
Subnet structure is not visible outside the organization
SUBNETMASK
Routers and hosts use an extended network prefix
(subnetmask) to identify the start of the host numbers
128.143 137.144
1111111111111111 1111111100000000
subnetmask
128.143.70.0/16
WITH SUBNETTING
Hosts with same extended network
prefix belong to the same network
128.143.137.0/24 128.143.71.0/24
Subnet Subnet
128.143.0.0/16
WITH SUBNETTING
Different subnetmasks lead to different
views of the size of the scope of the
network
128.143.137.32/26 128.143.137.144/26 128.143.71.21/24 128.143.71.201/16
subnetmask: 255.255.255.192 subnetmask: 255.255.255.192 subnetmask: 255.255.255.0 subnetmask: 255.255.0.0
128.143.71.0/24
128.143.137.0/26 128.143.137.128/26
Subnet
Subnet Subnet
128.143.0.0/16
PROBLEMS WITH CLASSFUL IP
ADDRESSES
Flat address space. Routing tables on the
backbone Internet need to have an entry for each
network address. When Class C networks were
widely used, this created a problem. By the 1993,
the size of the routing tables started to outgrow the
capacity of routers.
Too few network addresses for large networks
Class A and Class B addresses were gone
addresses)
Class C address is insufficient (requires 40 Class
C addresses)
CIDR - CLASSLESS INTERDOMAIN ROUTING
Goals:
New interpretation of the IP address space
Restructure IP address assignments to increase efficiency
Permits route aggregation to minimize route table entries
becomes 128.143.137.144/24
• DIVISION – 192.168.1.0/24
– S&T
– ENG
– ELECT
– MECH
– ACCOUNTS
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2 Req. of Subnet
= 23 – 2 5 (-2 is for First & Last Subnet Range)
= 8–2
= 6 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 25 – 2
= 32 – 2
= 30 Hosts/Subnet
HELP
FLSM (Continued…)
64
32
8
12
255.255.255.224
255.255.255.224
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range x
192.168.1.0 192.168.1.31
192.168.1.32 to 192.168.1.63.
192.168.1.32 to 192.168.1.63.
192.168.1.32 192.168.1.64192.168.1.63
to192.168.1.95
192.168.1.95
192.168.1.64 to
192.168.1.64 192.168.1.96192.168.1.95
to192.168.1.127
192.168.1.127
192.168.1.96 to
192.168.1.127
192.168.1.96 192.168.1.128 to192.168.1.159
192.168.1.159
192.168.1.128 to Valid Subnets
192.168.1.159
192.168.1.128192.168.1.160 to192.168.1.191
192.168.1.191
192.168.1.160 to
192.168.1.191
192.168.1.160192.168.1.192 to192.168.1.223
192.168.1.223
192.168.1.192 to
192.168.1.192 192.168.1.223
192.168.1.224 192.168.1.255 x
Assigning of the Ranges
A DIVISION
– S&T 192.168.1.32 – 1.63/27
– ENG 192.168.1.64 – 1.95/27
– PWAY
– WORKS
– MECH 192.168.1.96 – 1.127/27
– CARRIAGE
– WAGON
– TXR
– LOCO
– WORK SHOP
– ELECT 192.168.1.128 – 1.159/27
– TRAIN LIGH
– TRACTION
– SUB STN
– ACCOUNTS
192.168.1.160 – 1.191/27
Calculation of VLSM for CISCO Dept.
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.64
• No. of Subnet
= 2n Req. of Subnet
= 21 2
= 2
= 2 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 24 – 2
= 16 – 2
= 14 Hosts/Subnet
HELP
VLSM (Continued…)
64
32
16
8
12
255.255.255.240
255.255.255.240
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
192.168.1.64 192.168.1.64
– 192.168.1.79
to192.168.1.79
192.168.1.79
192.168.1.64 to
192.168.1.80 –192.168.1.80
192.168.1.95
to 192.168.1.95 Valid Subnets
192.168.1.80 to 192.168.1.95
Assigning of the Ranges
DIV.HQ
– S&T 192.168.1.32 – 1.63/27
– ENG 192.168.1.64 – 1.95/27
– PWAY 192.168.1.64 – 1.79/28
– WORKS 192.168.1.80 – 1.95/28
– MECH 192.168.1.96 – 1.127/27
– CARRIAGE
– WAGON
– TXR
– LOCO
– WORK SHOP
– ELECT 192.168.1.128 – 1.159/27
– TRAIN LIGH
– TRACTION
– SUB STN
– ACCOUNTS
192.168.1.160 – 1.191/27
Calculation of VLSM for Firewall Dept.
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.96
• No. of Subnet
= 2n Req. of Subnet
= 23 5
= 8
= 8 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 22 – 2
= 4–2
= 2 Hosts/Subnet
HELP
VLSM (Continued…)
8
4
64
32
16
8
12
255.255.255.252
255.255.255.252
• Range of Networks
Network ID SubnetRange
Broadcast
Subnet Range
ID
192.168.1.96
192.168.1.96 192.168.1.96
– to192.168.1.99
192.168.1.99
192.168.1.99
to
192.168.1.100
192.168.1.100 –
192.168.1.100 to192.168.1.103
192.168.1.103
192.168.1.103
to
192.168.1.104
192.168.1.104 –
192.168.1.104 to192.168.1.107
192.168.1.107
192.168.1.107
to
192.168.1.108
192.168.1.108 –
192.168.1.108 to192.168.1.111
192.168.1.111
192.168.1.111
to Valid Subnets
192.168.1.112
192.168.1.112 –
192.168.1.112 to192.168.1.115
192.168.1.115
192.168.1.115
to
192.168.1.116
192.168.1.116 –
192.168.1.116 to192.168.1.119
192.168.1.119
192.168.1.119
to
192.168.1.120
192.168.1.120 –
192.168.1.120 to192.168.1.123
192.168.1.123
192.168.1.123
to
192.168.1.124
192.168.1.124 to192.168.1.127
– Subnetting
192.168.1.124 192.168.1.127
192.168.1.127
to
Assigning of the Ranges
DIVISION
– S&T 192.168.1.32 – 1.63/27
– ENG 192.168.1.64 – 1.95/27
– PWAY 192.168.1.64 – 1.79/28
– WORKS 192.168.1.80 – 1.95/28
– MECH 192.168.1.96 – 1.127/27
– CARRIAGE 192.168.1.96 – 1.99/30
– WAGON 192.168.1.100 – 1.103/30
– TXR 192.168.1.104 – 1.107/30
– LOCO 192.168.1.108 – 1.111/30
– WORK SHOP 192.168.1.112 – 1.115/30
– ELECT 192.168.1.128 – 1.159/27
– TRAIN LIGH
– TRACTION
– SUB STN
– ACCOUNTS
192.168.1.160 – 1.191/27
Calculation of VLSM for Solaris Dept.
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.128
• No. of Subnet
= 2n Req. of Subnet
= 22 3
= 4
= 4 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 23 – 2
= 8–2
= 6 Hosts/Subnet
HELP
VLSM (Continued…)
8
64
32
16
8
12
255.255.255.248
255.255.255.248
• Range of Networks
Network ID SubnetRange
Broadcast
Subnet Range
ID
192.168.1.128
192.168.1.128 –
192.168.1.128 to192.168.1.135
192.168.1.135
192.168.1.135
to
192.168.1.136
192.168.1.136 –
192.168.1.136 to192.168.1.143
192.168.1.143
192.168.1.143
to
192.168.1.144
192.168.1.144 –
192.168.1.144 192.168.1.151Valid Subnets
to192.168.1.151
192.168.1.151
to
192.168.1.152
192.168.1.152 –
192.168.1.152 to192.168.1.159
192.168.1.159
192.168.1.159
to
Assigning of the Ranges
DIVISION
– S&T 192.168.1.32 – 1.63/27
– ENG 192.168.1.64 – 1.95/27
– PWAY 192.168.1.64 – 1.79/28
– WORKS 192.168.1.80 – 1.95/28
– MECH 192.168.1.96 – 1.127/27
– CARRIAGE 192.168.1.96 – 1.99/30
– WAGON 192.168.1.100 – 1.103/30
– TXR 192.168.1.104 – 1.107/30
– LOCO 192.168.1.108 – 1.111/30
– WORK SHOP 192.168.1.112 – 1.115/30
– ELECT 192.168.1.128 – 1.159/27
– TRAIN LIGH 192.168.1.128 – 1.135/29
– TRACTION 192.168.1.136 – 1.143/29
– SUB STN
192.168.1.144 – 1.51/29
– ACCOUNTS
192.168.1.160 – 1.191/27
EXTERNAL WAN ROUTER 192.168.1.0/24
1.32/27 1.160/27
1.64/28 1.136/29
1.96/27
1.79/28 1.128/29
1.96/30 1.112/30
1.100/30 1.108/30
1.104/30
Subnetting
1
5
3
Q.1 GIVEN AN CLASS-B IP
ADDRESS 130.5.2.144, YOU
HAVE PURPOSELY SUB NETTED
IT BY BORROWING 8 BITS FROM
HOST. NOW TELL ME THIS IP NO.
BELONGS TO WHICH SUBNET ,ITS
SIZE AND WHAT IS ITS SUBNET
MASK ?
SOLUTION FOR SUBNET, SIZE
&MASK
Ethernet Header IPv6 Header TCP Header Application data Ethernet Trailer
Ethernet frame
IPV6 VS. IPV4: ADDRESS
COMPARISON
IPv4 has a maximum of
232 4 billion addresses
IPv6 has a maximum of
2128 = (232)4 4 billion x 4 billion x 4 billion
x 4 billion addresses
NOTATION OF IPV6 ADDRESSES
Convention: The 128-bit IPv6 address is written
as eight 16-bit integers (using hexadecimal
digits for each integer)
CEDF:BP76:3245:4464:FACE:2E50:3025:DF12
Short notation:
Abbreviations of leading zeroes:
CEDF:BP76:0000:0000:009E:0000:3025:DF12
CEDF:BP76:0:0:9E :0:3025:DF12
“:0000:0000:0000” can be written as “::”
CEDF:BP76:0:0:FACE:0:3025:DF12 CEDF:BP76::FACE:0:3025:DF12
IPv6 addresses derived from IPv4 addresses have 96 leading zero bits.
Convention allows to use IPv4 notation for the last 32 bits.
::80:8F:89:90 ::128.143.137.144
IPV6 PROVIDER-BASED ADDRESSES
The first IPv6 addresses will be allocated to a provider-
based plan
Type Registry Provider Subscriber Subnetwork Interface
010 ID ID ID ID ID