Netmask On Backtrack 5

Netmask On Backtrack 5


 
Introduction 
 
  • Netmask was written  by Robert Stone .
  • This program accepts and produces a variety of common network address and netmask formats
  • Not only can it convert address and netmask notations, but it will optimize the masks to generate the smallest list of rules. 

Options

-h--help
Print a summary of the options
 
-v--version
Print the version number
 
-d--debug
Print status/progress information
 
-s--standard
Output address/netmask pairs
 
-c--cidr
Output CIDR format address lists
 
-i--cisco
Output Cisco style address lists
 
-r--range
Output ip address ranges
 
-x--hex
Output address/netmask pairs in hex
 
-o--octal
Output address/netmask pairs in octal
 
-b--binary
Output address/netmask pairs in binary
 
 
How to open NetMask On Backtrack 5 

 
How to use Netmask 
Example 1 : Print a summary of the options
  1. Command : netmask -h 
  2. See the below image for more details - 
 
Example 2 :   Print the version number
 
Example 3 : Print status/progress information
 
  1. This option print will print the status .
  2. See the below image for more details - 
 
 
Example 4 : Output address/netmask pairs
 
 


Example 5 : 
-c--cidr
Output CIDR format address lists




Example 6 : 
-i--cisco
  1. Output Cisco style address lists
  2. See the below image for more details - 










EXAMPLE 7 :
-r--range
  1. Output ip address ranges
  2. See the below image for more details -
 
 


EXAMPLE 8 : 

-x--hexOutput address/netmask pairs in hex.
See the below image for more details - 
 
EXAMPLE 9 : 
-o--octal
Output address/netmask pairs in octal.
See the below image for more details -

 
EXAMPLE 10 : 
-b--binary
Output address/netmask pairs in binary





This is how we use the NETMASK  Tool in Backtrack 5.
Soon I am going update  this tutorial with more examples.
All suggestion are Welcome to improve this tutorial . 

Comments

Popular Posts