SlideShare a Scribd company logo
1 of 19
Data Communication
Part 6
Alex Fernandez
CALCULATING SUBNETS
â—Ž When you subnet a network ID, you need to follow the rules
and conventions dictated by the good folks who developed
TCP/IP to ensure that your new subnets can interact properly
with each other and with larger networks. The rules to
subnetting are as follows:
â—Ž 1. Starting with a beginning subnet mask, you extend the
subnet extension until you have the number of subnets you
need.
â—Ž 2. You cannot have an NE of all zeroes or all ones, so you
calculate the number of subnets using this formula: new
subnets = 2(number of network ID extension digits)– 2.
â—Ž 3. You cannot have a single-character network ID extension.
You always start by moving the subnet at least two digits
◎ Since the network ID extension can’t be all zeroes and all ones, you only get two new network IDs.
â—Ž Figure 7.28 shows all of the IP addresses for each of the two new network IDs.
â—Ž Now convert these two network IDs back to dotted decimal:
◎ 192.168.4.64/26 (192.168.4.65 – 192.168.4.126)
◎ 192.168.4.128/26 (192.168.4.129 – 192.168.4.191)
◎ Congratulations! You’ve just taken a single network ID,
â—Ž 192.168.4.0/24, and subnetted it into two new network IDs!
â—Ž Figure 7.29 shows how you can use these two network IDs in a network.
◎ There’s only one problem ⎯the café needs three subnets, not just two! So let’s first figure out how large of
a network ID extension is needed:
â—Ž â–  Two NE digits = 2 2
◎ – 2 = 2 network IDs
â—Ž First, move the NE over three digits. This creates a /27 subnet for all the new network IDs (Figure 7.30).
◎ To help you visualize the address range, I’ll calculate the first two subnets—using 001 and 011 (Figure 7.31). Please do the other four for practice.
â—Ž Note that in this case you only get
◎ 25–2=30hosts per network
â—Ž ID! These better be small networks!
â—Ž Converting these to dotted decimal we get:
◎ 192.168.4.32/27 (192.168.4.33 – 192.168.4.62)
◎ 192.168.4.64/27 (192.168.4.65 – 192.168.4.94)
◎ 192.168.4.96/27 (192.168.4.97 – 192.168.4.126)
◎ 192.168.4.128/27 (192.168.4.129 – 192.168.4.158)
◎ 192.168.4.160/27 (192.168.4.161 – 192.168.4.190)
CIDR: SUBNETTING IN THE
REAL WORLD
◎ there’s a better than average chance that you’ll never have to do subnetting in
the real world. That’s not to say that subnetting isn’t important. It’s a critical
part of the structure of the Internet.
â—Ž There are two situations in which subnetting most commonly takes place:
1. ISPs who receive class licenses from IANA and then subnet those class
licenses for customers, and very large customers who take subnets (some -
times already subnetted class licenses from ISPs) and make their own
subnets.
2. even if you never do your own subnetting, there’s a pretty good
3. chance that you’ll contact an ISP and get CIDR addresses. You can’t think
about subnet masks in terms of dotted decimal.
4. there’s a better than average chance you’ll look to more advanced IT
certifications. Most Cisco, many Microsoft, and a large number of other
USING IP ADDRESSES
â—Ž There are two ways to give a computer an IP address,
subnet mask, and default gateway: either by typing in all
the information (called static addressing) or by having
some server program running on a system that
automatically passes out all the IP information to systems
as they boot up on or connect to a network (called
dynamic addressing)
â—Ž Static IP Addressing
â—‰ Static addressing means typing all of the IP information
into each of your clients. But before you type in anything,
you have to answer two questions: what are you typing in
â—Ž each computer must have an IP address, a subnet mask, and a default gateway.
â—Ž First, decide what network ID to use. In the old days, you were given a block of IP
addresses from your ISP to use.
◎ Assume that’s still the method and you’ve been allocated a Class C license for
197.156.4/24.
â—Ž That
â—Ž said, most networks follow a common set of principles:
1. Give the default gateway the first IP address in the network ID.
2. Try to use the IP addresses in some kind of sequential order.
3. Try to separate servers from clients. For example, servers could have the IP addresses
197.156.4.10 to 197.156.4.19, while the clients range from 197.156.4.200 to
197.156.4.254.
â—Ž IFCONFIG command
Data communication  part 6
Data communication  part 6
Data communication  part 6
Data communication  part 6

More Related Content

What's hot

Subnetting
SubnettingSubnetting
SubnettingRinkuMonani
 
Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)maamir farooq
 
