Re: address translation

2008-02-21 Thread J. Peng
On Thu, Feb 21, 2008 at 4:11 PM, J. Peng <[EMAIL PROTECTED]> wrote: > On Thu, Feb 21, 2008 at 4:03 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: > > > > So 0x would indicate a network with no hosts on it and thus it > > is not a valid netmask. > > > > yup, but sometime we need a 255.2

Re: address translation

2008-02-21 Thread J. Peng
On Thu, Feb 21, 2008 at 4:03 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: > > So 0x would indicate a network with no hosts on it and thus it > is not a valid netmask. > yup, but sometime we need a 255.255.255.255 netmask to forbit the host don't reply to any ARP requests. for example, yo

Re: address translation

2008-02-21 Thread John W. Krahn
J. Peng wrote: On Thu, Feb 21, 2008 at 3:29 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: J. Peng wrote: > how to translate this mask to clear text form with perl? > netmask 0x If you mean an IP address netmask then 0x is an invalid netmask because all the bits are 1. John

Re: address translation

2008-02-20 Thread J. Peng
On Thu, Feb 21, 2008 at 3:29 PM, John W. Krahn <[EMAIL PROTECTED]> wrote: > J. Peng wrote: > > how to translate this mask to clear text form with perl? > > netmask 0x > > If you mean an IP address netmask then 0x is an invalid netmask > because all the bits are 1. > John, all

Re: address translation

2008-02-20 Thread John W. Krahn
J. Peng wrote: how to translate this mask to clear text form with perl? netmask 0x If you mean an IP address netmask then 0x is an invalid netmask because all the bits are 1. John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of