Data Networking Year 2 <ul><ul><li>IP Addressing Revisited </li></ul></ul><ul><ul><li>Colm Bennett </li></ul></ul>
IP Addressing <ul><li>32 Bit number, 4 decimal parts, e.g.192.168.1.0 </li></ul><ul><li>Unique Host Address </li></ul><ul>...
Network/Host <ul><li>Network ID </li></ul><ul><ul><li>Same for all hosts on the one physical segment </li></ul></ul><ul><u...
Physical Segment <ul><li>Broadcast domain </li></ul><ul><ul><li>i.e. The part of the network that will respond to a broadc...
Classes <ul><li>Class A </li></ul><ul><ul><li>First Octet 0-127 </li></ul></ul><ul><ul><li>Network.Host.Host.Host </li></u...
Classes <ul><li>Easy way to remember </li></ul><ul><ul><li>Each class is half the size of the previous </li></ul></ul><ul>...
Private Address Spaces <ul><li>Class A </li></ul><ul><ul><li>10.0.0.0  </li></ul></ul><ul><li>Class B </li></ul><ul><ul><l...
Subnet Mask <ul><li>Subnet Mask is 32 bit number that indicates the network and host parts of an IP address </li></ul><ul>...
Alternative Notation <ul><li>“Slash” notation puts a number after the IP Address indicating how many bits will be used for...
How Many IDs for each class? <ul><li>Network Ids </li></ul><ul><ul><li>Simply take the total maximum number of the network...
How Many Ids for each class? <ul><li>Host Ids </li></ul><ul><ul><li>Don't use all 0's or all 1's host Ids </li></ul></ul><...
Upcoming SlideShare
Loading in …5
×

Ip Adressing Intro

5,160 views
5,122 views

Published on

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,160
On SlideShare
0
From Embeds
0
Number of Embeds
18
Actions
Shares
0
Downloads
73
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Ip Adressing Intro

    1. 1. Data Networking Year 2 <ul><ul><li>IP Addressing Revisited </li></ul></ul><ul><ul><li>Colm Bennett </li></ul></ul>
    2. 2. IP Addressing <ul><li>32 Bit number, 4 decimal parts, e.g.192.168.1.0 </li></ul><ul><li>Unique Host Address </li></ul><ul><li>Subnet Mask </li></ul><ul><ul><li>Identifies which part of the IP address is the Network Address and which is the Host Address </li></ul></ul><ul><li>Default Gateway </li></ul><ul><ul><li>IP Address of the router on the same physical segment </li></ul></ul>
    3. 3. Network/Host <ul><li>Network ID </li></ul><ul><ul><li>Same for all hosts on the one physical segment </li></ul></ul><ul><ul><li>Unique within the overall network </li></ul></ul><ul><li>Host ID </li></ul><ul><ul><li>Identifies a particular device within this segment </li></ul></ul><ul><ul><li>Unique within the segment </li></ul></ul>
    4. 4. Physical Segment <ul><li>Broadcast domain </li></ul><ul><ul><li>i.e. The part of the network that will respond to a broadcast packet </li></ul></ul><ul><li>So repeaters, bridges, switches etc all included as they forward on broadcasts </li></ul><ul><li>But routers don't so a segment is... </li></ul><ul><ul><ul><li>All devices out of one port of a router </li></ul></ul></ul><ul><ul><ul><li>All devices between router </li></ul></ul></ul><ul><li>All devices have same network ID and a unique Host ID </li></ul>
    5. 5. Classes <ul><li>Class A </li></ul><ul><ul><li>First Octet 0-127 </li></ul></ul><ul><ul><li>Network.Host.Host.Host </li></ul></ul><ul><li>Class B </li></ul><ul><ul><li>First Octet 128-191 </li></ul></ul><ul><ul><li>Network.Network.Host.Host </li></ul></ul><ul><li>Class C </li></ul><ul><ul><li>First Octet 192-223 </li></ul></ul><ul><ul><li>Network.Network.Network.Host </li></ul></ul><ul><li>D and E are for special uses </li></ul>
    6. 6. Classes <ul><li>Easy way to remember </li></ul><ul><ul><li>Each class is half the size of the previous </li></ul></ul><ul><ul><li>256 possible values for the first Octet </li></ul></ul><ul><ul><li>Half these are given to class A </li></ul></ul><ul><ul><ul><li>1-127 </li></ul></ul></ul><ul><ul><li>Half the remaining 128 (64) are given to B </li></ul></ul><ul><ul><ul><li>128-191 </li></ul></ul></ul><ul><ul><li>Half the remaining 64 (32) are given to C </li></ul></ul><ul><ul><ul><li>192-223 </li></ul></ul></ul><ul><ul><li>And again for D and E </li></ul></ul>
    7. 7. Private Address Spaces <ul><li>Class A </li></ul><ul><ul><li>10.0.0.0 </li></ul></ul><ul><li>Class B </li></ul><ul><ul><li>16 Class B's starting from 172.16.0.0 </li></ul></ul><ul><li>Class C </li></ul><ul><ul><li>256 Class C's starting from 192.168.0.0 </li></ul></ul>
    8. 8. Subnet Mask <ul><li>Subnet Mask is 32 bit number that indicates the network and host parts of an IP address </li></ul><ul><li>1's indicate the network part, 0's the host part </li></ul><ul><li>Doesn't have any real meaning in isolation </li></ul><ul><ul><li>Only makes sense when used with an IP address </li></ul></ul><ul><li>What are the subnet masks implied in the standard Class A, B & C networks? </li></ul>
    9. 9. Alternative Notation <ul><li>“Slash” notation puts a number after the IP Address indicating how many bits will be used for the network address </li></ul><ul><li>Sometimes called the “Prefix” as it indicates the IP address is prefixed with a certain number of network bits </li></ul><ul><li>So 192.168.5.0 /24 means the first 24 bits are the network part </li></ul><ul><ul><li>Same as subnet mask of 255.255.255.0 </li></ul></ul>
    10. 10. How Many IDs for each class? <ul><li>Network Ids </li></ul><ul><ul><li>Simply take the total maximum number of the network part for that Class </li></ul></ul><ul><ul><ul><li>Exception are two class A's not available – 0 and 127 </li></ul></ul></ul><ul><ul><ul><li>127 is reserved for Loopback and diagnostics </li></ul></ul></ul><ul><ul><li>e.g. Class C 192.0.0 .0 - 223.255.255 .255 </li></ul></ul><ul><ul><ul><li>So max number of network Ids is 32*256*256 </li></ul></ul></ul><ul><ul><ul><li>2,097,152 </li></ul></ul></ul>
    11. 11. How Many Ids for each class? <ul><li>Host Ids </li></ul><ul><ul><li>Don't use all 0's or all 1's host Ids </li></ul></ul><ul><ul><li>All 0's identifies the network </li></ul></ul><ul><ul><li>All 1's is the network broadcast address </li></ul></ul><ul><li>So always take 2 off the possible hosts </li></ul><ul><li>Class C (255.255.255.0) has the last octet for hosts </li></ul><ul><ul><li>So 256 – 2 = 254 </li></ul></ul><ul><li>Other Classes? </li></ul>

    ×