Mailinglist Archive: opensuse-security (485 mails)
| < Previous | Next > |
AW: [suse-security] Gateway / netmask
- From: "dag Danczul Georg" <dag@xxxxxxxxxx>
- Date: Tue, 9 Mar 2004 10:03:03 +0100
- Message-id: <0FBD94618CBAAE48BAE9C34E100EEA680949E1@xxxxxxxxxxxxxxxxxx>
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:vcardona@xxxxxxxxx]
Gesendet: Dienstag, 09. März 2004 00:56
An: suse-security@xxxxxxxx
Cc: suse-slstd-e@xxxxxxxx
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-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here
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:vcardona@xxxxxxxxx]
Gesendet: Dienstag, 09. März 2004 00:56
An: suse-security@xxxxxxxx
Cc: suse-slstd-e@xxxxxxxx
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-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here
| < Previous | Next > |