Subnetting
SubnettingSubnetting
Subnettingswascher
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyKashif Sohail
 
Subnetting One Page Info
Subnetting One Page InfoSubnetting One Page Info
Subnetting One Page InfoNicholas Shell
 
Network layer Part 3
Network layer Part 3Network layer Part 3
Network layer Part 3Tutun Juhana
 
network Addressing
network Addressingnetwork Addressing
network AddressingTauseef khan
 
Subneting And Summarization
Subneting And SummarizationSubneting And Summarization
Subneting And SummarizationCCNAResources
 
6 subnetting
6 subnetting6 subnetting
6 subnettingOmar Salem
 
How to IP Subnetting IPV4
How to IP Subnetting IPV4How to IP Subnetting IPV4
How to IP Subnetting IPV4Ariful Islam
 
Very Simple way of subnetting for Class C.
Very Simple way of  subnetting for Class C.Very Simple way of  subnetting for Class C.
Very Simple way of subnetting for Class C.Nabeel Ahmad
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2Aaron Angeles
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorialmikem801
 
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...Rai University
 

What's hot (18)

Subnetting
SubnettingSubnetting
Subnetting
 
Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)Lec 5(Ip Addressing and Subnets)
Lec 5(Ip Addressing and Subnets)
 
Subnetting
SubnettingSubnetting
Subnetting
 
13788 3
13788 313788 3
13788 3
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
Subnetting One Page Info
Subnetting One Page InfoSubnetting One Page Info
Subnetting One Page Info
 
Network layer Part 3
Network layer Part 3Network layer Part 3
Network layer Part 3
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 
Subneting And Summarization
Subneting And SummarizationSubneting And Summarization
Subneting And Summarization
 
6 subnetting
6 subnetting6 subnetting
6 subnetting
 
How to IP Subnetting IPV4
How to IP Subnetting IPV4How to IP Subnetting IPV4
How to IP Subnetting IPV4
 
Very Simple way of subnetting for Class C.
Very Simple way of  subnetting for Class C.Very Simple way of  subnetting for Class C.
Very Simple way of subnetting for Class C.
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Day 5.5 subnetting
Day 5.5 subnettingDay 5.5 subnetting
Day 5.5 subnetting
 
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
B.sc cs-ii-u-1.9 digital logic circuits, digital component floting and fixed ...
 
Addressing
AddressingAddressing
Addressing
 

Viewers also liked

Data communication and network
Data communication and networkData communication and network
Data communication and networkHardik Patel
 
30930100 allen-bradley
30930100 allen-bradley30930100 allen-bradley
30930100 allen-bradleyalimoya13
 
GLYCEROL RECOVERY SYSTEM Final Presentation
GLYCEROL RECOVERY SYSTEM Final PresentationGLYCEROL RECOVERY SYSTEM Final Presentation
GLYCEROL RECOVERY SYSTEM Final PresentationKamal Hakim Zainal Alam
 
communication and network concepts
communication and network concepts communication and network concepts
communication and network concepts Gunjan Mathur
 
Control Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance systemControl Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance systemNitin Jagtap
 
Device net guide
Device net guideDevice net guide
Device net guideares111
 
Data communication computer_network_tutorial
Data communication computer_network_tutorialData communication computer_network_tutorial
Data communication computer_network_tutorialMaulen Bale
 
The Internet of Things with InduSoft and Raspberry Pi
The Internet of Things with InduSoft and Raspberry PiThe Internet of Things with InduSoft and Raspberry Pi
The Internet of Things with InduSoft and Raspberry PiAVEVA
 
Practical Fieldbus, DeviceNet & Ethernet for Indusrty
Practical Fieldbus, DeviceNet & Ethernet for IndusrtyPractical Fieldbus, DeviceNet & Ethernet for Indusrty
Practical Fieldbus, DeviceNet & Ethernet for IndusrtyLiving Online
 
Emf2179 ib _devicenet aif module__v3-0__en
Emf2179 ib _devicenet aif module__v3-0__enEmf2179 ib _devicenet aif module__v3-0__en
Emf2179 ib _devicenet aif module__v3-0__enCharles Santos
 
Bus Off DeviceNet June-FINAL
Bus Off DeviceNet June-FINALBus Off DeviceNet June-FINAL
Bus Off DeviceNet June-FINALThomas O Connell
 
Can Bus communication Protocol
Can Bus communication ProtocolCan Bus communication Protocol
Can Bus communication ProtocolPedro Campana Cueto
 
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU Gateways
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU GatewaysIntroduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU Gateways
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU GatewaysICP DAS USA, Inc.
 
