SlideShare a Scribd company logo
Unit-IV
Network Switching Techniques: Circuit, Message,
Packet and Hybrid Switching Techniques.X.25, ISDN.
Logical Addressing, Ipv4, Ipv6, Address Mapping, ARP,
RARP, BOOTP and DHCP, User Datagram Protocol,
Transmission Control Protocol, SCTP.
Click to add text
Introduction
• A network is a set of connected devices.
• Whenever we have multiple devices, we have the problem of how
to connect them to make one-to-one communication possible.
• One solution is to make a point-to-point connection between each
pair of devices (a mesh topology) or between a central device and
every other device (a star topology).
• These methods, however, are impractical and wasteful when
applied to very large networks.
• The number and length of the links require too much
infrastructure to be cost-efficient, and the majority of those links
would be idle most of the time.
• A better solution is switching.
Switching
• A switched network consists of a series of interlinked nodes,
called switches.
• Switches are devices capable of creating temporary
connections between two or more devices linked to the switch.
• In a switched network, some of these nodes are connected to
the end systems (computers or telephones). Others are used
only for routing.
• Figure shows a switched network.
Switched Network
The end systems (communicating devices) are labeled A, B, C, D, and so on, and the
switches are labeled I, II, III, IV, and V.}
Key Points
• Switching is the generic method for establishing a path for
point-to-point.
• It involves the nodes in the network utilizing their direct
communication lines to other nodes.
• Each node has the capability to switch to a neighboring node.
• One of the most important functions of the network layer is to
employ the switching capability of the nodes in order to route
messages across the network.
• There are three basic methods of switching: circuit switching,
packet switching and message switching.
Taxonomy of Switched Networks
CIRCUIT-SWITCHED NETWORKS
• A circuit-switched network consists of a set of switches
connected by physical links.
• A connection between two stations is a dedicated path made of
one or more links. However, each connection uses only one
dedicated channel on each link. Each link is normally divided
into n channels by using FDM or TDM.
• Circuit switching takes place at the physical layer.
• Before starting communication, the stations must make a
reservation for the resources to be used during the
communication. These resources, such as channels, switch
buffers, switch processing time, and switch input/output ports,
must remain dedicated during the entire duration of data
transfer until the teardown phase.
Circuit-Switched Network
Example
• Let us use a circuit-switched network to connect eight
telephones in a small area. Communication is through 4-kHz
voice channels. We assume that each link uses FDM to
connect a maximum of two voice channels. The bandwidth of
each link is then 8 kHz. Figure shows the situation.
• Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4
to 6. Of course the situation may change when new
connections are made. The switch controls the connections.
Circuit-Switched Network used in
Example
Communication Process Steps
• Setup Phase: Before the two parties (or multiple parties in a
conference call) can communicate , a dedicated circuit
(combination of channels in links) needs to be established. The
end systems are normally connected through dedicated lines
to the switches, so connection setup means creating dedicated
channels between the switches.
• Data Transfer Phase: After the establishment of the dedicated
circuit (channels), the two parties can transfer data.
• Teardown Phase: When one of the parties needs to disconnect,
a signal is sent to each switch to release the resources.
Advantages of Circuit Switching
• The main advantage of circuit switching is that a committed
transmission channel is established between the computers
which gives a guaranteed data rate.
• In circuit switching there is no delay in data flow because of
the dedicated transmission path.
Disadvantages of Circuit Switching
• It takes long time to establish connection.
• More bandwidth is required in setting up of dedicated
channels.
• It cannot be used to transmit any other data even if the channel
is free as the connection is dedicated in circuit switching.
Packet Switching
• In data communications, we need to send messages from one
end system to another. If the message is going to pass through
a packet-switched network, it needs to be divided into packets
of fixed or variable size.
• The size of the packet is determined by the network and the
governing protocol
• In a packet-switched network, there is no resource reservation;
resources are allocated on demand.
Advantage of Packet Switching over
Circuit Switching
• More efficient in terms of bandwidth, since the concept of
reserving circuit is not there.
• Minimal transmission latency.
• More reliable as destination can detect the missing packet.
• More fault tolerant because packets may follow different path
in case any link is down, Unlike Circuit Switching.
• Cost effective and comparatively cheaper to implement.
Disadvantage of Packet Switching
over Circuit Switching
• Packet Switching don’t give packets in order, whereas Circuit
Switching provides ordered delivery of packets because all the
packets follow the same path.
• Since the packets are unordered, we need to provide sequence
numbers to each packet.
• Complexity is more at each node because of the facility to
follow multiple path.
• Transmission delay is more because of rerouting.
• Packet Switching is beneficial only for small messages, but for
bursty data (large messages) Circuit Switching is better.
Click to add text
Delays in Packet switching
• Transmission Delay
• Propagation Delay
• Queuing Delay
• Processing Delay
DATAGRAM NETWORKS
• In data communications, we need to send messages from one
end system to another.
• In a datagram network, each packet is treated independently of
all others. Even if a packet is part of a multipacket
transmission, the network treats it as though it existed alone.
• Packets in this approach are referred to as datagram's.
• Datagram switching is normally done at the network layer.
• The switches in a datagram network are traditionally referred
to as routers.
Example
•In this example, all four packets (or datagrams) belong to the same message, but may
travel different paths to reach their destination.
•This is so because the links may be involved in carrying packets from other sources and
do not have the necessary bandwidth available to carry all the packets from A to X.
•The datagram networks are sometimes referred to as connectionless networks. The term
connectionless here means that the switch (packet switch) does not keep information
about the connection state.
•There are no setup or teardown phases. Each packet is treated the same by a switch
regardless of its source or destination.
VIRTUAL-CIRCUIT NETWORKS
• A virtual-circuit network is a cross between a circuit-switched
network and a datagram network.
• It has some characteristics of both:
1. As in a circuit-switched network, there are setup and teardown
phases in addition to the data transfer phase.
2. Resources can be allocated during the setup phase, as in a
circuit-switched network, or on demand, as in a datagram
network.
3. As in a circuit-switched network, all packets follow the same
path established during the connection.
4. A virtual-circuit network is normally implemented in the data
link layer, while a circuit-switched network is implemented in
the physical layer and a datagram network in the network
layer.
Message Switching
• Message switching was a technique developed as an alternate
to circuit switching, before packet switching was introduced.
• In message switching, end users communicate by sending and
receiving messages that included the entire data to be shared.
• Messages are the smallest individual unit.
• The sender and receiver are not directly connected. There are a
number of intermediate nodes transfer data and ensure that the
message reaches its destination.
• Message switched data networks are hence called hop-by-hop
systems.
Message Switching Characteristics
• They provide 2 distinct and important characteristics:
1. Store and forward – The intermediate nodes have the
responsibility of transferring the entire message to the next
node. Hence, each node must have storage capacity. A
message will only be delivered if the next hop and the link
connecting it are both available, otherwise it’ll be stored
indefinitely. A store-and-forward switch forwards a message
only if sufficient resources are available and the next hop is
accepting data. This is called the store-and-forward property.
2. Message delivery – This implies wrapping the entire
information in a single message and transferring it from the
source to the destination node. Each message must have a
header that contains the message routing information,
including the source and destination.
Message Switched Network
• Message switching network consists of transmission links
(channels), store-and-forward switch nodes and end stations as
shown in the following figure:
Advantages of Message Switching
• As message switching is able to store the message for which
communication channel is not available, it helps in reducing
the traffic congestion in network.
• In message switching, the data channels are shared by the
network devices.
• It makes the traffic management efficient by assigning
priorities to the messages.
Disadvantages of Message Switching
• Message switching cannot be used for real time applications as
storing of messages causes delay.
• In message switching, message has to be stored for which
every intermediate devices in the network requires a large
storing capacity.
X.25
• X.25 is a protocol suite defined by ITU-T for packet switched
communications over WAN (Wide Area Network).
• It was originally designed for use in the 1970s and became
very popular in 1980s.
• Presently, it is used for networks for ATMs and credit card
verification.
• It allows multiple logical channels to use the same physical
line. It also permits data exchange between terminals with
different communication speeds.
X.25 has three protocol layers
• Physical Layer: It lays out the physical, electrical and
functional characteristics that interface between the computer
terminal and the link to the packet switched node. X.21
physical implementer is commonly used for the linking.
• Data Link Layer: It comprises the link access procedures for
exchanging data over the link. Here, control information for
transmission over the link is attached to the packets from the
packet layer to form the LAPB frame (Link Access Procedure
Balanced). This service ensures a bit-oriented, error-free, and
ordered delivery of frames.
X.25 has three protocol layers
• Packet Layer: This layer defines the format of data packets
and the procedures for control and transmission of the data
packets.
• It provides external virtual circuit service. Virtual circuits may
be of two types: virtual call and permanent virtual circuit.
• The virtual call is established dynamically when needed
through call set up procedure, and the circuit is relinquished
through call clearing procedure.
• Permanent virtual circuit, on the other hand, is fixed and
network assigned.
Switch networking
ISDN: (Integrated Services Digital Network)
• These are a set of communication standards for simultaneous digital
transmission of voice, video, data, and other network services over
the public switched telephone network.
• The main feature of ISDN is that it can integrate speech and data on
the same lines, which were not available in the classic telephone
system.
• ISDN is a circuit-switched telephone network system but it also
provides access to packet switched networks that allows digital
transmission of voice and data.
• This results in potentially better voice or data quality than an analog
phone can provide.
• It provides a packet-switched connection for data in increments of
64 Kbit/s. It provided a maximum of 128 Kbit/s bandwidth in both
upstream and downstream directions..
• The ISDN works based on the standards defined by ITU-T (formerly
CCITT). The Telecommunication Standardization Sector (ITU-T)
coordinates standards for telecommunications on behalf of the
International Telecommunication Union (ITU) and is based in
Geneva, Switzerland.
Principles of ISDN
The various principles of ISDN as per ITU-T recommendation
are:
• To support switched and non-switched applications
• To support voice and non-voice applications
• Intelligence in the network
• Layered protocol architecture
• Variety of configurations
ISDN
ISDN Services
ISDN provides a fully integrated digital service to users. These
services fall into 3 categories- bearer services, teleservices and
supplementary services.
Bearer Services:
• Transfer of information (voice, data and video) between users
without the network manipulating the content of that information is
provided by the bearer network.
• There is no need for the network to process the information and
therefore does not change the content.
• Bearer services belong to the first three layers of the OSI model.
They are well defined in the ISDN standard.
• They can be provided using circuit-switched, packet-switched ,etc
ISDN Services
Teleservices:
• In this the network may change or process the contents of the data.
• These services corresponds to layers 4-7 of the OSI model.
• Teleservices relay on the facilities of the bearer services and are
designed to accommodate complex user needs.
• The user need not to be aware of the details of the process.
• Teleservices include telephony, teletex, telefax, videotex and
teleconferencing.
Supplementary Service:
• Additional functionality to the bearer services and teleservices are
provided by supplementary services.
• Reverse charging, call waiting, and message handling are
examples of supplementary services which are all familiar with
today’s telephone company services.
Addressing
Four levels of addresses are used in an internet employing the
TCP/IP protocols:
• Physical (link) addresses,
• Logical (IP) addresses
• Port addresses
• Specific addresses
Switch networking
Physical Addresses
• The physical address, also known as the link address, is the
address of a node as defined by its LAN or WAN. It is
included in the frame used by the data link layer. It is the
lowest-level address.
• The size and format of these addresses vary depending on the
network.
• For example, Ethernet uses a 6-byte (48-bit) physical address
that is imprinted on the network interface card (NIC).
Logical Addresses
• Logical addresses are necessary for universal communications
that are independent of underlying physical networks.
• A logical address in the Internet is currently a 32-bit address
that can uniquely define a host connected to the Internet.
Port Addresses
• The IP address and the physical address are necessary for a
quantity of data to travel from a source to the destination host.
• arrival at the destination host is not the final objective of data
communications .
• computers are devices that can run multiple processes at the
same time. For example, computer A can communicate with
computer C by using TELNET. At the same time, computer A
communicates with computer B by using the File Transfer
Protocol (FTP). For these processes to receive data
simultaneously, we need a method to label the different
processes.
• In the TCP/IP architecture, the label assigned to a process is
called a port address.
• A port address in TCP/IP is 16 bits in length.
Specific Addresses
• Some applications have user-friendly addresses that are
designed for that specific address.
• Examples include the e-mail address (for example,
forouzan@fhda.edu) and the Universal Resource Locator
(URL).
Logical Addresses
• we use the term IP address to mean a logical address in the
network layer of the TCP/IP protocol suite.
• The Internet addresses are 32 bits in length; this gives us a
maximum of 232 (4,294,967,296 (more than 4 billion))
addresses.
• These addresses are referred to as IPv4 (IP version 4)
addresses or simply IP addresses .
IPv4 ADDRESSES
• An IPv4 address is a 32-bit address.
• IPv4 addresses are unique(Two devices on the Internet can
never have the same address at the same time) and universal.
Notations:-
There are two prevalent notations to show an IPv4 address:
• binary notation
• dotted decimal notation.
Binary Notation
• In binary notation, the IPv4 address is displayed as 32 bits.
• Each octet is often referred to as a byte. So it is common to
hear an IPv4 address referred to as a 32-bit address or a 4-byte
address.
• The following is an example of an IPv4 address in binary
notation:
01110101 10010101 00011101 00000010
Dotted-Decimal Notation
• To make the IPv4 address more compact and easier to read,
Internet addresses are usually written in decimal form with a
decimal point (dot) separating the bytes.
Example
• Change the following IPv4 addresses from binary notation to
dotted-decimal notation.
a. 10000001 00001011 00001011 11101111
b. 11000001 10000011 00011011 11111111
Solution
• We replace each group of 8 bits with its equivalent decimal
number and add dots for separation.
a. 129.11.11.239
b. 193.131.27.255
Example
• Change the following IPv4 addresses from dotted-decimal
notation to binary notation.
a. 111.56.45.78
b. 221.34.7.82
Solution
• We replace each decimal number with its binary equivalent.
a. 01101111 00111000 00101101 01001110
b. 11011101 00100010 00000111 01010010
Classful Addressing
• IPv4 addressing, used the concept of classes.
• In classful addressing, the address space is divided into five
classes: A, B, C, D and E.
• Each class occupies some part of the address space.
Example
• Find the class of each address.
a. 00000001 00001011 00001011 11101111
b. 11000001 10000011 00011011 11111111
c. 14.23.120.8
d. 252.5.15.111
Solution
a. The first bit is 0. This is a class A address.
b. The first 2 bits are 1; the third bit is 0. This is a class C address.
c. The first byte is 14 (between 0 and 127); the class is A.
d. The first byte is 252 (between 240 and 255); the class is E.
Click to add text
Classes and Blocks
• One problem with classful addressing is that each class is
divided into a fixed number of blocks with each block having a
fixed size as shown in Table.
In c1assfnl addressing, a large part of the available addresses
were wasted.
Switch networking
Netid and Hostid
• In classful addressing, an IP address in class A, B, or C is
divided into netid and hostid.
• These parts are of varying lengths, depending on the class of
the address.
• Figure shows some netid and hostid bytes.
• Note that the concept does not apply to classes D and E.
• In class A, one byte defines the netid and three bytes define the
hostid.
• In class B, two bytes define the netid and two bytes define the
hostid.
• In class C, three bytes define the netid and one byte defines the
hostid.
Switch networking
Mask
• The masks for classes A, B, and C are shown In above table.
• The concept does not apply to classes D and E.
• The mask can help us to find the netid and the hostid.
• For example, the mask for a class A address has eight 1s,
which means the first 8 bits of any address in class A define
the netid; the next 24 bits define the hostid.
• The last column of Table shows the mask in the form n where
n can be 8, 16, or 24 in classful addressing. This notation is
also called slash notation or Classless Inter domain Routing
(CIDR) notation.
Subnetting
• During the era of classful addressing, subnetting was
introduced.
• If an organization was granted a large block in class A or B, it
could divide the addresses into several groups and assign each
group to smaller networks (called subnets).
Advantages of classful addressing
• Although classful addressing had several problems and
become obsolete, it had one advantage,
• Given an address, we can easily find the class since the prefix
length of each class is fixed, we can find prefix length
immediately. i.e. no extra information needed to extract prefix
and suffix.
Ad

