Professional Documents
Culture Documents
Problem 1
IP Address -> 172.30.1.33
Network Mask -> 255.255.0.0
Network Address -> 172.30.0.0
Network Broadcast Address -> 172.30.255.255
Network Broadcast Address -> 16.65.536
Number of Host -> 65.534
How I solve problem to get Network Address ?
Firs we need change this number 172.30.1.33 to Binary Number
you will get this change 172.30.1.33 = 10101100. 00011110. 00000001. 00100001
27=128
26=64
25=32
24=16
23=8
22=4
21=2
20=1
Take the IP address 172.30.1.33 and the start with 1 st octet (172)
Example
2 172
2 86
2 43
2 21
2 10
2 30
=10101100
2 15
2 7
2 3
2 1
1
=00011110
1
=000000001
2 33
2 16
2 8
2 4
2 2
2 1
=10000100
Where I get number 1 and 0 ? you use calculate and if you get the point thats
mean you the balance another meaning you get that number 1 and if you doesnt
get the point you should 0
NETWORK ADDRESS
To you get the network address , you should combine that IP address binary
number with network mask binary number. Before that you should change that
network mask decimal to binary number
After change network mask decimal to binary number you will get
Network mask
: 255.255.0.0 (Decimal) ->
11111111.11111111.00000000.0000000(Binary)
And now you can start calculate to get your Network Address
Ip address
Network mask
number to decimal
1. Your network adrress is 172.255.0.0
2. 0 and 0 means 0
3. 1 and 0 means 0
BROADCAST ADDRESS
Network address is easy you just combine like network mask combine but this one
you combine network address with network mask
Example :N.address
N.mask
Note if you can see , you seem on back number is the different number . That we
can see the different broadcast address with network mask. If this binary is the
same number thats mean is 1
1. Your broadcast address is 172. 30. 255. 255
Formula : 2N - 2
Total number of mask is 8+8=16
N
= 16
16
2
=65 536
16
2 -2 =65 534
Problem 2
In problem 2 until 6 you just follow my step how I solve 6 problem. If you dont
understand you can read my problem number 1 to know more detail.
Host IP Address
Network Mask
Network address
: 172.
Network broadcast address
Total Number of Host Bits : 256
Number of Host
: 172. 30. 1. 33
:255. 255. 255. 0
30. 1. 0
: 172. 30. 1. 255
: 254
First you need change decimal to binary number to get Network address
IP ADDRESS
On network address you just copy on problem 1
and you will get 172.30.1.33 = 10101100. 00011110. 00000001. 00100001
NETWORK MASK
you need change network mask decimal to binary and you will get
255. 255. 255. 0 = 11111111. 11111111. 11111111. 00000000
NETWORK ADDRESS
Combine binary number IP Address with network mask
IP Address : 10101100. 00011110. 00000001. 00100001
Network mask
: 11111111. 11111111. 11111111. 00000000
_____________________________________
10101100. 00011110. 00000001. 00000000 = 172. 30. 1. 0
BROADCAST ADRRESS
Combine binary number network address and network mask
N.Address
N.Mask
N
=8
8
2
= 256
8
2 -2 = 254
Problem 3
Host IP Address
Network Mask
Network Address
: 192.
Network Broadcast Address
Total Number of Host Bits : 256
Number of Host
IP Address
2
192
96
48
24
12
=1100000
168
84
42
21
10
2 10
2 1
has 8 bits)
=10101000
234
117
58
29
14
=11101010
NETWORK MASK
255. 255. 255. 0 : 11111111. 11111111. 11111111. 00000000
NETWORK ADDRESS
IP Address : 11000000. 10101000. 10100000. 11101010
Network Mask
: 11111111. 11111111. 11111111. 00000000
____________________________________
11000000. 10101000. 10100000. 0000000
After you change decimal you will get the binary number is 192. 168. 10. 0
BROADCAST ADRRESS
N.Address
N.Mask
After change decimal to binary you will get 192. 168. 10 .255
N
=8
8
2
= 256
28-2 = 254
Problem 4
Host IP Address
: 172. 17. 99. 71
Network Mask
: 255. 255. 0. 0
Network Address
: 172. 17. 0. 0
Network Broadcast Address
: 172. 17. 255. 255
Total Number of Host Bits : 65 536
Number of host
: 65 534
IP ADDRESS
2 172
2 86
2 43
2 21
2 10
2 5
2 2
2 1
2 17
99
2 8
49
2 4
24
2 2
12
2 1
=10101100
=10001000
71
35
17
=1100011
=10001110
NETWORK MASK
255. 225. 0. 0 : 11111111. 11111111. 00000000. 00000000
NETWORK ADDRESS
IP Address : 10101100. 10001000. 11000110. 10001110
Network Mask
: 11111111. 11111111. 00000000. 00000000
_____________________________________
10101100. 10001000. 00000000. 00000000
Binary
Decimal
BROADCAST ADRRESS
N.Address
N.Mask
Binary
Decimal
Problem 5
Host IP Address
: 192. 168. 3. 219
Network Mask
: 255. 255. 0. 0
Network address
: 192. 168. 0.0
Network Broadcast address
: 192. 168. 255. 255
Total Number of host bits : 65 536
Number of host
: 65 534
IP ADDRESS
2
192
96
48
24
12
=11000000
168
84
42
21
10
=10101000
= 1100000
2 219
2 109
2 54
2 27
2 13
2 6
2 3
2 1
=11011011
NETWORK MASK
255. 255. 0. 0 : 11111111. 11111111. 0000000. 00000000
NETWORK ADDRESS
IP Address : 11000000. 10101000. 1100000. 11011011
Network mask
: 11111111. 11111111. 0000000. 00000000
____________________________________
11000000. 10101000. 0000000. 00000000
=192. 168. 0.0
BROADCAST ADRRESS
N.Address
N.Mask
Problem 6
Host IP Address
Network Mask
Network Address
: 192.
Network broadcast address
Total number of host bits : 32
Number of hosts
: 30
IP ADDRESS
192. 168. 3. 219 : 11000000. 10101000. 1100000. 11011011
NETWORK MASK
255. 255. 255. 244 : 11111111. 11111111. 11111111. 11100000
NETWORK ADDRESS
IP Address : 11000000. 10101000. 11000000. 11011011
Network mask
: 11111111. 11111111. 11111111. 11100000
____________________________________
11000000. 10101000. 11000000. 11011011
=192. 168. 3. 219
BROADCAST ADRRESS
N.Address
N.Mask