Sie sind auf Seite 1von 30

CALCULATING IP ADDRESS

(PROBLEM 1)
GIVEN :

Host IP Address 172.30.1.33


Subnet Mask 255.255.255.0

3 Number of Subnet Bits 8 bits


4 Number of Subnet = 256 Subnet
5 Number of Host Bits per Subnet 8 bits
6 Number of Usable Hosts per Subnet = 254 Usable Hosts
7 Subnet Address for this IP Address 172.30.1.0
8 IP Address of First Host on this Subnet 172.30.1.1
9 IP Address of Last Host on this Subnet 172.30.1.254
10 Broadcast Address for this Subnet 172.30.1.255

1. Decide the class

CLASES IP RANGE NETWORK HOST


Class A 0 - 127 1 3
Class B 128 - 191 2 2
Class C 192 - 223 3 1

172 .30 .1 .33 = Class B

2. Convert Host IP Address and Subnet Mask to Binary Number .


(Host IP Address)

172 .30 .1 .33


10101100 00011110 00000001 00100001
(Subnet Mask)
255 .255 .255 .0
11111111 11111111 11111111 00000000
3. Number of Subnet Bits.
a) Solve SUBNET MASK to NETWORK or HOST

NETWORK HOST

255 .255 .255 .0

11111111 11111111 11111111 00000000

b) Calculate Number Of (1) in host

HOST

.255 .0

11111111 00000000

Number of Subnet Bits : 1+1+1+1+1+1+1+1 = 8

4. Number of Subnets.
(Use this Formula : )

=?

ANSWER : 2= 256
5. Number of Host Bits per Subnet
(Calculate Number of (0) in host)

HOST

.255 .0

11111111 00000000

Number of Host Bits per Subnet : 0 = 8

=?

2= 256

6. Number of Usable Hosts per Subnet


( Use this Formula : )

-2=?

ANSWER : 2-2= 256-2= 254


7. Subnet Address for this IP Address
a) Binary Number IP Address () Binary Number Subnet Mask

172 .30 .1 .33


IP ADDRESS
10101100 00011110 00000001 00100001

255 .255 .255 .0


SUBNET MASK
11111111 11111111 11111111 00000000

10101100 00011110 00000001 00000000

b) Convert Binary Number to Decimal Number .


i. Can change using Calculator .

10101100 00011110 00000001 00000000

Answer after MULTIPLE ()

172 .30 .1 .0

Answer after convert to


Decimal Number .

ANSWER : 172 .30 .1 .0


ii. Can change using this formula

128 1
64 0
32 1
16 0
8 1
4 1
2 0
1 0

(Add the number have a value)


ANSWER : 128 + 32 + 8 + 4 = 172
: 172 .30 .1 .0

8. IP Address of First Host on this Subnet


- To find IP address of First Host must add number (1) to the last octets.

172 .30 .1 .0

+ 1

172 .30 .1 .1

ANSWER : 172 .30 .1 .1


9. IP Address of Last Host on this Subnet
- To find IP Address of Last Host :
(Subnet Address for this IP Address (+) Number of Usable Hosts per Subnet)

172 .30 .1 .0

+ 254 = Usable Hosts * Refer to Table, Number (6)

172 .30 .1 .254

ANSWER : 172 .30 .1 .254

10. Broadcast Address for this Subnet


- To find Broadcast Address for subnet is
( IP Address of Last Host must add number (1) to the last bit )

172 .30 .1 .254

1
+
172 .30 .1 .255

ANSWER : 172 .30 .1 .255


(PROBLEM 2)
GIVEN :

Host IP Address 172.30.1.33


Subnet Mask 255.255.255.224

3 Number of Subnet Bits 11 bits


4 Number of Subnet = 2048 Subnet
5 Number of Host Bits per Subnet 5 bits
6 Number of Usable Hosts per Subnet = 30 Usable Hosts
7 Subnet Address for this IP Address 172.30.1.32
8 IP Address of First Host on this Subnet 172.30.1.33
9 IP Address of Last Host on this Subnet 172.30.1.62
10 Broadcast Address for this Subnet 172.30.1.63

1. Decide the class

CLASES IP RANGE NETWORK HOST


Class A 0 - 127 1 3
Class B 128 - 191 2 2
Class C 192 - 223 3 1