More Related Content

What's hot (20)

Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
Pranoti Doke
 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdf
Sweta Kumari Barnwal
 
Digital to digital
Digital to digitalDigital to digital
Digital to digital
Dr. ABHISHEK K PANDEY
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Kaushik Panta
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
Vivek Kumar
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networks
pavan kumar Thatikonda
 
Bandwidth
BandwidthBandwidth
Bandwidth
Christopher Brown
 
Transport layer
Transport layerTransport layer
Transport layer
reshmadayma
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITS
ChAwais15
 
Data Representation in Data Communication (1).pptx
Data Representation in Data Communication (1).pptxData Representation in Data Communication (1).pptx
Data Representation in Data Communication (1).pptx
moviebro1
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
tameemyousaf
 
Frame relay
Frame relayFrame relay
Frame relay
Jyothishmathi Institute of Technology and Science Karimnagar
 
Routing ppt
Routing pptRouting ppt
Routing ppt
ArpiSaxena1
 
Medium access control unit 3-33
Medium access control  unit 3-33Medium access control  unit 3-33
Medium access control unit 3-33
Deepika,Assistant Professor,PES College of Engineering ,Mandya
 
Computer Networks: Quality of service
Computer Networks: Quality of serviceComputer Networks: Quality of service
Computer Networks: Quality of service
Kongu Engineering College, Perundurai, Erode
 
