cancel
Showing results for
Did you mean:
cancel
Announcements

4736
Views
0
5
Replies
Beginner

## ip address & subnet formula calculation

dear sir,

mind to share how you calculate out which ip address can be use if i got the subnet of 255.255.255.192 and ip address of 172.22.17.X ? I wish to use the ip address of 172.22.17.122 ?

thanks.

5 REPLIES 5
Beginner

## Re: ip address & subnet formula calculation

Hi,

Check this document

http://www.ietf.org/rfc/rfc1878.txt

//Mikhail Galiulin

Enthusiast

## Re: ip address & subnet formula calculation

Hi,

With the subnet mask of 255.255.255.192, we can following subnets in 172.22.17.x range.

Subnet 1

*********

Network:172.22.17.0/26

Range: 172.22.17.1-172.22.17.62

Subnet 2

*********

Network 172.22.17.64/26

Range: 172.22.17.65 - 172.22.17.126

Subnet 3

*********

Network: 172.22.17.128/26

Range: 172.22.17.129 - 172.22.17.190

Subnet 4:

*********

Network: 172.22.17.192/26

Range: 172.22.17.193 - 172.22.17.254

The ip 172.22.17.122 falls in subnet 2.

HTH

-VJ

Highlighted
Enthusiast

## Re: ip address & subnet formula calculation

Hello Chialun,

It all comes down to binary math

With the given mask 255.255.255.192, the fourth octect is interesting.

192 equals 1100.0000 in binary.

Decimal to binary conversion

64 ..... 0100.0000 ==> network

[...]

122 .... 0111.1100

[...]

-----------------

The range 65 through 126 are valid IP addresses.

HTH

--Leon

Beginner

## Re: ip address & subnet formula calculation

There are some FREE ip subnet calculater found on the internet.

Participant

## Re: ip address & subnet formula calculation

U could achieve it easily, on this rule:

255.255.255.255

- 255.255.255.192

= 0. 0. 0.063 - Range

Each Subnet has a range of 0-63 addresses.