Data communication
Data communicationData communication
Data communicationAnne Perera
 
Control Area Network
Control Area NetworkControl Area Network
Control Area Networkvenkat thangella
 
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web Studio
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web StudioTag Integration with Schneider Electric PLCs and Modbus in InduSoft Web Studio
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web StudioAVEVA
 

Viewers also liked (20)

Data communication and network
Data communication and networkData communication and network
Data communication and network
 
30930100 allen-bradley
30930100 allen-bradley30930100 allen-bradley
30930100 allen-bradley
 
GLYCEROL RECOVERY SYSTEM Final Presentation
GLYCEROL RECOVERY SYSTEM Final PresentationGLYCEROL RECOVERY SYSTEM Final Presentation
GLYCEROL RECOVERY SYSTEM Final Presentation
 
communication and network concepts
communication and network concepts communication and network concepts
communication and network concepts
 
Control Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance systemControl Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance system
 
Device net guide
Device net guideDevice net guide
Device net guide
 
77637370 presentacion-devicenet
77637370 presentacion-devicenet77637370 presentacion-devicenet
77637370 presentacion-devicenet
 
Data communication computer_network_tutorial
Data communication computer_network_tutorialData communication computer_network_tutorial
Data communication computer_network_tutorial
 
The Internet of Things with InduSoft and Raspberry Pi
The Internet of Things with InduSoft and Raspberry PiThe Internet of Things with InduSoft and Raspberry Pi
The Internet of Things with InduSoft and Raspberry Pi
 
Devicenet
DevicenetDevicenet
Devicenet
 
Practical Fieldbus, DeviceNet & Ethernet for Indusrty
Practical Fieldbus, DeviceNet & Ethernet for IndusrtyPractical Fieldbus, DeviceNet & Ethernet for Indusrty
Practical Fieldbus, DeviceNet & Ethernet for Indusrty
 
Emf2179 ib _devicenet aif module__v3-0__en
Emf2179 ib _devicenet aif module__v3-0__enEmf2179 ib _devicenet aif module__v3-0__en
Emf2179 ib _devicenet aif module__v3-0__en
 
Bus Off DeviceNet June-FINAL
Bus Off DeviceNet June-FINALBus Off DeviceNet June-FINAL
Bus Off DeviceNet June-FINAL
 
Can Bus communication Protocol
Can Bus communication ProtocolCan Bus communication Protocol
Can Bus communication Protocol
 
CAN- controlled area network
CAN- controlled area networkCAN- controlled area network
CAN- controlled area network
 
Ppt devicenet
Ppt devicenetPpt devicenet
Ppt devicenet
 
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU Gateways
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU GatewaysIntroduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU Gateways
Introduction to Modbus to Ethernet Device Servers and Modbus TCP to RTU Gateways
 
Data communication
Data communicationData communication
Data communication
 
Control Area Network
Control Area NetworkControl Area Network
Control Area Network
 
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web Studio
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web StudioTag Integration with Schneider Electric PLCs and Modbus in InduSoft Web Studio
Tag Integration with Schneider Electric PLCs and Modbus in InduSoft Web Studio
 

Similar to Data communication part 6

Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eadpeer
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxgamerchan1
 
Rashmi T S-Intrenship PPT.pptx
Rashmi T S-Intrenship PPT.pptxRashmi T S-Intrenship PPT.pptx
Rashmi T S-Intrenship PPT.pptxManojGowdaKb
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategyMustafa Salam
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptxSintayehuBeyene2
 
Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2Beth Bauzon
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IPHameda Hurmat
 
Free CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfFree CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfNetworkershome
 
Student IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptStudent IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptjohnBronson6
 
I Paddress
I PaddressI Paddress
I Paddressamit_monty
 
Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBharathKumarRaju DasaraRaju
 
3 ip address
3 ip address3 ip address
3 ip addressJadavsejal
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipAtika Zaimi
 
Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011Serious_SamSoul
 

Similar to Data communication part 6 (20)

Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
Rashmi T S-Intrenship PPT.pptx
Rashmi T S-Intrenship PPT.pptxRashmi T S-Intrenship PPT.pptx
Rashmi T S-Intrenship PPT.pptx
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
Bots.pdf
Bots.pdfBots.pdf
Bots.pdf
 
Free CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdfFree CCNA workbook by networkers home pdf
Free CCNA workbook by networkers home pdf
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
 
Student IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.pptStudent IP Addressing Tutorial.ppt
Student IP Addressing Tutorial.ppt
 
I Paddress
I PaddressI Paddress
I Paddress
 