Transmission modes
Transmission modesTransmission modes
Transmission modes
Manaswi Sharma
 
Networking and Internetworking Devices
Networking and Internetworking DevicesNetworking and Internetworking Devices
Networking and Internetworking Devices
21viveksingh
 
Data Encoding
Data EncodingData Encoding
Data Encoding
Luka M G
 
4. tcp header.ppt
4. tcp header.ppt4. tcp header.ppt
4. tcp header.ppt
SurajKumar732187
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
Shivani Godha
 
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data CommunicationCND_22634_UNIT1_MSBTE_Computer network and Data Communication
CND_22634_UNIT1_MSBTE_Computer network and Data Communication
Pranoti Doke
 
Computer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdfComputer Network-Data Link Layer-Module-2.pdf
Computer Network-Data Link Layer-Module-2.pdf
Sweta Kumari Barnwal
 
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Circuit Switching, Packet Switching, Virtual Circuit Networks and Datagram Ne...
Kaushik Panta
 
Transmission impairments(presentation)
Transmission impairments(presentation)Transmission impairments(presentation)
Transmission impairments(presentation)
Vivek Kumar
 
Unit 1 introduction to computer networks
Unit 1  introduction to computer networksUnit 1  introduction to computer networks
Unit 1 introduction to computer networks
pavan kumar Thatikonda
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITS
ChAwais15
 
