In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the use of linux ipcalc command simple IP address calculator, the article is very detailed, has a certain reference value, interested friends must read it!
The full name of the ipcalc command is: Calculate IP information for a host (computing host's IP information)
The ipcalc command is a simple ip address calculator that can perform simple IP address calculation tasks.
Syntax format: ipcalc [parameters] [IP address]
Common parameters:
-b calculate the broadcast address from the given IP address and network mask-h display the hostname corresponding to the given IP address-m display the given IP address calculator network mask-p display the prefix of the given IP address-n calculate the network address from the given IP address and network mask-s quiet mode, do not display any error messages-help display help information
Reference example
Calculate the prefix for a given mask:
[root@linuxcool] # ipcalc-p 192.168.88.56 255.255.255.0
PREFIX=24
Calculate the network address given IP and network mask:
[root@linuxcool] # ipcalc-n 192.168.88.56 255.255.255.0
NETWORK=192.168.88.0
Given IP displays the corresponding hostname:
[root@linuxcool] # ipcalc-h 223.5.5.5
HOSTNAME=public1.alidns.com
Use multiple parameters to calculate the network mask, broadcast address, network address of a given IP:
[root@linuxcool] # ipcalc-m-b-n 119.29.29.29max 28
NETMASK=255.255.255.240
BROADCAST=119.29.29.31
NETWORK=119.29.29.16 above is all the contents of the simple IP address calculator using linux's ipcalc command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
Attachment to mf: http://down.51cto.com/data/2367020
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.