Professional Documents
Culture Documents
&
IP Addressing
D C Sonkhla
DE (MPLS), BRBRAITT
dcsonkhla@bsnl.co.in
dcsonkhla@yahoo.com
919425800989
AGENDA
Introduction to data communication
Packet Switching Network
IP Addressing
Introduction
Data communication:
The process of sending data between two devices via
some transmission medium.
Data communication is said to be local if the
communicating devices are in the same building
Data communication is considered remote if the devices
are farther apart.
Step 1
Step 2
Step 3
Protocol
Protocol
Message
Medium
Sender
Receiver
Delivery
Accuracy
Timeliness
Delivery:
The system must deliver the data to the correct destination.
Accuracy:
The delivery of data must be accurate.
Timeliness :
Deliver the data as exactly the same and deliver it in timely
manner.
For circulation to CTO Trainees only
Performance
Reliability
Security
Protocols
A common language that both Sender and Receiver agree
upon and communicate.
OK ,I can
Understand
French
Protocols
Protocol
What to
communicate ?
How to
communicate ?
When to
communicate ?
Protocols
Key Elements of a
Protocol
Syntax
Semantics
Timing
When data should be sent
and how fast ?
Standards
Essential for interconnection of different equipments from different
vendors for proper and effective Data transfer.
Standards
De facto
(By Facts)
De jure
(By Law)
Signals
Signals are electric or electromagnetic representations
of data.
Data are propagated from one point to another by
means of electrical signals.
Signalling
Signalling is the physical propagation of the signal along
a suitable medium.
Decoding:
The conversion of an encoded format back into the
original form.
For circulation to CTO Trainees only
Type of Transmission
Data Transmission
Analog
Transmission
Digital
Transmission
Serial
Asynchronous
Parallel
Synchronous
Asynchronous Transmission
Transmits the characters one at a time, with start bit (0)
& stop bits (1 s) at the end of each byte.
There may be a gap between bytes.
Asynchronous transmission is very slow.
The advantage of asynchronous transmission is that it is
simple and inexpensive.
Synchronous Transmission
The entire message is sent in an even flow.
The bits are sent one after another without start/stop
bits or gaps.
The receiver counts the bits as they arrive and group
them in eight bit units.
Synchronization is maintained by a clock signal on a
separate wire or modulated on the data signal extracted
Transmission Media
The medium which carries the signal from the sender to the
receiver.
Transmission Media
Guided Media
Twisted Pair
Coaxial
Unguided Media
Optic Fiber
UV
Radio Frequency
Microwave
Coaxial Cable
Point to point
Mode of Transmission
Mode Of Transmission
Simplex
Half Duplex
Full Duplex
digital data.
Computers and terminals are usually DTE
Handshaking
Handshaking is a way to control the flow of data
between connected units.
Interfaces
The interfaces has four characteristics
Mechanical characteristics
The physical Characteristics pertain to the
physical connection (Physical Appearance)
Electrical characteristics
Deals with the voltage levels and timing of
the voltage changes.
These characteristic determine the data rate
and distances that the data can reach.
Interfaces
Functional characteristics
Specify the functions that are performed by
each of the interface
Procedural characteristics
specify the sequence
transmitting data.
of
events
for
Introduction
Switching technique is used for communication
of information from one end to other end.
A switched Network consists of interlinked nodes
called Switches
Switches are Hardware or Software devices
capable
of
creating
temporary
connections
Type of Switching
Switching
Circuit
Switching
Packet
Switching
Message
Switching
Circuit Switching
Dedicated connection path is created between
the source and destination.
Designed for the real time applications.
Communication path is not shareable.
Communication path is under utilized.
Message Switching
Whether a person is available or not, it is sent.
Not real time
Telegram Systems SFT(Store & Forward
Telegraph, 16 bit), SFMSS (Store & Forward
Packet Switching
Data are made
transmitting.
into
packets
before
that
A
packet-switched
network
is
an
interconnected set of networks that are joined
by routers.
For circulation to CTO Trainees only
Packet Switching
Routers in the network read destination
address and forward packets along the most
appropriate path to that destination.
The transmission bandwidth is dynamically
allocated
Permitting many users to share the same
transmission line.
Packet Switching
Virtual Circuit
Approach
(Connection Oriented)
Datagram
Approach
(Connectionless)
Advantages
The packets are forwarded independent of
other packets.
IP ADDRESSING
AGENDA
Introduction
Dotted Decimal Notation
Hierarchical Addressing
IPv4 address classes
What is an IP Address
IP Address is Internet Protocol Address
IP was first standardized in September 1981.
It is an unique identifier for a node or a host
in an IP Network.
An Internet address works like a postal
address, allowing data to be routed to the
chosen destination.
What is an IP Address
There are two versions
IPV4 (Now in use) 32 Bits
IPV6 (Yet to be implemented) 128 Bits
Introduction
IP - is Internet Protocol & is responsible for :
Moving packet of data from node to node.
IP forwards each packet based on a four-byte destination
address (the IP address).
Introduction
Every host and router on the internet has an IP
.179
.220
.200
Hierarchical addressing
For a protocol to be Routable, its structure must
be hierarchical, i.e. every IP address must consists
of at least two parts, one identifying the network
and one identifying the host.
A host is an end station viz a computer
workstation, a router or a printer, whereas a
network consists of one or more hosts.
The Class of the address and the (subnet) mask
determine which part belongs to the network
address and which part belongs to the host
address.
Hierarchical addressing
In decimal the
255.255.255.255
Class-A:
Class-B:
Class-C:
Class-D:
For Multicast
Class-E:
For Research
10
110
1110
1111
Host Address
8 Bits
8 Bits
8 Bits
00000000
01111111
0-127
10000000
10111111
128-191
11000000
11011111
192-223
11100000
11101111
224-239
11110000
11111111
240-255
Class-A address
0nnnnnnn
hhhhhhhh
Network
hhhhhhhh
hhhhhhhh
Host
Class-A address
No Host ID can have all zeros i.e. 0.0.0
(network address) & all ones i.e. 255.255.255
(broadcast address).
Number of
2=16777214
Hosts
per
network=
224
Class-B address
10nnnnnn
nnnnnnnn
hhhhhhhh
Network
10
hhhhhhhh
Host
Class-B address
10nnnnnn
nnnnnnnn
hhhhhhhh
Network
10
hhhhhhhh
Host
Class-C address
110nnnnn
nnnnnnnn
nnnnnnnn
Network
110
hhhhhhhh
Host
Class-C address
110nnnnn
nnnnnnnn
nnnnnnnn
hhhhhhhh
Network
110
Host
addresses
This address is assigned to a group of networks and not to
represent a unique address
Reserved (240.0.0.0-255.255.255.255)
For circulation to CTO Trainees only
Classfull IP Address
Class
Higher
Order Bit
Address
range
No
of No. of Hosts
Networks
Class A
0XXXXXXX
1 to 126
126
16,777,214
Class B
10XXXXXX
128 to 191
16384
65534
Class C
110XXXXX
192 to 223
2097152
254
Class D
1110XXXX
224 to 239
Multicasting
Class E
1111XXXX
240 to 254
Identifying Address
140.179.220.200 is a Class B address so by
default Network part is defined by the first two
octets (140.179.x.x) and the host part is defined by
the last 2 octets (x.x.220.200).
To specify the network address, set host section to
all "0"s. In our example, 140.179.0.0 specifies the
network address for 140.179.220.200.
Identifying Address
When the host section is set to all "1"s, it specifies a
broadcast that is sent to all hosts on the network.
B-25%
10111111
191
192
11000000
C-12.5%
1
0
11011111
D-6.25%
E-6.25%
223
A-50%
1
1
1
224
11100000
0
239
11101111
240
255
11110000 11111111
00000000
0
100%
IPv6
To meet the continual growth of the Internet ,IETF
has proposed a set of specifications commonly known
as the next generation IP protocol (IPng or IPv6).
IPv6 increases the address size from 32 bits to 128
bits, supporting up to 3.4X1038 nodes.
Advantages
Bigger address space
The bigger address space IPv6 offers is the
most obvious enhancement over IPv4.
Allows full, unconstrained IP connectivity for
today's
IP based machines
Upcoming mobile devices like PDAs and cell
phones
All will benefit from full IP access through
GPRS and UMTS.
Advantages
Mobility
To support Mobility a special protocol called
"Mobile IP" is required for every IPv6 stack.
IPv6 supports for roaming between different
networks, with global notification when you
leave one network and enter the other one.
Advantages
Security
IPv6 protocol stacks are required to include IPsec.
Policies can be set on a per host (or even pernetwork) basis, not per application/service.
For circulation to CTO Trainees only
Advantages
Stateless auto configuration of hosts
Multicast
Jumbo grams
Network layer security
a) Unicast
b) Multicast
c) anycast