0% found this document useful (0 votes)
194 views16 pages

Ip Addressing

The document discusses IP addressing and subnetting. It covers IP versions 4 and 6, how IP addresses are divided into network and host addresses, and IPv4 address space. It also defines private and public IP addresses. Various classes of IP addresses are identified. The concepts of network ID, host ID, and default versus custom subnet masks are explained. Examples are provided to illustrate how different subnet masks partition the 192.168.70.0 network into multiple subnetworks and hosts.

Uploaded by

May Thin Khine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
194 views16 pages

Ip Addressing

The document discusses IP addressing and subnetting. It covers IP versions 4 and 6, how IP addresses are divided into network and host addresses, and IPv4 address space. It also defines private and public IP addresses. Various classes of IP addresses are identified. The concepts of network ID, host ID, and default versus custom subnet masks are explained. Examples are provided to illustrate how different subnet masks partition the 192.168.70.0 network into multiple subnetworks and hosts.

Uploaded by

May Thin Khine
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

CHAPTER – 5 Network

IP ADDRESSING AND SUBNETTING

 IP - Internet protocol
 IP address
1) Version 4 32 bits
2) Version 6 128 bits
 IP address is divided into a “network address” for multiple networks,
and a “host address” for multiple computers within a network.

1
CHAPTER – 5 Network

IP ADDRESSING AND SUBNETTING

Note:

The IP addresses are unique.

2
CHAPTER – 5 Network

IP ADDRESSING AND SUBNETTING

Note:

The address space of IPv4 is


232 or 4,294,967,296.

3
CHAPTER – 5 Network

IP V4

 e.g. 192.168.70.45
 1st Octet. 2nd Octet. 3rd Octet. 4th Octet
 8 bits. 8 bits. 8 bits. 8 bits = 32 bits

BINARY From 0000 0000 to 1111 1111

DECIMAL From 0 to 255

1st Octet 2nd Octet 3rd Octet 4th Octet

Binary notation 1100 0000 1010 1000 0100 0110 0010 1101

Decimal notation 192. 168. 70. 45

4
CHAPTER – 5 Network

How to Identify Class A / B / C / D / E

 CLASS A 1 to 126 [1.0.0.0 to 126.255.255.255]

 CLASS B 128 to 191 [128.0.0.0 to 191.255.255.255]

 CLASS C 192 to 223 [192.0.0.0 to 223.255.255.255]

 CLASS D 224 to 239 (Reserved for multicast)

 CLASS E 240 to 255 (Reserved for experimental / for

research)

***LOCAL HOST / LOOPBACK ADDRESS - 127.0.0.0 to 127.255.255.255

5
CHAPTER – 5 Network

How to Identify Class A / B / C / D / E

 CLASS A 0000 0000 to 0111 1111

 CLASS B 1000 0000 to 1011 1111

 CLASS C 1100 0000 to 1101 1111

 CLASS D 1110 0000 to 1110 1111

 CLASS E 1111 0000 to 1111 1111

6
CHAPTER – 5 Network

How to Identify Class A / B / C / D / E

Address Class

10.250.1.1 _____

150.10.15.0 _____

192.14.2.0 _____

148.17.9.1 _____

193.42.1.1 _____

126.8.156.0 _____

220.200.23.1 _____

7
CHAPTER – 5 Network

Net ID & Host ID

 Class A Net ID. Host ID. Host ID. Host ID

Subnet mask 255.0.0.0 OR /8

 Class B Net ID. Net ID. Host ID. Host ID

Subnet mask 255.255.0.0 /16

 Class C Net ID. Net ID. Net ID. Host ID

Subnet mask 255.255.255.0 /24

***Same Net ID ---> Same Network

***Different Net ID ---> Different Network


8
CHAPTER – 5 Network

Private IP address & Public IP address

Private IP address

1) 10.0.0.0 to 10.255.255.255/8

2) 172.16.0.0 to 172.31.255.255/12

3) 192.168.0.0 to 192.168.255.255/16

***The remaining IP addresses are Public IP address.

***Public IP address also called Routable IP address (Global IP address).

9
CHAPTER – 5 Network

Default Subnet Masks

 192.168.70.0/24
 255.255.255. 0
 (1111 1111. 1111 1111. 1111 1111. 0000 0000)
 number of hosts = 2^8 = 256 - 1 - 1 = 254 hosts

LAN -1
--------
 Network address = 192.168.70.0
 First usable IP address = 192.168.70.1
 Last usable IP address = 192.168.70.254
 Broadcast address = 192.168.70.255
10
CHAPTER – 5 Network

Custom Subnet Masks

 192.168.70.0/25

 255.255.255. 128

 (1111 1111. 1111 1111. 1111 1111. 1000 0000)

 number of subnetwork = 2^1 = 2 subnetwork

 number of hosts per subnetwork = 2^7 = 128 - 1 - 1 = 126 hosts

11
CHAPTER – 5 Network

Custom Subnet Masks


LAN -1
Network address = 192.168.70.0
First usable IP address = 192.168.70.1
Last usable IP address = 192.168.70.126
Broadcast address = 192.168.70.127

LAN -2
Network address = 192.168.70.128
First usable IP address = 192.168.70.129
Last usable IP address = 192.168.70.254
Broadcast address = 192.168.70.255
12
CHAPTER – 5 Network

Custom Subnet Masks

 192.168.70.0/26

 255.255.255. 192

 (1111 1111. 1111 1111. 1111 1111. 1100 0000)

 number of subnetwork = 2^2 = 4 subnetwork

 number of hosts per subnetwork = 2^6 = 64 - 1 - 1 = 62 hosts

13
CHAPTER – 5 Network

Custom Subnet Masks


LAN -1
Network address = 192.168.70.0
First usable IP address = 192.168.70.1
Last usable IP address = 192.168.70.62
Broadcast address = 192.168.70.63

LAN -2
Network address = 192.168.70.64
First usable IP address = 192.168.70.65
Last usable IP address = 192.168.70.126
Broadcast address = 192.168.70.127
14
CHAPTER – 5 Network

Custom Subnet Masks


LAN -3
Network address = 192.168.70.128
First usable IP address = 192.168.70.129
Last usable IP address = 192.168.70.190
Broadcast address = 192.168.70.191

LAN -4
Network address = 192.168.70.192
First usable IP address = 192.168.70.193
Last usable IP address = 192.168.70.254
Broadcast address = 192.168.70.255
15
CHAPTER – 5 Network

Custom Subnet Masks

Self-Practice

192.168.70.0/27

192.168.70.0/28

192.168.70.0/29

192.168.70.0/30

192.168.70.0/31

192.168.70.0/32

16

You might also like