172 .30 .1 .33 = Class B

2. Convert Host IP Address and Subnet Mask to Binary Number .


(Host IP Address)

172 .30 .1 .33

10101100 00011110 00000001 00100001

(Subnet Mask)

255 .255 .255 .224

11111111 11111111 11111111 11100000


3. Number of Subnet Bits.
a) Solve SUBNET MASK to NETWORK or HOST

NETWORK HOST

255 .255 .255 .224

11111111 11111111 11111111 11100000

b) Calculate Number Of (1) in host

HOST

.255 .224

11111111 11100000

Number of Subnet Bits : 1+1+1+1+1+1+1+1+1+1+1 = 11

4. Number of Subnets.
(Use this Formula : )

=?

ANSWER : = 2048
5. Number of Host Bits per Subnet
(Calculate Number of (0) in host)

HOST

.255 .224

11111111 11100000

Number of Host Bits per Subnet : 0 = 5

=?

= 32

6. Number of Usable Hosts per Subnet


( Use this Formula : )

-2=?

ANSWER : -2= 32-2= 30


7. Subnet Address for this IP Address
a) Binary Number IP Address () Binary Number Subnet Mask

172 .30 .1 .33


IP ADDRESS
10101100 00011110 00000001 00100001

255 .255 .255 .224


SUBNET MASK
11111111 11111111 11111111 11100000

10101100 00011110 00000001 00100000

b) Convert Binary Number to Decimal Number .


i. Can change using Calculator .

10101100 00011110 00000001 00100000

Answer after MULTIPLE ()

172 .30 .1 .32

Answer after convert to


Decimal Number .

ANSWER : 172 .30 .1 .32


ii. Can change using this formula

128 1
64 0
32 1
16 0
8 1
4 1
2 0
1 0

(Add the number have a value)


ANSWER : 128 + 32 + 8 + 4 = 172
: 172 .30 .1 .32

8. IP Address of First Host on this Subnet


- To find IP address of First Host must add number (1) to the last octets.

172 .30 .1 .32

+ 1

172 .30 .1 .33

ANSWER : 172 .30 .1 .33


9. IP Address of Last Host on this Subnet
- To find IP Address of Last Host :
(Subnet Address for this IP Address (+) Number of Usable Hosts per Subnet)

172 .30 .1 .32

+ 30 = Usable Hosts * Refer to Table, Number (6)

172 .30 .1 .62

ANSWER : 172 .30 .1 .62

10. Broadcast Address for this Subnet


- To find Broadcast Address for subnet is
( IP Address of Last Host must add number (1) to the last bit )

172 .30 .1 .62

1
+
172 .30 .1 .63

ANSWER : 172 .30 .1 .63


(PROBLEM 3)
GIVEN :

Host IP Address 192.192.10.234


Subnet Mask 255.255.255.128

3 Number of Subnet Bits 1 bit


4 Number of Subnet = 2 Subnet
5 Number of Host Bits per Subnet 7 bits
6 Number of Usable Hosts per Subnet = 126 Usable Hosts
7 Subnet Address for this IP Address 192.192.10.128
8 IP Address of First Host on this Subnet 192.192.10.129
9 IP Address of Last Host on this Subnet 192.192.10.254
10 Broadcast Address for this Subnet 192.192.10.255

1. Decide the class

CLASES IP RANGE NETWORK HOST


Class A 0 - 127 1 3
Class B 128 - 191 2 2
Class C 192 - 223 3 1

192.192 .10 .234= Class C

2. Convert Host IP Address and Subnet Mask to Binary Number .


(Host IP Address)

192 .192 .10 .234


11000000 11000000 00001010 11101010
(Subnet Mask)
255 .255 .255 .128
11111111 11111111 11111111 10000000
3. Number of Subnet Bits.
a) Solve SUBNET MASK to NETWORK or HOST

NETWORK HOST

255 .255 .255 .128

11111111 11111111 11111111 10000000

b) Calculate Number Of (1) in host

HOST

.128

10000000

Number of Subnet Bits : 1 = 1

4. Number of Subnets.
(Use this Formula : )

=?

ANSWER : =2
5. Number of Host Bits per Subnet
(Calculate Number of (0) in host)

HOST

.128

10000000