Data Representation in Data Communication (1).pptx
Data Representation in Data Communication (1).pptxData Representation in Data Communication (1).pptx
Data Representation in Data Communication (1).pptx
moviebro1
 
Switching Techniques
Switching TechniquesSwitching Techniques
Switching Techniques
tameemyousaf
 
Networking and Internetworking Devices
Networking and Internetworking DevicesNetworking and Internetworking Devices
Networking and Internetworking Devices
21viveksingh
 
Data Encoding
Data EncodingData Encoding
Data Encoding
Luka M G
 

Similar to Switch networking (20)

chapter 5.2.pptx
chapter 5.2.pptxchapter 5.2.pptx
chapter 5.2.pptx
MelkamtseganewTigabi1
 
ITFT_Switching
ITFT_Switching ITFT_Switching
ITFT_Switching
Swati Aggarwal
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
GLIM Digital
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
Gupta6Bindu
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.ppt
ShoukatRiaz
 
SwitchingTechniques.ppt
SwitchingTechniques.pptSwitchingTechniques.ppt
SwitchingTechniques.ppt
ShreyasBharati2
 
switchingtechniquesin computer trams.ppt
switchingtechniquesin computer trams.pptswitchingtechniquesin computer trams.ppt
switchingtechniquesin computer trams.ppt
ShaliniSharma266749
 
Switching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptxSwitching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptx
xesome9832
 
switching.ppt
switching.pptswitching.ppt
switching.ppt
swati463221
 
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
NoraNjepuome3
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
ThangamaniR3
 
