我怎样才能找到这些地址?

时间:2017-11-21 20:07:02

标签: networking ipv4 subnet

在B类子网中,我们知道其中一个主机和掩码的IP地址如下所示。 IP地址 - 182.44.82.16子网掩码 - 255.255.255.192子网的第一个地址,子网的最后一个地址和总共有多少个地址?

2 个答案:

答案 0 :(得分:1)

直截了当地从http://jodies.de/ipcalc?host=182.44.82.16&mask1=26&mask2=255.255.255.192获取:

Address:   182.44.82.16          10110110.00101100.01010010.00 010000
Netmask:   255.255.255.192 = 26  11111111.11111111.11111111.11 000000
Wildcard:  0.0.0.63              00000000.00000000.00000000.00 111111
=>
Network:   182.44.82.0/26        10110110.00101100.01010010.00 000000 (Class B)
Broadcast: 182.44.82.63          10110110.00101100.01010010.00 111111
HostMin:   182.44.82.1           10110110.00101100.01010010.00 000001
HostMax:   182.44.82.62          10110110.00101100.01010010.00 111110
Hosts/Net: 62                    

答案 1 :(得分:1)

在Linux上使用ipcalc

# ipcalc 182.44.82.16 255.255.255.192
Address:   182.44.82.16         10110110.00101100.01010010.00 010000
Netmask:   255.255.255.192 = 26 11111111.11111111.11111111.11 000000
Wildcard:  0.0.0.63             00000000.00000000.00000000.00 111111
=>
Network:   182.44.82.0/26       10110110.00101100.01010010.00 000000
HostMin:   182.44.82.1          10110110.00101100.01010010.00 000001
HostMax:   182.44.82.62         10110110.00101100.01010010.00 111110
Broadcast: 182.44.82.63         10110110.00101100.01010010.00 111111
Hosts/Net: 62                    Class B