You are on page 1of 20

IP ADDRESS CALCULATING

Create a Subnetting Worksheet to show and record all work for each problem

Problem 1

You were given

Host IP Address Subnet Mask


172.30.1.33 255.255.255.0

You need to find

1. Number of Subnet Bits : 8 bits


2. Number of Subnets : 28 = 256 subnets
3. Number of Host Bits per Subnet : 8 bits
4. Number of Usable Hosts per Subnet : 28 2: 256 2= 254 usable host
5. Subnet Address for this IP Address : 172.30.1.0
6. IP Address of First Host on this Subnet : 172.30.1.1
7. IP Address of Last Host on this Subnet : 172.30.1.254
8. Broadcast Address for this Subnet : 172.30.1.255

1. Number of Subnet Bits


- Change decimal number to binary number of subnet mask
- You can plus the number of 128, 64, 32, 16, 8, 4, 2, and 1 to make a decimal number by
manual. For example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
- So, if you had done plus the number. You can make binary number by change the number
that you plus into 1. For Example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
= 1 1 1 1 1 1 1 1 = 255
- You need to split between network and host according to the class
- This is class B

Network Network Host Host


255 255 255 0
11111111 11111111 11111111 00000000

- If you want to find the subnet bits, you had to count the number 1 on host only.

NUMBER OF SUBNET BITS = 8 bits


2. Number of Subnets
- By using formula of 2 . Number of subnets is the number subnet bits that you had been
count before this
- Number of subnets is the number 1 on host
Network Network Host Host
255 255 255 0
11111111 11111111 11111111 00000000

NUMBER OF SUBNETS: = 256 subnet

3. Number of Host Bits per Subnet


- Its just the same as Number of Subnet Bits. The different is just you had to count the
number 0 on host.
- Number of host bits is the number 0 on host

Network Network Host Host


255 255 255 0
11111111 11111111 11111111 00000000

NUMBER OF HOST BITS PER SUBNET = 8 bits

4. Number of Usable Hosts per Subnet


- By using formula of 2 2. Number of usable host is the number host bits per subnet that
you had been count before this.

Network Network Host Host


255 255 255 0
11111111 11111111 11111111 00000000

NUMBER OF USABLE HOSTS PER SUBNET: = 254 usable host


5. Subnet Address for this IP Address
- Convert decimal number to binary number first

IP ADDRESS SUBNET MASK


172 30 1 33
255 255 255 0
10101100 00011110 00000001 00100001
11111111 11111111 11111111 00000000

- You need to make a multiply action between IP ADDRESS and SUBNET MASK to find the
subnet address for this IP address

10101100 00011110 00000001 00100001

X 11111111 11111111 11111111 00000000

10101100 00011110 00000001 00000000

- After you finish the multiply action. The answer that you had multiple is you need to change
it back to decimal number to get the subnet address
10101100 00011110 00000001 00000000
172 30 1 0

SUBNET ADDRESS FOR THIS IP ADDRESS = 172.30.1.0

6. IP Address of First Host on this Subnet


- Add 1 to the host of Subnet Address for this IP Address to find the IP Address of First
Host

Decimal Number
172 30 1 0

+ 1

172 30 1 1

Binary Number
10101100 00011110 00000001 00000000

+ 00000001

10101100 00011110 00000001 00000001

IP ADDRESS OF FIRST HOST ON THIS SUBNET = 172.30.1.1


7. IP Address of Last Host on this Subnet
- Add Usable Host and Subnet Address to the host if you want to find the IP Address of Last
Host

Decimal Number
172 30 1 0

+ 254

172 30 1 254

Binary Number
10101100 00011110 00000001 00000000

+ 11111110

10101100 00011110 00000001 11111110

IP ADDRESS OF LAST HOST ON THIS SUBNET = 172.30.1.254

8. Broadcast Address for this Subnet


- If you want to find the broadcast address. You need to add 1 at the host of IP Address of
Last Host

Decimal Number
172 30 1 254

+ 1

172 30 1 255

Binary Number
10101100 00011110 00000001 11111110

+ 11111111

10101100 00011110 00000001 11111111