Number of Host Bits per Subnet :0 = 7

=?

= 128

6. Number of Usable Hosts per Subnet


( Use this Formula : )

-2=?

ANSWER : -2= 128-2= 126


7. Subnet Address for this IP Address
a) Binary Number IP Address () Binary Number Subnet Mask

192 .192 .10 .234


IP ADDRESS
11000000 11000000 00001010 11101010

255 .255 .255 .128


SUBNET MASK
11111111 11111111 11111111 10000000

11000000 11000000 00001010 10000000

b) Convert Binary Number to Decimal Number .


i. Can change using Calculator .

11000000 11000000 00001010 10000000

Answer after MULTIPLE ()

192. 192 .10 .128

Answer after convert to


Decimal Number .

ANSWER : 192 .192 .10 .128


ii. Can change using this formula

128 1
64 1
32 0
16 0
8 0
4 0
2 0
1 0

(Add the number have a value)


ANSWER : 128 + 64 = 192
: 192 .192 .10 .128

8. IP Address of First Host on this Subnet


- To find IP address of First Host must add number (1) to the last octets.

192 .192 .10 .128

+ 1

192 .192 .10 .129

ANSWER : 192.192 .10 .129


9. IP Address of Last Host on this Subnet
- To find IP Address of Last Host :
(Subnet Address for this IP Address (+) Number of Usable Hosts per Subnet)

192 .192 .10 .128

+ 126 = Usable Hosts * Refer to Table, Number (6)

192 .192 .10 .254

ANSWER : 192 .192 .10 .254

10. Broadcast Address for this Subnet


- To find Broadcast Address for subnet is
( IP Address of Last Host must add number (1) to the last bit )

192 .192 .10 .254

1
+
192 .192 .10 .255

ANSWER : 192 .192 .10 .255


(PROBLEM 4)
GIVEN :

Host IP Address 192.168.3.219


Subnet Mask 255.255.255.192

3 Number of Subnet Bits 2 bits


4 Number of Subnet = 4 Subnet
5 Number of Host Bits per Subnet 6 bits
6 Number of Usable Hosts per Subnet = 62 Usable Hosts
7 Subnet Address for this IP Address 192.168.3.192
8 IP Address of First Host on this Subnet 192.168.3.193
9 IP Address of Last Host on this Subnet 192.168.3.254
10 Broadcast Address for this Subnet 192.168.3.255

1. Decide the class

CLASES IP RANGE NETWORK HOST


Class A 0 - 127 1 3
Class B 128 - 191 2 2
Class C 192 - 223 3 1

192 .168 .3 .219= Class C

2. Convert Host IP Address and Subnet Mask to Binary Number .


(Host IP Address)

192 .168 .3 .219


11000000 10101000 00000011 11011011
(Subnet Mask)
255 .255 .255 .192
11111111 11111111 11111111 11000000
3. Number of Subnet Bits.
a) Solve SUBNET MASK to NETWORK or HOST

NETWORK HOST

255 .255 .255 .192

11111111 11111111 11111111 11000000

b) Calculate Number Of (1) in host

HOST

.192

11000000

Number of Subnet Bits : 1+1 =2

4. Number of Subnets.
(Use this Formula : )

=?

ANSWER : =4
5. Number of Host Bits per Subnet
(Calculate Number of (0) in host)

HOST

.192

11000000

Number of Host Bits per Subnet :0 = 6

=?

= 64

6. Number of Usable Hosts per Subnet


( Use this Formula : )

-2=?

ANSWER : -2= 64-2= 62


7. Subnet Address for this IP Address
a) Binary Number IP Address () Binary Number Subnet Mask

192 .168 .3 .219


IP ADDRESS
11000000 10101000 00000011 11101010

255 .255 .255 .192


SUBNET MASK
11111111 11111111 11111111 11000000

11000000 10101000 00000011 11000000

b) Convert Binary Number to Decimal Number .


i. Can change using Calculator .

11000000 10101000 00000011 11000000

Answer after MULTIPLE ()

192 .168 .3 .192

Answer after convert to


Decimal Number .

ANSWER : 192 .168 .3 .192


ii. Can change using this formula

128 1
64 1
32 0
16 0
8 0
4 0
2 0
1 0

(Add the number have a value)


