Re: net mask
Jimmy,
I'd like to point out that it is NOT possible to calculate the netmask. (at
best you can calculate the network class). The problem is that you can't
tell if there is some sub (or super) networking going on. so your only
option is to *ask* the provider. (see ip-subnetworking howto)
regards,
Nico de Haer
----- Original Message -----
From: Jimmy Richards <longshot@c243491-a.aurora1.co.home.com>
To: <debian-user@lists.debian.org>
Sent: Monday, June 25, 2001 10:04 PM
Subject: Re: net mask
On Mon, Jun 25, 2001 at 09:14:49PM +0200, Daniel de los Reyes wrote:
> My provider has assigned me the following ip range
> 213.201.43.208-15
> what net mask should I use?
Hi Daniel,
I used a network calculator to get the following information.
According to it you should use a netmask of 255.255.255.0.
longshot@c243491-a:~$ ipcalc.pl 213.201.43.208
Address: 213.201.43.208 11010101.11001001.00101011 .11010000
Netmask: 255.255.255.0 == 24 11111111.11111111.11111111 .00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000 .11111111
=>
Network: 213.201.43.0/24 11010101.11001001.00101011 .00000000
(Class C)
Broadcast: 213.201.43.255 11010101.11001001.00101011 .11111111
HostMin: 213.201.43.1 11010101.11001001.00101011 .00000001
HostMax: 213.201.43.254 11010101.11001001.00101011 .11111110
Hosts/Net: 254
longshot@c243491-a:~$ ipcalc.pl 213.201.43.215
Address: 213.201.43.215 11010101.11001001.00101011 .11010111
Netmask: 255.255.255.0 == 24 11111111.11111111.11111111 .00000000
Wildcard: 0.0.0.255 00000000.00000000.00000000 .11111111
=>
Network: 213.201.43.0/24 11010101.11001001.00101011 .00000000
(Class C)
Broadcast: 213.201.43.255 11010101.11001001.00101011 .11111111
HostMin: 213.201.43.1 11010101.11001001.00101011 .00000001
HostMax: 213.201.43.254 11010101.11001001.00101011 .11111110
HTH,
Jimmy Richards
> --
> ______________________________
> Daniel de los Reyes
> S2-Desarrollo, Grupo S2
> Valencia Spain
> e-mail: dadecal@s2-selling.com
> Powered by Debian GNU-Linux 2.2r3
> ______________________________
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Reply to:
- Follow-Ups:
- Re: net mask
- From: Jimmy Richards <longshot@c243491-a.aurora1.co.home.com>
- References:
- Re: net mask
- From: Jimmy Richards <longshot@c243491-a.aurora1.co.home.com>