SlideShare a Scribd company logo
1 of 4
City University
13/A, Pantapath, Dhaka – 1215
Assignment Name: IP and MAC Address
Department: Computer Science and Engineering
Course Name: Computer Networks
Course Code: CSE 317
Submission Date: 19th
May 2021
Submitted By: Submitted To:
Name: Md Rabiul Islam Shaon
ID: 181472541
Section: A
Batch: 49th
Name: Pranab Bandhu Nath
Senior Lecturer of CSE
IP Address:
IP stands for Internet Protocol. IP Address is a unique identification number given to every device.
This address can change anytime. Without IP we cannot connect to the internet. IP addresses are given by
ISP. IP can also change depending on location.
An example address might be 192.158.1.38. Each number in the set can range from 0 to 255. So, the full IP
addressing range goes from 0.0.0.0 to 255.255.255.255.
IP addresses are not random. They are mathematically produced and allocated by the Internet
AssignedNumbers Authority (IANA), a divisionof the Internet Corporation for AssignedNames and Numbers
(ICANN).
An IP address consists of two components:
1. Network Id
2. Host Id
Network ID:
Network ID is the portion of an IP address that identifies the TCP/IP network on which a host resides.
The network ID portion of an IP address uniquely identifies the host's network on an internetwork.
Host ID:
The Host ID is the portion of an IP address that uniquely identifies a host on a given TCP/IP network.
You find the host ID by logically NAND the binary form of the IP address with the binary form of the subnet
mask for the network.
Classification of IP Address
IP address is divided into five sub classes –
1. Class A 2. Class B 3. Class C 4. Class D 5. Class D
Class A
This IP address class is used when there are a large number of hosts. In a Class A type of network, the first 8
bits (also called the first octet) identify the network, and the remaining have 24 bits for the host into that
network.
An example of Class A address is 102.168.212.226. Here, "102" helps you identify the network and
168.212.226 identify the host.
Class B
In a B class IP address, the binary addresses start with 10. In this IP address, the class decimal number that
can be between 128 to 191.
The number 127 is reserved for loopback, which is used for internal testing on the local machine. The first
16 bits (known as two octets) help you identify the network. The other remaining 16 bits indicate the host
within the network.
An example of Class BIPaddress is 168.212.226.204, where *168 212* identifies the network and *226.204*
helps you identify the Hut network host.
Class C
Class C is a type of IP address that is used for the small network. In this class, three octets are used to indent
the network. This IP ranges between 192 to 223.
In this type of network addressing method, the first two bits are set to be 1, and the third bit is set to 0,
which makes the first 24 bits of the address them and the remaining bit as the host address.
Example for Class C IP address: 192.168.178.1
Class D
Class D addresses are only used for multicasting applications. Class D is never used for regular networking
operations. This class addresses the first three bits set to "1" and their fourth bit set to use for "0". Class D
addresses are 32-bit network addresses. All the values within the range are used to identify multicast groups
uniquely.
Example for Class D IP address: 227.21.6.173
Class E
Class E IP address is defined by including the starting four network address bits as 1, which allows you two
to incorporate addresses from 240.0.0.0 to 255.255.255.255.
However, E class is reserved, and its usage is never defined. Therefore, many network implementations
discard these addresses as undefined or illegal.
Example for Class E IP address: 243.164.89.28
Class Address Range Leading bits Application
Class A 1 to 126 8 Used for large number of hosts.
Class B 128 to 197 16 Used for medium size network.
Class C 192 to 223 24 Used for local area network.
Class D 224 to 239 NA Reserve for multi-tasking.
Class Address Range Leading bits Application
Class E 240 to 254 NA This class is reserved for research and Development Purposes.
Range of special IP addresses:
1. (169.254.0.0 to 169.254.0.16) - Linklocal addresses.
2. (127.0.0.0 to127.0.0.8) - Loop-backaddresses.
3. (0.0.0.0 to 0.0.0.8) - usedto communicate withinthe currentnetwork.
MAC Address
MAC address is the physical address, which uniquely identifies each device on a given network. To make
communication between two networked devices, we need two addresses: IP address and MAC address. It is
assigned to the NIC (Network Interface card) of each device that can be connected to the internet.
It stands for Media Access Control, and also known as Physical address, hardware address, or BIA (Burned in
Address).
REFERENCE:
1. Computer Networks Book by Andrew s. Tanenbaum (5th Edition)
2. https://www.kaspersky.com/resource-center/definitions/what-is-an-ip-address
3. https://networkencyclopedia.com/host-id/
4. https://www.guru99.com/ip-address-classes.html#4
5. https://www.geeksforgeeks.org/introduction-of-classful-ip-addressing/

More Related Content

What's hot

Classifiction of computer networks
Classifiction of computer networksClassifiction of computer networks
Classifiction of computer networksSayma Sultana
 
Introduction To Computer Networks
Introduction To Computer Networks Introduction To Computer Networks
Introduction To Computer Networks AfsanaAkterRubi
 