Subnetting
SubnettingSubnetting
Subnetting
 
Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing system
 
3 ip address
3 ip address3 ip address
3 ip address
 
Network Layer V.ppt
Network Layer V.pptNetwork Layer V.ppt
Network Layer V.ppt
 
Topic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpipTopic 2.3 network addressing for tcpip
Topic 2.3 network addressing for tcpip
 
Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011Lecture 3 -_internet_infrastructure_updated_2011
Lecture 3 -_internet_infrastructure_updated_2011
 

More from Alex Fernandez

Shipping your logs to elk from mule app/cloudhub part 3
Shipping  your logs to elk from mule app/cloudhub  part 3Shipping  your logs to elk from mule app/cloudhub  part 3
Shipping your logs to elk from mule app/cloudhub part 3Alex Fernandez
 
Shipping your logs to elk from mule app/cloudhub part 2
Shipping your logs to elk from mule app/cloudhub   part 2Shipping your logs to elk from mule app/cloudhub   part 2
Shipping your logs to elk from mule app/cloudhub part 2Alex Fernandez
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1Alex Fernandez
 
My journey and learnings using mule esb 2
My journey and learnings using mule esb 2My journey and learnings using mule esb 2
My journey and learnings using mule esb 2Alex Fernandez
 
My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1Alex Fernandez
 
Spring batch introduction
Spring batch introductionSpring batch introduction
Spring batch introductionAlex Fernandez
 
Creating debian package in mule apps 1
Creating debian package in mule apps 1Creating debian package in mule apps 1
Creating debian package in mule apps 1Alex Fernandez
 
Data communication Part 11
Data communication Part 11Data communication Part 11
Data communication Part 11Alex Fernandez
 
Data communication part 8
Data communication part 8Data communication part 8
Data communication part 8Alex Fernandez
 
Data communication part 7
Data communication part 7Data communication part 7
Data communication part 7Alex Fernandez
 
Using schemas in parsing xml part 1
Using schemas in parsing xml part 1Using schemas in parsing xml part 1
Using schemas in parsing xml part 1Alex Fernandez
 
Using schemas in parsing xml part 2
Using schemas in parsing xml part 2Using schemas in parsing xml part 2
Using schemas in parsing xml part 2Alex Fernandez
 
Data Communication Concepts Part 5
Data Communication Concepts Part 5Data Communication Concepts Part 5
Data Communication Concepts Part 5Alex Fernandez
 
Jasper Report - Lesson
Jasper Report - LessonJasper Report - Lesson
Jasper Report - LessonAlex Fernandez
 
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1Alex Fernandez
 

More from Alex Fernandez (16)

Shipping your logs to elk from mule app/cloudhub part 3
Shipping  your logs to elk from mule app/cloudhub  part 3Shipping  your logs to elk from mule app/cloudhub  part 3
Shipping your logs to elk from mule app/cloudhub part 3
 
Shipping your logs to elk from mule app/cloudhub part 2
Shipping your logs to elk from mule app/cloudhub   part 2Shipping your logs to elk from mule app/cloudhub   part 2
Shipping your logs to elk from mule app/cloudhub part 2
 
Shipping your logs to elk from mule app/cloudhub part 1
Shipping  your logs to elk from mule app/cloudhub   part 1Shipping  your logs to elk from mule app/cloudhub   part 1
Shipping your logs to elk from mule app/cloudhub part 1
 
My journey and learnings using mule esb 2
My journey and learnings using mule esb 2My journey and learnings using mule esb 2
My journey and learnings using mule esb 2
 
My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1My journey and learnings using mule esb part 1
My journey and learnings using mule esb part 1
 
docker compose
docker composedocker compose
docker compose
 
Spring batch introduction
Spring batch introductionSpring batch introduction
Spring batch introduction
 
Creating debian package in mule apps 1
Creating debian package in mule apps 1Creating debian package in mule apps 1
Creating debian package in mule apps 1
 
Data communication Part 11
Data communication Part 11Data communication Part 11
Data communication Part 11
 
Data communication part 8
Data communication part 8Data communication part 8
Data communication part 8
 
Data communication part 7
Data communication part 7Data communication part 7
Data communication part 7
 
Using schemas in parsing xml part 1
Using schemas in parsing xml part 1Using schemas in parsing xml part 1
Using schemas in parsing xml part 1
 
Using schemas in parsing xml part 2
Using schemas in parsing xml part 2Using schemas in parsing xml part 2
Using schemas in parsing xml part 2
 
Data Communication Concepts Part 5
Data Communication Concepts Part 5Data Communication Concepts Part 5
Data Communication Concepts Part 5
 
