Finals IP Addressing Comms 2
Finals IP Addressing Comms 2
Finals IP Addressing Comms 2
and
SUBNETTING
IP Address
House Address
Network Address
114 BPThai- Street
Street Name / Address
105 BPThai- Street
223 BPthai- Street
Broadcast Address
Barangay Address
BPThai- Street
NUMBER SYSTEM
• Decimal
The decimal numeral system (also called the base-ten positional numeral
system ) is the standard system for denoting integer and
non-integer numbers.
An individual bit has a value from 0 to 9
• Binary
The digital representation of text and data · Bit, or binary digit, the basic
unit of information in computers
An individual bit has a value of either 0 or 1
• Hexadecimal
In mathematics and computing, the hexadecimal (also base-16 or simply hex)
numeral system is a positional numeral system that represents numbers
using a radix (base) of 16
Conversion
192.168.1.1
8bits
YES = 1 1 1 0 0 0 0 0 0
NO = 0
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
128 64 32 16 8 4 2 1
DECIMAL YETO BINARY
Examples
204 YES = 1
11 0 0 11 0 0
NO = 0
175 1 0 1 0 1 1 11
168 10 1 0 10 00
132 10 0 0 0 1 00
59 0 0 1 1 1 0 11
Binary to YEDecimal
Examples
10101000
128 +32 +8 =168
10000100 128 +4 = 132
00111011 32 +16 +8 +2 +1 =59
10101010
128 +32 +8 +2=170
2 VERSION OF IP ADDRESS
• IPv4 Address
• IPv6 Address
IPv4 Structure
EXAMPLES:
2. Subnetting
SUBNETTING
APNIC 49.0.0.0 /8
49.100.64.0/19
1000 Networks PLDT
🡪 to get the number of bits, convert the required network into binary, then omit the leading zeroes
10 network convert to binary
10 = 0 0 0 0 1 0 1 0 🡪 4 bits
50 networks 6 bits
20 networks 5 bits
6 networks 3 bits
100 networks 7 bits
Subnetting by Network Requirements
192.168.50.0/24 🡪 Subnet into 10 Networks
Step 1 : How many networks required? 🡪 10 networks
Step 2 : How many bits ? 🡪 4 bits
Step 3: Get New Subnet Mask (NSM) 🡪 /28 Long Format 🡪 255.255.255.240
/30 4
/26 64
/13 8
/18 64
/29 8
Subnetting by Network Requirements
192.168.50.0/24 🡪 Subnet into 10 Networks
Step 1 : How many networks required? 🡪 10 networks
Step 2 : How many bits ? 🡪 4 bits
Step 3: Get New Subnet Mask (NSM) 🡪 /28 Long Format 🡪 255.255.255.240
Step 4: Get increment 🡪 16
Step 5.1: Copy classful Network address 🡪192.168.50.0
5.2 Add increment to octet where subnet mask stops 🡪192.168.50.16
11111111.11111111.11111111.11000000
6 bits
New subnet mask = 32 - # bits
NSM = 32 -6 🡪 26
1. 201.52.60.0/24 , 20 networks
2. 185.32.0.0/16 , 2000 networks
3. 10.0.0.0/8 , 6000 networks
4. 192.168.1.0/24 , 30 networks
5. 80.0.0.0/8 , 5000 networks
Subnetting by Host requirements
1. 192.168.10.0/24 , 50 hosts
2. 172.16.0.0/16 , 3000 hosts
3. 10.0.0.0/8 , 3500 hosts
4. 195.100.30.0/24 , 100 hosts
5. 180.52.0.0/16 , 1000 hosts