Lec2 Network
Lec2 Network
NETWORKING
LECTURER: SIDRA AHMAD
NATIONAL COLLEGE OF BUSINESS & ADMINISTRATION(NCBA)
TABLE OF CONTENTS
• Port Addressing
• MAC Addressing
• IP Addressing
• IPv4 & IPV6
• Classes of IP Addresses
PORT ADDRESSING
• Port addressing assigns unique numerical identifiers (port numbers) to network services
or applications to facilitate communication over a network.
• It helps differentiate multiple services on the same device, ensuring data reaches the
correct application.
• Range from 0 to 65535
• Well-Known Ports (0-1023): Reserved for standard services like HTTP (port 80) or
FTP (port 21).
• Registered Ports (1024-49151): Assigned for user-specific applications.
• Dynamic/Private Ports (49152-65535): Temporarily used by client applications.
PORT ADDRESSING
• Common Examples:
• HTTP: Port 80
• HTTPS: Port 443
• FTP: Port 21
• DNS: Port 53
MAC ADDRESSING
• A MAC (Media Access Control) Address is a unique 48-bit identifier assigned to the
Network Interface Card (NIC) of a device.
• Each MAC address is globally unique and assigned by the NIC manufacturer.
IP ADDRESSING
• IPv4 (Internet Protocol version 4) is a 32-bit address system used to identify devices
on a network.
• Represented in dotted decimal notation with four octets (e.g., 192.168.1.1), each
ranging from 0 to 255.
• Provides approximately 4.3 billion unique addresses (2³²).
IPV6
Divided into five classes based on the range of the first octet:
• Class A: Large networks (0 to 126) .e.g., (125.255.23.17)
• Class B: Medium-sized networks (128 to 191) .e.g., (191.23.28.144)
• Class C: Small networks (192 to 223) .e.g., (192.204.18.114)
• Class D: Multicast (224 to 239) .e.g.,(Used for multicasting)
• Class E: Experimental (240 to 255) .e.g., (Used for Research)