IPv4计算器

Input Example:
103.0.0.0
103.103.0.0/16
103.103.103.0/255.255.255.0


 Subnets:  

IP address127.0.0.101111111 00000000 00000000 00000001
Subnet mask255.0.0.011111111 00000000 00000000 00000000
Wildcard mask0.255.255.25500000000 11111111 11111111 11111111
Network address127.0.0.001111111 00000000 00000000 00000000
Broadcast address127.255.255.25501111111 11111111 11111111 11111111
First host address127.0.0.101111111 00000000 00000000 00000001
Last host address127.255.255.25401111111 11111111 11111111 11111110
Number of hosts16777214111111111111111111111110


 批量添加IP脚本(最大支持/24),把Your_interface改成对应的网卡名,类似 “本地链接”  “以太网”  “eth0” "em1"

Windows cmd

Centos7 shell

       

 附带windiws获取所有IPv4列表办法

ipconfig | findstr IPv4




标签: none

添加新评论 »