Topology,Switching and Routing
Topology,Switching and RoutingTopology,Switching and Routing
Topology,Switching and Routing
Anushiya Ram
 
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
ushabarad142
 
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
 
Switching
SwitchingSwitching
Switching
Shankar Gangaju
 
7Multiplexing.pdf
7Multiplexing.pdf7Multiplexing.pdf
7Multiplexing.pdf
12C01AadarshA
 
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
Amit Kumar
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
OscarKelvinNsitu
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
GLIM Digital
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
Gupta6Bindu
 
switchingtechniques.ppt
switchingtechniques.pptswitchingtechniques.ppt
switchingtechniques.ppt
ShoukatRiaz
 
switchingtechniquesin computer trams.ppt
switchingtechniquesin computer trams.pptswitchingtechniquesin computer trams.ppt
switchingtechniquesin computer trams.ppt
ShaliniSharma266749
 
Switching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptxSwitching Techniques - Unit 3 notes aktu.pptx
Switching Techniques - Unit 3 notes aktu.pptx
xesome9832
 
CSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptxCSC 424 -Lecture 5n8 2022.pptx
CSC 424 -Lecture 5n8 2022.pptx
NoraNjepuome3
 
unit 2_switchingtechniques.ppt
unit 2_switchingtechniques.pptunit 2_switchingtechniques.ppt
unit 2_switchingtechniques.ppt
ThangamaniR3
 
Topology,Switching and Routing
Topology,Switching and RoutingTopology,Switching and Routing
Topology,Switching and Routing
Anushiya Ram
 
Chapter 2 Switches in network.ppt
Chapter 2 Switches in network.pptChapter 2 Switches in network.ppt
Chapter 2 Switches in network.ppt
monikarawat57
 
Switching types-circuit, packet and message
Switching types-circuit, packet and messageSwitching types-circuit, packet and message
Switching types-circuit, packet and message
JebaRaj26
 
Unit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptxUnit 1 Circuit and Packet Switching.pptx
Unit 1 Circuit and Packet Switching.pptx
Vikas Goyal
 
Switching techniques
Switching techniquesSwitching techniques
Switching techniques
Amit Kumar
 
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdfDCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
DCN-321-Chiwaya_Lesson7_DataElements_Switching.pdf
OscarKelvinNsitu
 
Ad

Recently uploaded (20)

Understanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdfUnderstanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdf
Fulcrum Concepts, LLC
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 
Distributionally Robust Statistical Verification with Imprecise Neural Networks
Distributionally Robust Statistical Verification with Imprecise Neural NetworksDistributionally Robust Statistical Verification with Imprecise Neural Networks
Distributionally Robust Statistical Verification with Imprecise Neural Networks
Ivan Ruchkin
 
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdf
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdfGoogle DeepMind’s New AI Coding Agent AlphaEvolve.pdf
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdf
derrickjswork
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
DNF 2.0 Implementations Challenges in Nepal
DNF 2.0 Implementations Challenges in NepalDNF 2.0 Implementations Challenges in Nepal
DNF 2.0 Implementations Challenges in Nepal
ICT Frame Magazine Pvt. Ltd.
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Alan Dix
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptxIn-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
aptyai
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
ICT Frame Magazine Pvt. Ltd.
 
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Vasileios Komianos
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdfComputer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
fizarcse
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
Understanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdfUnderstanding SEO in the Age of AI.pdf
Understanding SEO in the Age of AI.pdf
Fulcrum Concepts, LLC
 
AI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamsonAI-proof your career by Olivier Vroom and David WIlliamson
AI-proof your career by Olivier Vroom and David WIlliamson
UXPA Boston
 
Distributionally Robust Statistical Verification with Imprecise Neural Networks
Distributionally Robust Statistical Verification with Imprecise Neural NetworksDistributionally Robust Statistical Verification with Imprecise Neural Networks
Distributionally Robust Statistical Verification with Imprecise Neural Networks
Ivan Ruchkin
 
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdf
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdfGoogle DeepMind’s New AI Coding Agent AlphaEvolve.pdf
Google DeepMind’s New AI Coding Agent AlphaEvolve.pdf
derrickjswork
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Who's choice? Making decisions with and about Artificial Intelligence, Keele ...
Alan Dix
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptxIn-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
aptyai
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
MULTI-STAKEHOLDER CONSULTATION PROGRAM On Implementation of DNF 2.0 and Way F...
ICT Frame Magazine Pvt. Ltd.
 
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Digital Technologies for Culture, Arts and Heritage: Insights from Interdisci...
Vasileios Komianos
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdfComputer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
fizarcse
 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Šimek
 
Ad

