Ok, I'm not quite shut up.  I just wanted to mentio that a useful tool
on every Linux/Unix system for doing netmask calculation is 'dc', if you
have trouble doing binary conversions in your head.  Just
set the input or output base to binary, e.g.:

  dc
  2
  o
  248
  p
  11111000

and you have the netmask pattern for 255.255.248.0.  (Well, everyone
knows 255 = 11111111).  The other way:

  dc
  2
  i
  11100000
  p
  224

So you know that a 19-bit netmask would be 255.255.224.0.

(Yeah, there are all SORTS of IP calculators out there--software and
hardware.  But 'dc' is, as I said, ubiquitous ...)

Cheers,
--
        Dave Ihnat
        [email protected]

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to