Introduction to computer networks
Introduction to computer networksIntroduction to computer networks
Introduction to computer networksMdMizanurRahma18
 
Introduction to computer networks
Introduction to computer networks Introduction to computer networks
Introduction to computer networks Basma Gamal
 
Note 2: Classification of Computer Networks
Note 2: Classification of Computer NetworksNote 2: Classification of Computer Networks
Note 2: Classification of Computer NetworksHasibul Islam Nirob
 
Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)VrundaBhavsar
 
Understanding computer networks
Understanding computer networksUnderstanding computer networks
Understanding computer networksUC San Diego
 
Network standards
Network standardsNetwork standards
Network standardshspatalia
 
Cn 04,32,36-Cn all chapters1- computer networks- gtu
Cn 04,32,36-Cn all chapters1- computer networks- gtuCn 04,32,36-Cn all chapters1- computer networks- gtu
Cn 04,32,36-Cn all chapters1- computer networks- gtuJay Patel
 

What's hot (20)

Classifiction of computer networks
Classifiction of computer networksClassifiction of computer networks
Classifiction of computer networks
 
Introduction To Computer Networks
Introduction To Computer Networks Introduction To Computer Networks
Introduction To Computer Networks
 
Computer networks
Computer networksComputer networks
Computer networks
 
COMPUTER NETWORKS
COMPUTER NETWORKSCOMPUTER NETWORKS
COMPUTER NETWORKS
 
Presentation (1)
Presentation (1)Presentation (1)
Presentation (1)
 
Classification of Computer Network
Classification of Computer NetworkClassification of Computer Network
Classification of Computer Network
 
Introduction to computer networks
Introduction to computer networksIntroduction to computer networks
Introduction to computer networks
 
OSI &TCP/IP Model
OSI &TCP/IP ModelOSI &TCP/IP Model
OSI &TCP/IP Model
 
Introduction to computer networks
Introduction to computer networks Introduction to computer networks
Introduction to computer networks
 
Osi model
Osi modelOsi model
Osi model
 
Networking
NetworkingNetworking
Networking
 
Computer Network
Computer NetworkComputer Network
Computer Network
 
Computer networks
Computer networksComputer networks
Computer networks
 
Note 2: Classification of Computer Networks
Note 2: Classification of Computer NetworksNote 2: Classification of Computer Networks
Note 2: Classification of Computer Networks
 
Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)Advanced computer network lab manual (practicals in Cisco Packet tracer)
Advanced computer network lab manual (practicals in Cisco Packet tracer)
 
Understanding computer networks
Understanding computer networksUnderstanding computer networks
Understanding computer networks
 
Protocol & Type of Networks
Protocol & Type of NetworksProtocol & Type of Networks
Protocol & Type of Networks
 
Networks
NetworksNetworks
Networks
 
Network standards
Network standardsNetwork standards
Network standards
 
Cn 04,32,36-Cn all chapters1- computer networks- gtu
Cn 04,32,36-Cn all chapters1- computer networks- gtuCn 04,32,36-Cn all chapters1- computer networks- gtu
Cn 04,32,36-Cn all chapters1- computer networks- gtu
 

Similar to IP and MAC Address

IP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.pptIP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.pptgadisaAdamu
 
Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking finalNeerajBhardwaj57
 
ETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptListonKiwoli1
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/Rathodpradip1
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
CSS L16 - IP ADDRESSING
CSS L16 - IP ADDRESSINGCSS L16 - IP ADDRESSING
CSS L16 - IP ADDRESSINGMarvin Bronoso
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routingVikas Jagtap
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategyMustafa Salam
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxgamerchan1
 

Similar to IP and MAC Address (20)

Ip address
Ip addressIp address
Ip address
 
IP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.pptIP Address in data communication and computer notework.ppt
IP Address in data communication and computer notework.ppt
 
Ip and mac addressing
Ip and mac addressingIp and mac addressing
Ip and mac addressing
 
IP and MAC addressing
IP and MAC addressingIP and MAC addressing
IP and MAC addressing
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
IP and MAC Address
IP and MAC AddressIP and MAC Address
IP and MAC Address
 
Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
 
ETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.ppt
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Ip and mac adress
Ip and mac adressIp and mac adress
Ip and mac adress
 
CSS L16 - IP ADDRESSING
CSS L16 - IP ADDRESSINGCSS L16 - IP ADDRESSING
CSS L16 - IP ADDRESSING
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Ip address
Ip address Ip address
Ip address
 
Lecture9
Lecture9Lecture9
Lecture9
 
IP Address
IP AddressIP Address
IP Address
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 

More from City University, Dhaka, Bangladesh (6)

Network Topology Simulation in packet tracer
Network Topology Simulation in packet tracerNetwork Topology Simulation in packet tracer
Network Topology Simulation in packet tracer
 
Mail Server Create By Cisco Packet Tracer
Mail Server Create By Cisco Packet TracerMail Server Create By Cisco Packet Tracer
Mail Server Create By Cisco Packet Tracer
 