BROADCAST ADDRESS FOR THIS SUBNET = 172.30.1.255


Problem 2

You were given

Host IP Address Subnet Mask


172.30.1.33 255.255.255.224

You need to find

1. Number of Subnet Bits : 11 bits


2. Number of Subnets : 211 = 2048 subnets
3. Number of Host Bits per Subnet : 5 bits
4. Number of Usable Hosts per Subnet : 25 2: 32 2 = 30 usable host
5. Subnet Address for this IP Address : 172.30.1.32
6. IP Address of First Host on this Subnet : 172.30.1.33
7. IP Address of Last Host on this Subnet : 172.30.1.62
8. Broadcast Address for this Subnet : 172.30.1.63

1. Number of Subnet Bits


- Change decimal number to binary number of subnet mask
- You can plus the number of 128, 64, 32, 16, 8, 4, 2, and 1 to make a decimal number by
manual. For example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
- So, if you had done plus the number. You can make binary number by change the number
that you plus into 1. For Example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
= 1 1 1 1 1 1 1 1 = 255
- You need to split between network and host according to the class
- This is Class B

Network Network Host Host


255 255 255 224
11111111 11111111 11111111 11100000

- If you want to find the subnet bits, you had to count the number 1 on host only.

NUMBER OF SUBNET BITS = 11 bits


2. Number of Subnets
- By using formula of 2 . Number of subnets is the number subnet bits that you had been
count before this
- Number of subnets is the number 1 on host
Network Network Host Host
255 255 255 224
11111111 11111111 11111111 11100000

NUMBER OF SUBNETS: = 2048 subnet

3. Number of Host Bits per Subnet


- Its just the same as Number of Subnet Bits. The different is just you had to count the
number 0 on host.
- Number of host bits is the number 0 on host

Network Network Host Host


255 255 255 224
11111111 11111111 11111111 11122400000

NUMBER OF HOST BITS PER SUBNET = 8 bits

4. Number of Usable Hosts per Subnet


- By using formula of 2 2. Number of usable host is the number host bits per subnet that
you had been count before this.

Network Network Host Host


255 255 255 224
11111111 11111111 11111111 11100000

NUMBER OF USABLE HOSTS PER SUBNET: : 32 2 = 30 usable host


5. Subnet Address for this IP Address
- Convert decimal number to binary number first

IP ADDRESS SUBNET MASK


172 30 1 33
255 255 255 224
10101100 00011110 00000001 00100001
11111111 11111111 11111111 11100000

- You need to make a multiply action between IP ADDRESS and SUBNET MASK to find the
subnet address for this IP address

10101100 00011110 00000001 00100001

X 11111111 11111111 11111111 11100000

10101100 00011110 00000001 00100000

- After you finish the multiply action. The answer that you had multiple is you need to change
it back to decimal number to get the subnet address
10101100 00011110 00000001 00100000
172 30 1 32

SUBNET ADDRESS FOR THIS IP ADDRESS = 172.30.1.32

6. IP Address of First Host on this Subnet


- Add 1 to the host of Subnet Address for this IP Address to find the IP Address of First
Host

Decimal Number
172 30 1 32

+ 1

172 30 1 33

Binary Number
10101100 00011110 00000001 00100000

+ 00000001

10101100 00011110 00000001 00100001

IP ADDRESS OF FIRST HOST ON THIS SUBNET = 172.30.1.33


7. IP Address of Last Host on this Subnet
- Add Usable Host and Subnet Address to the host if you want to find the IP Address of Last
Host
Decimal Number
172 30 1 30

+ 32

172 30 1 30

Binary Number
10101100 00011110 00000001 00011110

+ 00100000

10101100 00011110 00000001 00111110

IP ADDRESS OF LAST HOST ON THIS SUBNET = 172.30.1.62

8. Broadcast Address for this Subnet


- If you want to find the broadcast address. You need to add 1 at the host of IP Address of
Last Host

Decimal Number
172 30 1 62

+ 1

172 30 1 63

Binary Number
10101100 00011110 00000001 00111110

+ 00000001

10101100 00011110 00000001 00111111

