Patches item #442127, was opened at 2001-07-17 12:22 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=313751&aid=442127&group_id=13751 Category: packages Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Douthitt (ddouthitt) Assigned to: Nobody/Anonymous (nobody) Summary: New program created and packaged: ipmask Initial Comment: ipmask is a program which will give you all the details of any given IP address. For example, it will determine and display netmask, Cisco wildcard mask, hexadecimal IP address, CIDR notation, broadcast address, and BSD-style broadcast address. All of these are available either "all at once" in a pretty format, or in a form usable in scripts. This program was designed because there wasn't any similar program that I knew of, and because I needed something that could change from CIDR notation to netmasks and back in a script, and also because I got real tired of trying to decode those hexadecimal IP addresses ("Redirect ignored..." or martians). A tar.gz file is available, and the program is under GPL2. Example runs: # ./ipmask 192.168.8.8/5 IP Address: 192.168.8.8 Broadcast address: 192.168.8.31 Broadcast address (BSD): 192.168.8.0 CIDR: 192.168.8.0/5 Subnet mask: 255.255.255.224 Cisco wildcard mask: 0.0.0.31 Network: 192.168.8.0 Hexadecimal: C0A80808 # ./ipmask 0xac100333 IP Address: 172.16.3.51 Broadcast address: 172.16.255.255 Broadcast address (BSD): 172.16.0.0 CIDR: 172.16.0.0/16 Subnet mask: 255.255.0.0 Cisco wildcard mask: 0.0.255.255 Network: 172.16.0.0 Hexadecimal: AC100333 # ./ipmask -i 0xac100333 172.16.3.51 # ./ipmask -c 192.168.4.4 192.168.4.0/8 # ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=313751&aid=442127&group_id=13751 _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-devel