OSI Model and TCP/IP Model.
OSI Model and TCP/IP Model.OSI Model and TCP/IP Model.
OSI Model and TCP/IP Model.
 
Satellite System
Satellite SystemSatellite System
Satellite System
 
Computer Network
Computer NetworkComputer Network
Computer Network
 
Computer Hardware, Software and Firmware
Computer Hardware, Software and FirmwareComputer Hardware, Software and Firmware
Computer Hardware, Software and Firmware
 

Recently uploaded

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 

IP and MAC Address

  • 1. City University 13/A, Pantapath, Dhaka – 1215 Assignment Name: IP and MAC Address Department: Computer Science and Engineering Course Name: Computer Networks Course Code: CSE 317 Submission Date: 19th May 2021 Submitted By: Submitted To: Name: Md Rabiul Islam Shaon ID: 181472541 Section: A Batch: 49th Name: Pranab Bandhu Nath Senior Lecturer of CSE
  • 2. IP Address: IP stands for Internet Protocol. IP Address is a unique identification number given to every device. This address can change anytime. Without IP we cannot connect to the internet. IP addresses are given by ISP. IP can also change depending on location. An example address might be 192.158.1.38. Each number in the set can range from 0 to 255. So, the full IP addressing range goes from 0.0.0.0 to 255.255.255.255. IP addresses are not random. They are mathematically produced and allocated by the Internet AssignedNumbers Authority (IANA), a divisionof the Internet Corporation for AssignedNames and Numbers (ICANN). An IP address consists of two components: 1. Network Id 2. Host Id Network ID: Network ID is the portion of an IP address that identifies the TCP/IP network on which a host resides. The network ID portion of an IP address uniquely identifies the host's network on an internetwork. Host ID: The Host ID is the portion of an IP address that uniquely identifies a host on a given TCP/IP network. You find the host ID by logically NAND the binary form of the IP address with the binary form of the subnet mask for the network. Classification of IP Address IP address is divided into five sub classes – 1. Class A 2. Class B 3. Class C 4. Class D 5. Class D
  • 3. Class A This IP address class is used when there are a large number of hosts. In a Class A type of network, the first 8 bits (also called the first octet) identify the network, and the remaining have 24 bits for the host into that network. An example of Class A address is 102.168.212.226. Here, "102" helps you identify the network and 168.212.226 identify the host. Class B In a B class IP address, the binary addresses start with 10. In this IP address, the class decimal number that can be between 128 to 191. The number 127 is reserved for loopback, which is used for internal testing on the local machine. The first 16 bits (known as two octets) help you identify the network. The other remaining 16 bits indicate the host within the network. An example of Class BIPaddress is 168.212.226.204, where *168 212* identifies the network and *226.204* helps you identify the Hut network host. Class C Class C is a type of IP address that is used for the small network. In this class, three octets are used to indent the network. This IP ranges between 192 to 223. In this type of network addressing method, the first two bits are set to be 1, and the third bit is set to 0, which makes the first 24 bits of the address them and the remaining bit as the host address. Example for Class C IP address: 192.168.178.1 Class D Class D addresses are only used for multicasting applications. Class D is never used for regular networking operations. This class addresses the first three bits set to "1" and their fourth bit set to use for "0". Class D addresses are 32-bit network addresses. All the values within the range are used to identify multicast groups uniquely. Example for Class D IP address: 227.21.6.173 Class E Class E IP address is defined by including the starting four network address bits as 1, which allows you two to incorporate addresses from 240.0.0.0 to 255.255.255.255. However, E class is reserved, and its usage is never defined. Therefore, many network implementations discard these addresses as undefined or illegal. Example for Class E IP address: 243.164.89.28 Class Address Range Leading bits Application Class A 1 to 126 8 Used for large number of hosts. Class B 128 to 197 16 Used for medium size network. Class C 192 to 223 24 Used for local area network. Class D 224 to 239 NA Reserve for multi-tasking.
  • 4. Class Address Range Leading bits Application Class E 240 to 254 NA This class is reserved for research and Development Purposes. Range of special IP addresses: 1. (169.254.0.0 to 169.254.0.16) - Linklocal addresses. 2. (127.0.0.0 to127.0.0.8) - Loop-backaddresses. 3. (0.0.0.0 to 0.0.0.8) - usedto communicate withinthe currentnetwork. MAC Address MAC address is the physical address, which uniquely identifies each device on a given network. To make communication between two networked devices, we need two addresses: IP address and MAC address. It is assigned to the NIC (Network Interface card) of each device that can be connected to the internet. It stands for Media Access Control, and also known as Physical address, hardware address, or BIA (Burned in Address). REFERENCE: 1. Computer Networks Book by Andrew s. Tanenbaum (5th Edition) 2. https://www.kaspersky.com/resource-center/definitions/what-is-an-ip-address 3. https://networkencyclopedia.com/host-id/ 4. https://www.guru99.com/ip-address-classes.html#4 5. https://www.geeksforgeeks.org/introduction-of-classful-ip-addressing/