BROADCAST ADDRESS FOR THIS SUBNET = 172.30.1.63


Problem 3

You were given

Host IP Address Subnet Mask


192.192.10.234 255.255.255.128

You need to find

1. Number of Subnet Bits : 1 bit


2. Number of Subnets : 21 = 2 subnets
3. Number of Host Bits per Subnet : 5 bits
4. Number of Usable Hosts per Subnet : 25 2: 32 2 = 30 usable host
5. Subnet Address for this IP Address : 192.192.10.128
6. IP Address of First Host on this Subnet : 192.192.10.129
7. IP Address of Last Host on this Subnet : 192.192.10.254
8. Broadcast Address for this Subnet : 192.192.10.255

1. Number of Subnet Bits


- Change decimal number to binary number of subnet mask
- You can plus the number of 128, 64, 32, 16, 8, 4, 2, and 1 to make a decimal number by
manual. For example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
- So, if you had done plus the number. You can make binary number by change the number
that you plus into 1. For Example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
= 1 1 1 1 1 1 1 1 = 255
- You need to split between network and host according to the class
- This is Class C

Network Network Network Host


255 255 255 128
11111111 11111111 11111111 10000000

- If you want to find the subnet bits, you had to count the number 1 on host only.

NUMBER OF SUBNET BITS = 1 bit


2. Number of Subnets
- By using formula of 2 . Number of subnets is the number subnet bits that you had been
count before this
- Number of subnets is the number 1 on host
Network Network Nework Host
255 255 255 128
11111111 11111111 11111111 10000000

NUMBER OF SUBNETS: = 2 subnet

3. Number of Host Bits per Subnet


- Its just the same as Number of Subnet Bits. The different is just you had to count the
number 0 on host.
- Number of host bits is the number 0 on host

Network Network Network Host


255 255 255 128
11111111 11111111 11111111 10000000

NUMBER OF HOST BITS PER SUBNET = 7 bits

4. Number of Usable Hosts per Subnet


- By using formula of 2 2. Number of usable host is the number host bits per subnet that
you had been count before this.

Network Network Network Host


255 255 255 128
11111111 11111111 11111111 10000000

NUMBER OF USABLE HOSTS PER SUBNET: : 128 2 = 126 usable host


5. Subnet Address for this IP Address
- Convert decimal number to binary number first

IP ADDRESS SUBNET MASK


192 192 10 234
255 255 255 128
11000000 11000000 00001010 11101010
11111111 11111111 11111111 10000000

- You need to make a multiply action between IP ADDRESS and SUBNET MASK to find the
subnet address for this IP address

11000000 11000000 00001010 11101010

X 11111111 11111111 11111111 10000000

11000000 11000000 00001010 10000000

- After you finish the multiply action. The answer that you had multiple is you need to change
it back to decimal number to get the subnet address
11000000 11000000 00001010 10000000
192 192 10 128

SUBNET ADDRESS FOR THIS IP ADDRESS = 192.192.10.128

6. IP Address of First Host on this Subnet


- Add 1 to the host of Subnet Address for this IP Address to find the IP Address of First
Host

Decimal Number
192 192 10 128

+ 1

192 192 10 129

Binary Number
11000000 11000000 00001010 10000000

+ 00000001

11000000 11000000 00001010 10000001

IP ADDRESS OF FIRST HOST ON THIS SUBNET = 192.192.10.129


7. IP Address of Last Host on this Subnet
- Add Usable Host and Subnet Address to the host if you want to find the IP Address of Last
Host
Decimal Number
192 192 10 128

+ 126

192 192 10 254

Binary Number
11000000 11000000 00001010 10000000

+ 01111110

11000000 11000000 00001010 11111110

IP ADDRESS OF LAST HOST ON THIS SUBNET = 192.192.10.254

8. Broadcast Address for this Subnet


- If you want to find the broadcast address. You need to add 1 at the host of IP Address of
Last Host

Decimal Number
192 192 10 254

+ 1

192 192 10 255

Binary Number
11000000 11000000 00001010 11111110

+ 00000001

11000000 11000000 00001010 11111111