Jasper Report - Lesson
Jasper Report - LessonJasper Report - Lesson
Jasper Report - Lesson
 
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1
Introduction to Unit Testing for Mule Flows using Munit(Java) - Part 1
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

Data communication part 6

  • 2. CALCULATING SUBNETS â—Ž When you subnet a network ID, you need to follow the rules and conventions dictated by the good folks who developed TCP/IP to ensure that your new subnets can interact properly with each other and with larger networks. The rules to subnetting are as follows: â—Ž 1. Starting with a beginning subnet mask, you extend the subnet extension until you have the number of subnets you need. â—Ž 2. You cannot have an NE of all zeroes or all ones, so you calculate the number of subnets using this formula: new subnets = 2(number of network ID extension digits)– 2. â—Ž 3. You cannot have a single-character network ID extension. You always start by moving the subnet at least two digits
  • 3.
  • 4.
  • 5.
  • 6. â—Ž Since the network ID extension can’t be all zeroes and all ones, you only get two new network IDs. â—Ž Figure 7.28 shows all of the IP addresses for each of the two new network IDs. â—Ž Now convert these two network IDs back to dotted decimal: â—Ž 192.168.4.64/26 (192.168.4.65 – 192.168.4.126) â—Ž 192.168.4.128/26 (192.168.4.129 – 192.168.4.191) â—Ž Congratulations! You’ve just taken a single network ID, â—Ž 192.168.4.0/24, and subnetted it into two new network IDs! â—Ž Figure 7.29 shows how you can use these two network IDs in a network. â—Ž There’s only one problem ⎯the cafĂ© needs three subnets, not just two! So let’s first figure out how large of a network ID extension is needed: â—Ž â–  Two NE digits = 2 2 â—Ž – 2 = 2 network IDs
  • 7.
  • 8.
  • 9.
  • 10. â—Ž First, move the NE over three digits. This creates a /27 subnet for all the new network IDs (Figure 7.30). â—Ž To help you visualize the address range, I’ll calculate the first two subnets—using 001 and 011 (Figure 7.31). Please do the other four for practice. â—Ž Note that in this case you only get â—Ž 25–2=30hosts per network â—Ž ID! These better be small networks! â—Ž Converting these to dotted decimal we get: â—Ž 192.168.4.32/27 (192.168.4.33 – 192.168.4.62) â—Ž 192.168.4.64/27 (192.168.4.65 – 192.168.4.94) â—Ž 192.168.4.96/27 (192.168.4.97 – 192.168.4.126) â—Ž 192.168.4.128/27 (192.168.4.129 – 192.168.4.158) â—Ž 192.168.4.160/27 (192.168.4.161 – 192.168.4.190)
  • 11. CIDR: SUBNETTING IN THE REAL WORLD â—Ž there’s a better than average chance that you’ll never have to do subnetting in the real world. That’s not to say that subnetting isn’t important. It’s a critical part of the structure of the Internet. â—Ž There are two situations in which subnetting most commonly takes place: 1. ISPs who receive class licenses from IANA and then subnet those class licenses for customers, and very large customers who take subnets (some - times already subnetted class licenses from ISPs) and make their own subnets. 2. even if you never do your own subnetting, there’s a pretty good 3. chance that you’ll contact an ISP and get CIDR addresses. You can’t think about subnet masks in terms of dotted decimal. 4. there’s a better than average chance you’ll look to more advanced IT certifications. Most Cisco, many Microsoft, and a large number of other
  • 12. USING IP ADDRESSES â—Ž There are two ways to give a computer an IP address, subnet mask, and default gateway: either by typing in all the information (called static addressing) or by having some server program running on a system that automatically passes out all the IP information to systems as they boot up on or connect to a network (called dynamic addressing) â—Ž Static IP Addressing â—‰ Static addressing means typing all of the IP information into each of your clients. But before you type in anything, you have to answer two questions: what are you typing in
  • 13.
  • 14. â—Ž each computer must have an IP address, a subnet mask, and a default gateway. â—Ž First, decide what network ID to use. In the old days, you were given a block of IP addresses from your ISP to use. â—Ž Assume that’s still the method and you’ve been allocated a Class C license for 197.156.4/24. â—Ž That â—Ž said, most networks follow a common set of principles: 1. Give the default gateway the first IP address in the network ID. 2. Try to use the IP addresses in some kind of sequential order. 3. Try to separate servers from clients. For example, servers could have the IP addresses 197.156.4.10 to 197.156.4.19, while the clients range from 197.156.4.200 to 197.156.4.254.