ANSWER : 128 + 64 = 192
: 192 .168 .3 .192

8. IP Address of First Host on this Subnet


- To find IP address of First Host must add number (1) to the last octets.

192 .168 .3 .192

+ 1

192 .168 .3 .193

ANSWER : 192.168 .3 .193


9. IP Address of Last Host on this Subnet
- To find IP Address of Last Host :
(Subnet Address for this IP Address (+) Number of Usable Hosts per Subnet)

192 .168 .3 .192

+ 62 = Usable Hosts * Refer to Table, Number (6)

192 .168 .3 .254

ANSWER : 192 .168 .3 .254

10. Broadcast Address for this Subnet


- To find Broadcast Address for subnet is
( IP Address of Last Host must add number (1) to the last bit )

192 .168 .3 .254

1
+
192 .168 .3 .255

ANSWER : 192 .168 .3 .255


(PROBLEM 5)
GIVEN :

Host IP Address 192.168.3.219


Subnet Mask 255.255.255.252

3 Number of Subnet Bits 6 bits


4 Number of Subnet = 64 Subnet
5 Number of Host Bits per Subnet 2 bits
6 Number of Usable Hosts per Subnet = 2 Usable Hosts
7 Subnet Address for this IP Address 192.168.3.216
8 IP Address of First Host on this Subnet 192.168.3.217
9 IP Address of Last Host on this Subnet 192.168.3.218
10 Broadcast Address for this Subnet 192.168.3.219

1. Decide the class

CLASES IP RANGE NETWORK HOST


Class A 0 - 127 1 3
Class B 128 - 191 2 2
Class C 192 - 223 3 1

192 .168 .3 .219= Class C

2. Convert Host IP Address and Subnet Mask to Binary Number .


(Host IP Address)

192 .168 .3 .219


11000000 10101000 00000011 11011011
(Subnet Mask)
255 .255 .255 .252
11111111 11111111 11111111 11111100
3. Number of Subnet Bits.
a) Solve SUBNET MASK to NETWORK or HOST

NETWORK HOST

255 .255 .255 .252

11111111 11111111 11111111 11111100

b) Calculate Number Of (1) in host

HOST

.192

11111100

Number of Subnet Bits : 1+1+1+1+1+1 =6

4. Number of Subnets.
(Use this Formula : )

=?

ANSWER : = 64
5. Number of Host Bits per Subnet
(Calculate Number of (0) in host)

HOST

.192

11111100

Number of Host Bits per Subnet :0 = 2

=?

=4

6. Number of Usable Hosts per Subnet


( Use this Formula : )

-2=?

ANSWER : -2= 4-2= 2


7. Subnet Address for this IP Address
a) Binary Number IP Address () Binary Number Subnet Mask

192 .168 .3 .219


IP ADDRESS
11000000 10101000 00000011 11011011

255 .255 .255 .252


SUBNET MASK
11111111 11111111 11111111 11111100

11000000 10101000 00000011 11011000

b) Convert Binary Number to Decimal Number .


i. Can change using Calculator .

11000000 10101000 00000011 11011000

Answer after MULTIPLE ()

192 .168 .3 .216

Answer after convert to


Decimal Number .

ANSWER : 192 .168 .3 .216


ii. Can change using this formula

128 1
64 1
32 0
16 0
8 0
4 0
2 0
1 0

(Add the number have a value)


ANSWER : 128 + 64 = 192
: 192 .168 .3 .216

8. IP Address of First Host on this Subnet


- To find IP address of First Host must add number (1) to the last octets.

192 .168 .3 .216

+ 1

192 .168 .3 .217

ANSWER : 192.168 .3 .217


9. IP Address of Last Host on this Subnet
- To find IP Address of Last Host :
(Subnet Address for this IP Address (+) Number of Usable Hosts per Subnet)

192 .168 .3 .216

+ 2 = Usable Hosts * Refer to Table, Number (6)

192 .168 .3 .218

ANSWER : 192 .168 .3 .218

10. Broadcast Address for this Subnet


- To find Broadcast Address for subnet is
( IP Address of Last Host must add number (1) to the last bit )

192 .168 .3 .218

1
+
192 .168 .3 .219

ANSWER : 192 .168 .3 .219

Das könnte Ihnen auch gefallen