jskfan
asked on
IP Calculator
IP Calculator
Trying to understand what IP Ranges are covered in 10.10.210.0 /23.
Used IP calculator but they do not explain it how that works
http://jodies.de/ipcalc?host=10.10.210.0&mask1=23&mask2=
Address (Host or Network) Netmask (i.e. 24) Netmask for sub/supernet (optional)
10.10.210.0 /23
Address: 10.10.210.0 00001010.00001010.1101001 0.00000000
Netmask: 255.255.254.0 = 23 11111111.11111111.1111111 0.00000000
Wildcard: 0.0.1.255 00000000.00000000.0000000 1.11111111
=>
Network: 10.10.210.0/23 00001010.00001010.1101001 0.00000000 (Class A)
Broadcast: 10.10.211.255 00001010.00001010.1101001 1.11111111
HostMin: 10.10.210.1 00001010.00001010.1101001 0.00000001
HostMax: 10.10.211.254 00001010.00001010.1101001 1.11111110
Hosts/Net: 510 (Private Internet)
Trying to understand what IP Ranges are covered in 10.10.210.0 /23.
Used IP calculator but they do not explain it how that works
http://jodies.de/ipcalc?host=10.10.210.0&mask1=23&mask2=
Address (Host or Network) Netmask (i.e. 24) Netmask for sub/supernet (optional)
10.10.210.0 /23
Address: 10.10.210.0 00001010.00001010.1101001 0.00000000
Netmask: 255.255.254.0 = 23 11111111.11111111.1111111 0.00000000
Wildcard: 0.0.1.255 00000000.00000000.0000000 1.11111111
=>
Network: 10.10.210.0/23 00001010.00001010.1101001 0.00000000 (Class A)
Broadcast: 10.10.211.255 00001010.00001010.1101001 1.11111111
HostMin: 10.10.210.1 00001010.00001010.1101001 0.00000001
HostMax: 10.10.211.254 00001010.00001010.1101001 1.11111110
Hosts/Net: 510 (Private Internet)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
which subnet 210 sits on and which subnet 211 sits on ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I thought about it a little bit this way:
if it was
10.10.210.46/20 = 255.255.240.0
I would do 256-240=16 , then increment by 16 from 0 to tell where the 210 sits on.
So 210 sits on the subnet between 10.10.208.0 and 10.10.224.0 and 10.10.223.255 will be the Broacast
the IP range covered will be 10.10.208.1 to 10.10.223.254
in the case we discussed 10.10.210.0/23 =255.255.254.0
256-254=2
210= will be a begining of a subnet , next subnet will be 212 and 211 will be the Broadcast
so it will be 10.10.210.1 to 10.10.211.254
if it was
10.10.210.46/20 = 255.255.240.0
I would do 256-240=16 , then increment by 16 from 0 to tell where the 210 sits on.
So 210 sits on the subnet between 10.10.208.0 and 10.10.224.0 and 10.10.223.255 will be the Broacast
the IP range covered will be 10.10.208.1 to 10.10.223.254
in the case we discussed 10.10.210.0/23 =255.255.254.0
256-254=2
210= will be a begining of a subnet , next subnet will be 212 and 211 will be the Broadcast
so it will be 10.10.210.1 to 10.10.211.254
Computer do not operate with repeated actions if it can be avoided.
Using and AND operation to mask values is much more simple... And your method comes to the same result but may be more actions
to accomplish the same...
(Hex makes the operation more obvious) 10 = 0x0A, 210 = 0xD2, 211 = 0xD3, 46 = 0x2E, 40 = 0x28
Using and AND operation to mask values is much more simple... And your method comes to the same result but may be more actions
to accomplish the same...
10.10.210.46 = 0x0A.0x0A.0xD2.0x2E
/23 = 0xFF.x0FF.0xFE.00
= 0x0A.0x0A.0xD2.0x00
10.10.211.40 = 0x0A.0x0A.0xD3.0x28
/23 = 0xFF.0xFF.0xFE.0x00
= 0x0A.0x0A.0xD2.00 = same network...
(Hex makes the operation more obvious) 10 = 0x0A, 210 = 0xD2, 211 = 0xD3, 46 = 0x2E, 40 = 0x28
ASKER
noci
I guess your approach is much more complex to understand
how did you go
From
10.10.210.46 = 0x0A.0x0A.0xD2.0x2E
/23 = 0xFF.x0FF.0xFE.00
= 0x0A.0x0A.0xD2.0x00
TO
10.10.211.40 = 0x0A.0x0A.0xD3.0x28
I guess your approach is much more complex to understand
how did you go
From
10.10.210.46 = 0x0A.0x0A.0xD2.0x2E
/23 = 0xFF.x0FF.0xFE.00
= 0x0A.0x0A.0xD2.0x00
TO
10.10.211.40 = 0x0A.0x0A.0xD3.0x28
Bitwise AND operation: 0 & 0 = 0 , 1 & 0 = 0, 1 & 0 = 0, 1 & 1 = 1...
to compact it i used hexadecimal notation to make it more clear then binary... Hexadecimal is commonly prefixed with 0x
Hexadecimal makes it a little easier to show bitwise operations... (That may take some time to learn, just like people learn decimal arithmatic).
Conversion is like:
0101 ... (0101 binary = 4+1 (hexa)decimal = 5 (hexa)decimal)
10 (decimal) = 8 + 2 = 1010 (bin) = A (hex)
So 210 ( 0xD2 ) & 254 (0xFE) = 210 (0xD2)
and 211 (0xD3) & 254 (0xFE) = 210 (0xD2)
to compact it i used hexadecimal notation to make it more clear then binary... Hexadecimal is commonly prefixed with 0x
Hexadecimal makes it a little easier to show bitwise operations... (That may take some time to learn, just like people learn decimal arithmatic).
Conversion is like:
0101 ... (0101 binary = 4+1 (hexa)decimal = 5 (hexa)decimal)
10 (decimal) = 8 + 2 = 1010 (bin) = A (hex)
So 210 ( 0xD2 ) & 254 (0xFE) = 210 (0xD2)
and 211 (0xD3) & 254 (0xFE) = 210 (0xD2)
ASKER
I will check that later in depth
ASKER
based on what calculation ?