Switch networking

  • 1. Unit-IV Network Switching Techniques: Circuit, Message, Packet and Hybrid Switching Techniques.X.25, ISDN. Logical Addressing, Ipv4, Ipv6, Address Mapping, ARP, RARP, BOOTP and DHCP, User Datagram Protocol, Transmission Control Protocol, SCTP. Click to add text
  • 2. Introduction • A network is a set of connected devices. • Whenever we have multiple devices, we have the problem of how to connect them to make one-to-one communication possible. • One solution is to make a point-to-point connection between each pair of devices (a mesh topology) or between a central device and every other device (a star topology). • These methods, however, are impractical and wasteful when applied to very large networks. • The number and length of the links require too much infrastructure to be cost-efficient, and the majority of those links would be idle most of the time. • A better solution is switching.
  • 3. Switching • A switched network consists of a series of interlinked nodes, called switches. • Switches are devices capable of creating temporary connections between two or more devices linked to the switch. • In a switched network, some of these nodes are connected to the end systems (computers or telephones). Others are used only for routing. • Figure shows a switched network.
  • 4. Switched Network The end systems (communicating devices) are labeled A, B, C, D, and so on, and the switches are labeled I, II, III, IV, and V.}
  • 5. Key Points • Switching is the generic method for establishing a path for point-to-point. • It involves the nodes in the network utilizing their direct communication lines to other nodes. • Each node has the capability to switch to a neighboring node. • One of the most important functions of the network layer is to employ the switching capability of the nodes in order to route messages across the network. • There are three basic methods of switching: circuit switching, packet switching and message switching.
  • 7. CIRCUIT-SWITCHED NETWORKS • A circuit-switched network consists of a set of switches connected by physical links. • A connection between two stations is a dedicated path made of one or more links. However, each connection uses only one dedicated channel on each link. Each link is normally divided into n channels by using FDM or TDM. • Circuit switching takes place at the physical layer. • Before starting communication, the stations must make a reservation for the resources to be used during the communication. These resources, such as channels, switch buffers, switch processing time, and switch input/output ports, must remain dedicated during the entire duration of data transfer until the teardown phase.
  • 9. Example • Let us use a circuit-switched network to connect eight telephones in a small area. Communication is through 4-kHz voice channels. We assume that each link uses FDM to connect a maximum of two voice channels. The bandwidth of each link is then 8 kHz. Figure shows the situation. • Telephone 1 is connected to telephone 7; 2 to 5; 3 to 8; and 4 to 6. Of course the situation may change when new connections are made. The switch controls the connections.
  • 11. Communication Process Steps • Setup Phase: Before the two parties (or multiple parties in a conference call) can communicate , a dedicated circuit (combination of channels in links) needs to be established. The end systems are normally connected through dedicated lines to the switches, so connection setup means creating dedicated channels between the switches. • Data Transfer Phase: After the establishment of the dedicated circuit (channels), the two parties can transfer data. • Teardown Phase: When one of the parties needs to disconnect, a signal is sent to each switch to release the resources.
  • 12. Advantages of Circuit Switching • The main advantage of circuit switching is that a committed transmission channel is established between the computers which gives a guaranteed data rate. • In circuit switching there is no delay in data flow because of the dedicated transmission path.
  • 13. Disadvantages of Circuit Switching • It takes long time to establish connection. • More bandwidth is required in setting up of dedicated channels. • It cannot be used to transmit any other data even if the channel is free as the connection is dedicated in circuit switching.
  • 14. Packet Switching • In data communications, we need to send messages from one end system to another. If the message is going to pass through a packet-switched network, it needs to be divided into packets of fixed or variable size. • The size of the packet is determined by the network and the governing protocol • In a packet-switched network, there is no resource reservation; resources are allocated on demand.
  • 15. Advantage of Packet Switching over Circuit Switching • More efficient in terms of bandwidth, since the concept of reserving circuit is not there. • Minimal transmission latency. • More reliable as destination can detect the missing packet. • More fault tolerant because packets may follow different path in case any link is down, Unlike Circuit Switching. • Cost effective and comparatively cheaper to implement.
  • 16. Disadvantage of Packet Switching over Circuit Switching • Packet Switching don’t give packets in order, whereas Circuit Switching provides ordered delivery of packets because all the packets follow the same path. • Since the packets are unordered, we need to provide sequence numbers to each packet. • Complexity is more at each node because of the facility to follow multiple path. • Transmission delay is more because of rerouting. • Packet Switching is beneficial only for small messages, but for bursty data (large messages) Circuit Switching is better. Click to add text
  • 17. Delays in Packet switching • Transmission Delay • Propagation Delay • Queuing Delay • Processing Delay
  • 18. DATAGRAM NETWORKS • In data communications, we need to send messages from one end system to another. • In a datagram network, each packet is treated independently of all others. Even if a packet is part of a multipacket transmission, the network treats it as though it existed alone. • Packets in this approach are referred to as datagram's. • Datagram switching is normally done at the network layer. • The switches in a datagram network are traditionally referred to as routers.
  • 19. Example •In this example, all four packets (or datagrams) belong to the same message, but may travel different paths to reach their destination. •This is so because the links may be involved in carrying packets from other sources and do not have the necessary bandwidth available to carry all the packets from A to X. •The datagram networks are sometimes referred to as connectionless networks. The term connectionless here means that the switch (packet switch) does not keep information about the connection state. •There are no setup or teardown phases. Each packet is treated the same by a switch regardless of its source or destination.
  • 20. VIRTUAL-CIRCUIT NETWORKS • A virtual-circuit network is a cross between a circuit-switched network and a datagram network. • It has some characteristics of both: 1. As in a circuit-switched network, there are setup and teardown phases in addition to the data transfer phase. 2. Resources can be allocated during the setup phase, as in a circuit-switched network, or on demand, as in a datagram network. 3. As in a circuit-switched network, all packets follow the same path established during the connection. 4. A virtual-circuit network is normally implemented in the data link layer, while a circuit-switched network is implemented in the physical layer and a datagram network in the network layer.
  • 21. Message Switching • Message switching was a technique developed as an alternate to circuit switching, before packet switching was introduced. • In message switching, end users communicate by sending and receiving messages that included the entire data to be shared. • Messages are the smallest individual unit. • The sender and receiver are not directly connected. There are a number of intermediate nodes transfer data and ensure that the message reaches its destination. • Message switched data networks are hence called hop-by-hop systems.
  • 22. Message Switching Characteristics • They provide 2 distinct and important characteristics: 1. Store and forward – The intermediate nodes have the responsibility of transferring the entire message to the next node. Hence, each node must have storage capacity. A message will only be delivered if the next hop and the link connecting it are both available, otherwise it’ll be stored indefinitely. A store-and-forward switch forwards a message only if sufficient resources are available and the next hop is accepting data. This is called the store-and-forward property. 2. Message delivery – This implies wrapping the entire information in a single message and transferring it from the source to the destination node. Each message must have a header that contains the message routing information, including the source and destination.
  • 23. Message Switched Network • Message switching network consists of transmission links (channels), store-and-forward switch nodes and end stations as shown in the following figure:
  • 24. Advantages of Message Switching • As message switching is able to store the message for which communication channel is not available, it helps in reducing the traffic congestion in network. • In message switching, the data channels are shared by the network devices. • It makes the traffic management efficient by assigning priorities to the messages.
  • 25. Disadvantages of Message Switching • Message switching cannot be used for real time applications as storing of messages causes delay. • In message switching, message has to be stored for which every intermediate devices in the network requires a large storing capacity.
  • 26. X.25 • X.25 is a protocol suite defined by ITU-T for packet switched communications over WAN (Wide Area Network). • It was originally designed for use in the 1970s and became very popular in 1980s. • Presently, it is used for networks for ATMs and credit card verification. • It allows multiple logical channels to use the same physical line. It also permits data exchange between terminals with different communication speeds.
  • 27. X.25 has three protocol layers • Physical Layer: It lays out the physical, electrical and functional characteristics that interface between the computer terminal and the link to the packet switched node. X.21 physical implementer is commonly used for the linking. • Data Link Layer: It comprises the link access procedures for exchanging data over the link. Here, control information for transmission over the link is attached to the packets from the packet layer to form the LAPB frame (Link Access Procedure Balanced). This service ensures a bit-oriented, error-free, and ordered delivery of frames.
  • 28. X.25 has three protocol layers • Packet Layer: This layer defines the format of data packets and the procedures for control and transmission of the data packets. • It provides external virtual circuit service. Virtual circuits may be of two types: virtual call and permanent virtual circuit. • The virtual call is established dynamically when needed through call set up procedure, and the circuit is relinquished through call clearing procedure. • Permanent virtual circuit, on the other hand, is fixed and network assigned.
  • 30. ISDN: (Integrated Services Digital Network) • These are a set of communication standards for simultaneous digital transmission of voice, video, data, and other network services over the public switched telephone network. • The main feature of ISDN is that it can integrate speech and data on the same lines, which were not available in the classic telephone system. • ISDN is a circuit-switched telephone network system but it also provides access to packet switched networks that allows digital transmission of voice and data. • This results in potentially better voice or data quality than an analog phone can provide. • It provides a packet-switched connection for data in increments of 64 Kbit/s. It provided a maximum of 128 Kbit/s bandwidth in both upstream and downstream directions.. • The ISDN works based on the standards defined by ITU-T (formerly CCITT). The Telecommunication Standardization Sector (ITU-T) coordinates standards for telecommunications on behalf of the International Telecommunication Union (ITU) and is based in Geneva, Switzerland.
  • 31. Principles of ISDN The various principles of ISDN as per ITU-T recommendation are: • To support switched and non-switched applications • To support voice and non-voice applications • Intelligence in the network • Layered protocol architecture • Variety of configurations
  • 32. ISDN
  • 33. ISDN Services ISDN provides a fully integrated digital service to users. These services fall into 3 categories- bearer services, teleservices and supplementary services. Bearer Services: • Transfer of information (voice, data and video) between users without the network manipulating the content of that information is provided by the bearer network. • There is no need for the network to process the information and therefore does not change the content. • Bearer services belong to the first three layers of the OSI model. They are well defined in the ISDN standard. • They can be provided using circuit-switched, packet-switched ,etc
  • 34. ISDN Services Teleservices: • In this the network may change or process the contents of the data. • These services corresponds to layers 4-7 of the OSI model. • Teleservices relay on the facilities of the bearer services and are designed to accommodate complex user needs. • The user need not to be aware of the details of the process. • Teleservices include telephony, teletex, telefax, videotex and teleconferencing. Supplementary Service: • Additional functionality to the bearer services and teleservices are provided by supplementary services. • Reverse charging, call waiting, and message handling are examples of supplementary services which are all familiar with today’s telephone company services.
  • 35. Addressing Four levels of addresses are used in an internet employing the TCP/IP protocols: • Physical (link) addresses, • Logical (IP) addresses • Port addresses • Specific addresses
  • 37. Physical Addresses • The physical address, also known as the link address, is the address of a node as defined by its LAN or WAN. It is included in the frame used by the data link layer. It is the lowest-level address. • The size and format of these addresses vary depending on the network. • For example, Ethernet uses a 6-byte (48-bit) physical address that is imprinted on the network interface card (NIC).
  • 38. Logical Addresses • Logical addresses are necessary for universal communications that are independent of underlying physical networks. • A logical address in the Internet is currently a 32-bit address that can uniquely define a host connected to the Internet.
  • 39. Port Addresses • The IP address and the physical address are necessary for a quantity of data to travel from a source to the destination host. • arrival at the destination host is not the final objective of data communications . • computers are devices that can run multiple processes at the same time. For example, computer A can communicate with computer C by using TELNET. At the same time, computer A communicates with computer B by using the File Transfer Protocol (FTP). For these processes to receive data simultaneously, we need a method to label the different processes. • In the TCP/IP architecture, the label assigned to a process is called a port address. • A port address in TCP/IP is 16 bits in length.
  • 40. Specific Addresses • Some applications have user-friendly addresses that are designed for that specific address. • Examples include the e-mail address (for example, forouzan@fhda.edu) and the Universal Resource Locator (URL).
  • 41. Logical Addresses • we use the term IP address to mean a logical address in the network layer of the TCP/IP protocol suite. • The Internet addresses are 32 bits in length; this gives us a maximum of 232 (4,294,967,296 (more than 4 billion)) addresses. • These addresses are referred to as IPv4 (IP version 4) addresses or simply IP addresses .
  • 42. IPv4 ADDRESSES • An IPv4 address is a 32-bit address. • IPv4 addresses are unique(Two devices on the Internet can never have the same address at the same time) and universal. Notations:- There are two prevalent notations to show an IPv4 address: • binary notation • dotted decimal notation.
  • 43. Binary Notation • In binary notation, the IPv4 address is displayed as 32 bits. • Each octet is often referred to as a byte. So it is common to hear an IPv4 address referred to as a 32-bit address or a 4-byte address. • The following is an example of an IPv4 address in binary notation: 01110101 10010101 00011101 00000010
  • 44. Dotted-Decimal Notation • To make the IPv4 address more compact and easier to read, Internet addresses are usually written in decimal form with a decimal point (dot) separating the bytes.
  • 45. Example • Change the following IPv4 addresses from binary notation to dotted-decimal notation. a. 10000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111
  • 46. Solution • We replace each group of 8 bits with its equivalent decimal number and add dots for separation. a. 129.11.11.239 b. 193.131.27.255
  • 47. Example • Change the following IPv4 addresses from dotted-decimal notation to binary notation. a. 111.56.45.78 b. 221.34.7.82
  • 48. Solution • We replace each decimal number with its binary equivalent. a. 01101111 00111000 00101101 01001110 b. 11011101 00100010 00000111 01010010
  • 49. Classful Addressing • IPv4 addressing, used the concept of classes. • In classful addressing, the address space is divided into five classes: A, B, C, D and E. • Each class occupies some part of the address space.
  • 50. Example • Find the class of each address. a. 00000001 00001011 00001011 11101111 b. 11000001 10000011 00011011 11111111 c. 14.23.120.8 d. 252.5.15.111
  • 51. Solution a. The first bit is 0. This is a class A address. b. The first 2 bits are 1; the third bit is 0. This is a class C address. c. The first byte is 14 (between 0 and 127); the class is A. d. The first byte is 252 (between 240 and 255); the class is E. Click to add text
  • 52. Classes and Blocks • One problem with classful addressing is that each class is divided into a fixed number of blocks with each block having a fixed size as shown in Table. In c1assfnl addressing, a large part of the available addresses were wasted.
  • 54. Netid and Hostid • In classful addressing, an IP address in class A, B, or C is divided into netid and hostid. • These parts are of varying lengths, depending on the class of the address. • Figure shows some netid and hostid bytes. • Note that the concept does not apply to classes D and E. • In class A, one byte defines the netid and three bytes define the hostid. • In class B, two bytes define the netid and two bytes define the hostid. • In class C, three bytes define the netid and one byte defines the hostid.
  • 56. Mask • The masks for classes A, B, and C are shown In above table. • The concept does not apply to classes D and E. • The mask can help us to find the netid and the hostid. • For example, the mask for a class A address has eight 1s, which means the first 8 bits of any address in class A define the netid; the next 24 bits define the hostid. • The last column of Table shows the mask in the form n where n can be 8, 16, or 24 in classful addressing. This notation is also called slash notation or Classless Inter domain Routing (CIDR) notation.
  • 57. Subnetting • During the era of classful addressing, subnetting was introduced. • If an organization was granted a large block in class A or B, it could divide the addresses into several groups and assign each group to smaller networks (called subnets).
  • 58. Advantages of classful addressing • Although classful addressing had several problems and become obsolete, it had one advantage, • Given an address, we can easily find the class since the prefix length of each class is fixed, we can find prefix length immediately. i.e. no extra information needed to extract prefix and suffix.
  翻译: