OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
AW: [suse-security] Gateway / netmask

From: dag Danczul Georg (dagkeba.co.at)
Date: Tue Mar 09 2004 - 03:03:03 CST


Hi,
short NW course:
every IP-NW has a NW-Address (the first one) and a broadcast (the last one)
the mask defines the NW-size

Mask: ff.ff.ff.0 class C, size 256 adresses (hex)
=> xx.yy.zz.0 network adress
=> xx.yy.zz.1-254 usable host range
=> xx.yy.zz.255 broadcast adress
If you use anoter mask the range shift, but usable are always net+1 till broadcast-1

for exact infos see www.rfc-editor.org

georg
PS: the nework mask sometimes is written as /n i.e 255.255.255.0 =^= /24 (nr of nw-bits)

-----Ursprüngliche Nachricht-----
Von: Victor R. Cardona [mailto:vcardonacovad.net]
Gesendet: Dienstag, 09. März 2004 00:56
An: suse-securitysuse.com
Cc: suse-slstd-esuse.com
Betreff: Re: [suse-security] Gateway / netmask

Scott Wrobel wrote:
|
| I am seting up a network with a linux server and have been informed
that the following netmask and gateway numbers are incompatable with
each other, now i am a little confused about what i should change the
last section of the gateway # to in order to make the network work better.
| Current Gateway: 192.168.1.255
| Current Netmask: 255.255.255.0
| any advice will be apreceated.

192.168.1.255 is the network broadcast address. Your gateway should use
an IP address between 192.168.1.1 and 192.168.1.254. The netmask is correct.

Victor
--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-helpsuse.com
Security-related bug reports go to securitysuse.de, not here

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-helpsuse.com
Security-related bug reports go to securitysuse.de, not here