BROADCAST ADDRESS FOR THIS SUBNET = 192.192.10.255


Problem 4

You were given

Host IP Address Subnet Mask


192.168.3.219 255.255.255.192

You need to find

1. Number of Subnet Bits : 2 bits


2. Number of Subnets : 22 = 4 subnets
3. Number of Host Bits per Subnet : 6 bits
4. Number of Usable Hosts per Subnet : 26 2: 64 2 = 62 usable host
5. Subnet Address for this IP Address : 192.168.3.216
6. IP Address of First Host on this Subnet : 192.168.2.217
7. IP Address of Last Host on this Subnet : 192.192.10.254
8. Broadcast Address for this Subnet : 192.192.10.255

1. Number of Subnet Bits


- Change decimal number to binary number of subnet mask
- You can plus the number of 128, 64, 32, 16, 8, 4, 2, and 1 to make a decimal number by
manual. For example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
- So, if you had done plus the number. You can make binary number by change the number
that you plus into 1. For Example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
= 1 1 1 1 1 1 1 1 = 255
- You need to split between network and host according to the class
- This is Class C

Network Network Network Host


255 255 255 192
11111111 11111111 11111111 11000000

- If you want to find the subnet bits, you had to count the number 1 on host only.

NUMBER OF SUBNET BITS = 2 bits


2. Number of Subnets
- By using formula of 2 . Number of subnets is the number subnet bits that you had been
count before this
- Number of subnets is the number 1 on host
Network Network Nework Host
255 255 255 192
11111111 11111111 11111111 11000000

NUMBER OF SUBNETS: = 4 subnets

3. Number of Host Bits per Subnet


- Its just the same as Number of Subnet Bits. The different is just you had to count the
number 0 on host.
- Number of host bits is the number 0 on host

Network Network Network Host


255 255 255 192
11111111 11111111 11111111 11000000

NUMBER OF HOST BITS PER SUBNET = 6 bits

4. Number of Usable Hosts per Subnet


- By using formula of 2 2. Number of usable host is the number host bits per subnet that
you had been count before this.

Network Network Network Host


255 255 255 192
11111111 11111111 11111111 11000000

NUMBER OF USABLE HOSTS PER SUBNET: : 64 2 = 62 usable host


5. Subnet Address for this IP Address
- Convert decimal number to binary number first

IP ADDRESS SUBNET MASK


192 168 3 219
255 255 255 192
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11000000

- You need to make a multiply action between IP ADDRESS and SUBNET MASK to find the
subnet address for this IP address

11000000 10101000 00000011 11011011

X 11111111 11111111 11111111 11000000

11000000 10101000 00000011 11000000

- After you finish the multiply action. The answer that you had multiple is you need to change
it back to decimal number to get the subnet address
11000000 10101000 00000011 11000000
192 168 3 192

SUBNET ADDRESS FOR THIS IP ADDRESS = 192.168.3.192

6. IP Address of First Host on this Subnet


- Add 1 to the host of Subnet Address for this IP Address to find the IP Address of First
Host

Decimal Number
192 168 3 192

+ 1

192 192 3 193

Binary Number
11000000 10101000 00000011 11000000

+ 00000001

11000000 10101000 00000011 11000001

IP ADDRESS OF FIRST HOST ON THIS SUBNET = 192.168.3.193


7. IP Address of Last Host on this Subnet
- Add Usable Host and Subnet Address to the host if you want to find the IP Address of Last
Host
Decimal Number
192 168 3 192

+ 62

192 168 3 254

Binary Number
11000000 10101000 00000011 11000000

+ 00111110

11000000 10101000 00000011 11111110

IP ADDRESS OF LAST HOST ON THIS SUBNET = 192.168.3.254

8. Broadcast Address for this Subnet


- If you want to find the broadcast address. You need to add 1 at the host of IP Address of
Last Host

Decimal Number
192 168 3 254

+ 1

192 168 3 255

Binary Number
11000000 10101000 00000011 11111110

+ 00000001

11000000 10101000 00000011 11111111

BROADCAST ADDRESS FOR THIS SUBNET = 192.168.3.255


