How to use netmask in kali linux
Intro - Netmask is another simple tool which does one thing and that is, makes a ICMP netmask request. By determining the netmasks of various computers on a network, you can better map your subnet structure.
1. How to open
A. GUI Method
Application →Kali Linux → Information gathering → Route Analysis → netmask (Click on image for large view)
B. Open Terminal type netmask –h this command will open netmask with help options
2. –v – This command is used to visit netmask version which is installed in your system.
Syntax – netmask –v
3. This is default search for a domain or IP.
Syntax – netmask domain/IP
Ex – netmask google.com
Ex – netmask 192.168.71.131
4. Output address/netmask pairs
Syntax – netmask –s domain/IP
Ex – netmask –s google.com
Ex – netmask –s 192.168.71.131
5. Output CIDR format address lists
Syntax – netmask –c domain/IP
Ex – netmask –c google.com
E – netmask –c 192.168.71.131
6. Output Cisco style address lists
Syntax – netmask –i domain/IP
Ex – netmask –i google.com
Ex – netmask –i 192.168.71.131
7. Output ip address ranges
Syntax – netmask –r domain/IP
Ex – netmask –r google.com
Ex – netmask –r 192.168.71.131
8. Output address/netmask pairs in hex.
Syntax – netmask –x domain/IP
Ex – netmask –x google.com
Ex – netmask –x 192.168.71.131
9. Output address/netmask pairs in octal.
Syntax – netmask –o domain/IP
Ex – netmask –o google.com
Ex – netmask –o 192.168.71.131
10. Output address/netmask pairs in binary
Syntax – netmask –b domain/IP
Ex – netmask –b google.com
Ex – netmask –b 192.168.71.131
(Click on image for large view)
Like it ? Share it.