internet architecture & protocolsbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · the...
TRANSCRIPT
![Page 1: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/1.jpg)
Set # 01
Delivered By: Engr Tahir Niazi
INTERNET ARCHITECTURE &
PROTOCOLS
![Page 2: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/2.jpg)
What is Internet?
Basically it is called Network of networks
Nuts and Bolts (Pieces of internet)
Services description (applications)
What is Protocol? (agreement)
![Page 3: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/3.jpg)
Nuts & Bolts
Internet composed of million of devices attached
Hosts or end systems
Communication links
Routers and switches
Transmission rate
Packets/datagram
Route and path
Internet service provider
![Page 4: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/4.jpg)
Nuts & Bolts
![Page 5: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/5.jpg)
Services Description:
Multiple end systems that exchange data with each other called
distributed application
Electronic mail
Web surfing
Social networks
Instant messaging
VoIP
Video streaming
Gaming
file sharing
![Page 6: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/6.jpg)
Protocols:
A protocol defines the format and the order of messages exchanged between
two or more communicating entities, as well as the actions taken on the
transmission and/or receipt of a message or other event.
Human analogy concept
Networks analogy concept
![Page 7: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/7.jpg)
Humans & Computer Network Protocol:
![Page 8: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/8.jpg)
The Network Edge:
End systems or Hosts that are connected to internet are located at
the edge of the network
![Page 9: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/9.jpg)
Access Networks:
The Network that physically connects an end systems to first
router (also known as edge router)
![Page 10: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/10.jpg)
Home Access: DSL,Cable, FTTH DSL and Cable normally deployed for residential broadband access
![Page 11: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/11.jpg)
![Page 12: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/12.jpg)
Ethernet & Wi-Fi Access:
![Page 13: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/13.jpg)
Communication media:
Twisted pair
Coaxial cable
Optical fibre
Terrestrial radio channels
Satellite radio channel
![Page 14: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/14.jpg)
The Core Network:
Switching (Circuit & packet) take place
long messages into smaller chunks of data known as packets.
packet travels through communication links and packet
switches.
Packets are transmitted over each communication link at a rate
equal to the full transmission rate of the link. So, if a source end
system or a packet switch is sending a packet of L bits over a link
with transmission rate R bits/sec, then the time to transmit the
packet is L/R seconds.
![Page 15: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/15.jpg)
Core Network:
![Page 16: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/16.jpg)
Packet Switching: Store and forward
means that the packet switch must receive the entire packet
before it can begin to transmit the first bit of the packet onto the
outbound link
![Page 17: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/17.jpg)
Queuing delays and Packet loss:
arriving packet needs to be transmitted onto a link but finds the
link busy with the transmission of another packet, the arriving
packet must wait in the output buffer this is known as Queuing
delay
amount of buffer space is finite, an arriving packet may find that
the buffer is completely full with other packets waiting for
transmission. In this case, packet loss will occur
![Page 18: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/18.jpg)
Forwarding table & Routing protocols:
When a packet arrives at a router, the router examines the
address and searches its forwarding table, using this destination
address, to find the appropriate outbound link
routing protocol may, for example, determine the shortest path
from each router to each destination and use the shortest path
results to configure the forwarding tables in the routers
![Page 19: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/19.jpg)
Packet Switching:
Store & forward
Delays & packet loss
Forwarding table
![Page 20: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/20.jpg)
Circuit switching:
Circuits (dedicated end to end)
Resources reserved (FDM,TDM)
Traditional telephone networks
![Page 21: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/21.jpg)
Circuit Vs Packet switching:
Circuit switching: carry bit streams
a. establishes a dedicated circuit
b. links reserved for use by communication channel
c. send/receive bit stream at constant rate
d. example: original telephone network
• Packet switching: store-and-forward messages a. No dedicated circuit is
established
b. utilizes resources according to traffic demand
c. send/receive messages at variable rate
d. example: Internet
![Page 22: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/22.jpg)
Telecom/Computer networks
Circuit-switched networks
FDM TDM
Packet-switched networks
Networks with VCs
Datagram Networks
Network Taxonomy:
![Page 23: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/23.jpg)
Internet Architecture:
Tier 1, Tier 2, Tier 3 ISPs
End system to the internet through access ISP
Access ISP can provide guided or un guided connection
Provider & Customers
CPE, PoP, IXP, Content providers
![Page 24: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/24.jpg)
Interconnection of ISPs
![Page 25: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/25.jpg)
Delays in packet switched networks:
The most important of these delays are the nodal processing
delay, queuing delay, transmission delay, and
propagation delay
Nodal Processing:
- time required to examine the packet’s header
- determine where to direct the packet
- check for bit-level error
- typically on the order of microseconds or less
![Page 26: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/26.jpg)
Delays in packet switched networks:
Queuing delay:
- Time taken at queue
- Heavy traffic more delay, less traffic low delay
- Microsecond to millisecond
Transmission delay:
- Time required to send all of the packet’s bits onto the link
- Transmission Delay = L/R ,Where L is the length of the packet
and R is the bandwidth of the link
- Microsecond to millisecond
![Page 27: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/27.jpg)
Delays in packet switched networks: Propagation delay:
- Once a bit is pushed into the link, it needs to propagate onto the link.
The time required to propagate from the beginning of the link to the
end
- Depend on physical medium used
![Page 28: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/28.jpg)
Protocols Layered Architecture:
Why layered architecture?
Take human analogy
![Page 29: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/29.jpg)
Internet & OSI Model:
![Page 30: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/30.jpg)
Operation: Internet Model
Encapsulation (headers & control info)
Message- Segment-Packets-Frames-Bits
Multilevel addressing
![Page 31: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/31.jpg)
Layered Hierarchy: Example
![Page 32: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/32.jpg)
An IP address is a
32-bit
address.
What is an IP Address?
The IP addresses
are
unique.
![Page 33: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/33.jpg)
Address space rule
addr15 addr1
addr2
addr41 addr31
addr226
………….. …………..
………….. …………..
…………..
………….. …………..
The address space in a protocol
That uses N-bits to define an
Address is:
2N
The address space of IPv4 is
232
or
4,294,967,296.
![Page 34: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/34.jpg)
01110101 10010101 00011101 11101010
Binary Notation
Dotted-decimal notation
![Page 35: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/35.jpg)
0111 0101 1001 0101 0001 1101 1110 1010
Hexadecimal Notation
75 95 1D EA
![Page 36: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/36.jpg)
Example 1
Change the following IP address from binary
notation to dotted-decimal notation.
10000001 00001011 00001011 11101111
Solution
129.11.11.239
![Page 37: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/37.jpg)
Example 2
Change the following IP address from
dotted-decimal notation to binary
notation:
111.56.45.78
Solution
01101111 00111000 00101101 01001110
![Page 38: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/38.jpg)
Example 3
Solution
Find the error in the following IP Address
111.56.045.78
There are no leading zeroes in
Dotted-decimal notation (045)
![Page 39: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/39.jpg)
Example 3 (continued)
Solution
Find the error in the following IP Address
75.45.301.14
In decimal notation each number <= 255
301 is out of the range
![Page 40: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/40.jpg)
Example 4
Solution
Change the following binary IP address
Hexadecimal notation
10000001 00001011 00001011 11101111
810B0BEF16
![Page 41: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/41.jpg)
CLASSFUL
ADDRESSING
![Page 42: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/42.jpg)
In classful addressing the address space is
divided into 5 classes:
A, B, C, D, and E.
![Page 43: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/43.jpg)
Finding the class in binary notation
![Page 44: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/44.jpg)
Finding the address class
![Page 45: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/45.jpg)
Example 6
Solution
Find the class of the following IP addresses
00000001 00001011 00001011 11101111
11000001 00001011 00001011 11101111
•00000001 00001011 00001011 11101111
1st is 0, hence it is Class A
•11000001 00001011 00001011 11101111 1st and 2nd bits are 1, and 3rd bit is 0 hence, Class C
![Page 46: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/46.jpg)
Finding the class in decimal notation
![Page 47: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/47.jpg)
Example 7
Solution
Find the class of the following addresses
158.223.1.108
227.13.14.88
•158.223.1.108
1st byte = 158 (128<158<191) class B
•227.13.14.88
1st byte = 227 (224<227<239) class D
![Page 48: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/48.jpg)
Netid and hostid
![Page 49: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/49.jpg)
Network Addresses
The network address is the first address.
The network address defines the network to the
rest of the Internet.
Given the network address, we can find the
class of the address, the block, and the range of
the addresses in the block
![Page 50: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/50.jpg)
Example 8
Solution
Given the network address 132.21.0.0, find the
class, the block, and the range of the addresses
The 1st byte is between 128 and 191.
Hence, Class B
The block has a netid of 132.21.
The addresses range from
132.21.0.0 to 132.21.255.255.
![Page 51: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/51.jpg)
Mask
• A mask is a 32-bit binary number.
• The mask is ANDeD with IP address to get
• The block address (Network address)
• Mask And IP address = Block Address
![Page 52: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/52.jpg)
Masking concept
![Page 53: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/53.jpg)
AND operation
![Page 54: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/54.jpg)
The network address is the
beginning address of each block.
It can be found by applying
the default mask to
any of the addresses in the block
(including itself).
It retains the netid of the block
and sets the hostid to zero.
![Page 55: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/55.jpg)
Default Mask
Class A default mask is 255.0.0.0 /8
Class B default mask is 255.255.0.0 /16
Class C Default mask 255.255.255.0 /24
![Page 56: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/56.jpg)
Find Network ID & Broadcast Address Broadcast Address: An IP Address that allows information to
be sent to all machines on a given subnet rather than a specific
machine
Example:
192.168.1.15/24
![Page 57: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/57.jpg)
Exercise:
Find the Network and Broadcast Addresses for
each of the following
1. 10.10.1.97/23
2. 192.168.0.3/25
3. 172.16.5.34/26
4. 192.168.11.17/28
![Page 58: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/58.jpg)
Exercise Answers:
1. The network Address is 10.10.0.0 and the
Broadcast Address is 10.10.1.255
2. The network Address is 192.168.0.0 and the
Broadcast Address is 192.168.0.127
3. The network Address is 172.16.5.0 and the
Broadcast Address is 172.16.5.63
4. The network Address is 192.168.11.16 and the
Broadcast Address is 192.168.11.31
![Page 59: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/59.jpg)
Internetworking Devices: Hub/Repeater
Bridge
Switches
Router
Hub/Repeater:
Repeat the signal with greater power
1 collision domain
1 broadcast domain
Layer 1
![Page 60: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/60.jpg)
Internetworking Devices:
Bridge:
Main function (learning, forwarding, filtering)
2 collision domain
1 broadcast domain
Layer 2
Switch:
Each port separate collision domain
1 broadcast domain
Full duplex
Layer 2
![Page 61: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/61.jpg)
Internetworking Devices:
Router:
Works on IP address
No broadcast domain
Routing
Layer 3
![Page 62: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/62.jpg)
DHCP
Dynamic Host Configuration Protocol
Allow IP Address / Netmask / Gateway Information to be
allocated dynamically
- At random, OR
- Predetermine for specific MAC address
Typically given for a period of time
DHCP server can be server based or router based
![Page 63: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/63.jpg)
DHCP Process: Four steps
- DHCP discover (broadcast)
- DHCP offer (unicast)
- DHCP request (broadcast/unicast)
- DHCP Ack (unicast)
![Page 64: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/64.jpg)
DHCP on window server:
![Page 65: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/65.jpg)
ARP: Address Resolution Protocol
Interaction between IP and MAC
Host 138.37.35.215 want to send a packet to 138.37.35.74
IP packet needs to be put in an Ethernet frame with MAC
address
Need to find MAC address for 138.37.35.74
ARP sends broadcast asking for the MAC address
Usually the destination host will reply with it’s own MAC
address
Cached in arp table
![Page 66: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/66.jpg)
ARP: different Subnet
Host 138.37.35.215 wants to send a packet to 138.37.32.214
(different subnet)
IP packet needs to be put in an Ethernet frame with MAC
address as before
Different subnet so will need to go through a router
Routing table (see later) provides address of router
- (138.37.35.254 here)
arp will find the MAC address of the router
![Page 67: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/67.jpg)
ARP Process:
![Page 68: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/68.jpg)
Two Address concept:
![Page 69: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/69.jpg)
DNS:
Domain name system
Applications refer to hosts etc by name
Need to map these to IP addresses
Reverse look up
Originally a file, hosts.txt, that listed all the hosts and their IP
addresses - flat structure; every night all the hosts would collect
this file from the host that maintained it - not scalable
DNS ( Domain Name System) distributed database now used
![Page 70: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/70.jpg)
Domain Name System:
DNS is a hierarchical, domain-based naming scheme and a
distributed database system for implementing this naming
scheme using Delegation of Authority concept
Hierarchically structured distributed database
Each element of the hierarchy is referred to as a domain
Mainly used for mapping host names and email destinations to IP
addresses
![Page 71: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/71.jpg)
Domain Name System:
At the top of the hierarchy is the root domain, known as “.”
Sub domains directly underneath the root domain are called top
level domains
Domains directly underneath top-level domains are called
second-level domains, and so on
Any domain in the name space can be referred to by the domain
names in its hierarchical path separated by dots – e.g.
![Page 72: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/72.jpg)
Example:
Host name, domain name, fully qualified domain name
Consider another example:
![Page 73: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/73.jpg)
Nameservers:
Information on the root domain resides on a select number of
root nameservers around the Internet
The root nameservers hold data for all the top-level domains
Top-level domains
- two-letter abbreviations for each country, such as uk and us
- special domains such as edu, com, net, gov etc
These root nameservers make it possible for every host on the
Internet to have access to the complete DNS database
![Page 74: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/74.jpg)
DNS Principle:
Each domain has one or more Resource Records (RRs)
Computers query the nameservers to find out information about
domains in the DNS
Each nameserver handles a specific part of the DNS referred to
as a zone. A zone is a collection of domains
Since no single server in the Internet knows the addresses of all
other hosts, the responsibility of resolving addresses to IP
mapping is then delegated to the authority servers of that zone
![Page 75: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/75.jpg)
DNS Resolver:
Clients use resolvers
- resolvers are the nameservers’ clients
The resolver's function is to resolve queries from the user’s
terminal. To do that, it queries a nameserver, which then returns
either the requested information or a referral to another server
This can be done in two ways:
- Recursively
- iteratively
![Page 76: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/76.jpg)
Recursive Query: The resolver asks the DNS server within its own domain for the
IP address of the named destination.
If this is not known, the query is escalated to the next higher
nameserver, responsible for a higher domain.
This may escalate the query higher etc.
![Page 77: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/77.jpg)
Iterative Query:
![Page 78: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/78.jpg)
SUMMARY:
What is Internet?
Different parts of Network
Network Taxonomy
Delay, types of delay and Packet loss
Layered & Internet Architecture
IP addressing
Network and Broadcast address
Internetworking devices
DHCP, ARP & DNS
![Page 79: INTERNET ARCHITECTURE & PROTOCOLSbsituos.weebly.com/uploads/2/5/2/5/25253721/set_01.pdf · The Core Network: Switching (Circuit & packet) take place long messages into smaller chunks](https://reader034.vdocuments.site/reader034/viewer/2022042016/5e74b5ed1895f61ffe382bab/html5/thumbnails/79.jpg)
Q & A
IAP, University of Sargodha, CS & IT Dept