Problem 5

You were given

Host IP Address Subnet Mask


192.168.3.219 255.255.255.192

You need to find

1. Number of Subnet Bits : 6 bits


2. Number of Subnets : 26 = 64 subnets
3. Number of Host Bits per Subnet : 2 bits
4. Number of Usable Hosts per Subnet : 22 2: 4 2 = 2 usable host
5. Subnet Address for this IP Address : 192.168.3.216
6. IP Address of First Host on this Subnet : 192.168.2.217
7. IP Address of Last Host on this Subnet : 192.192.10.218
8. Broadcast Address for this Subnet : 192.192.10.219

1. Number of Subnet Bits


- Change decimal number to binary number of subnet mask
- You can plus the number of 128, 64, 32, 16, 8, 4, 2, and 1 to make a decimal number by
manual. For example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
- So, if you had done plus the number. You can make binary number by change the number
that you plus into 1. For Example:
128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
= 1 1 1 1 1 1 1 1 = 255
- You need to split between network and host according to the class
- This is Class C

Network Network Network Host


255 255 255 252
11111111 11111111 11111111 11111100

- If you want to find the subnet bits, you had to count the number 1 on host only.

NUMBER OF SUBNET BITS = 6 bits


2. Number of Subnets
- By using formula of 2 . Number of subnets is the number subnet bits that you had been
count before this
- Number of subnets is the number 1 on host
Network Network Nework Host
255 255 255 252
11111111 11111111 11111111 11111100

NUMBER OF SUBNETS: = 64 subnets

3. Number of Host Bits per Subnet


- Its just the same as Number of Subnet Bits. The different is just you had to count the
number 0 on host.
- Number of host bits is the number 0 on host

Network Network Network Host


255 255 255 252
11111111 11111111 11111111 11111100

NUMBER OF HOST BITS PER SUBNET = 2 bits

4. Number of Usable Hosts per Subnet


- By using formula of 2 2. Number of usable host is the number host bits per subnet that
you had been count before this.

Network Network Network Host


255 255 255 252
11111111 11111111 11111111 11111100

NUMBER OF USABLE HOSTS PER SUBNET: : 4 2 = 2 usable host


5. Subnet Address for this IP Address
- Convert decimal number to binary number first

IP ADDRESS SUBNET MASK


192 168 3 219
255 255 255 252
11000000 10101000 00000011 11011011
11111111 11111111 11111111 11111100

- You need to make a multiply action between IP ADDRESS and SUBNET MASK to find the
subnet address for this IP address

11000000 10101000 00000011 11011011

X 11111111 11111111 11111111 11111100

11000000 10101000 00000011 11011000

- After you finish the multiply action. The answer that you had multiple is you need to change
it back to decimal number to get the subnet address
11000000 10101000 00000011 11000000
192 168 3 216

SUBNET ADDRESS FOR THIS IP ADDRESS = 192.168.3.216

6. IP Address of First Host on this Subnet


- Add 1 to the host of Subnet Address for this IP Address to find the IP Address of First
Host

Decimal Number
192 168 3 216

+ 1

192 192 3 217

Binary Number
11000000 10101000 00000011 11011000

+ 00000001

11000000 10101000 00000011 11011001

IP ADDRESS OF FIRST HOST ON THIS SUBNET = 192.168.3.217


7. IP Address of Last Host on this Subnet
- Add Usable Host and Subnet Address to the host if you want to find the IP Address of Last
Host
Decimal Number
192 168 3 216

+ 2

192 168 3 218

Binary Number
11000000 10101000 00000011 11011000

+ 00000010

11000000 10101000 00000011 11011010

IP ADDRESS OF LAST HOST ON THIS SUBNET = 192.168.3.218

8. Broadcast Address for this Subnet


- If you want to find the broadcast address. You need to add 1 at the host of IP Address of
Last Host

Decimal Number
192 168 3 218

+ 1

192 168 3 219

Binary Number
11000000 10101000 00000011 11011010

+ 00000001

11000000 10101000 00000011 11011011

BROADCAST ADDRESS FOR THIS SUBNET = 192.168.3.219

You might also like