Simple Guide to Subnet Mask : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Page créée avec « {{Tuto Details |Description=<translate>Simplistic guide to the subnet mask setting</translate> }} <translate></translate> {{PageLang |SourceLanguage=none |IsTranslation=0... »)
 
Ligne 1 : Ligne 1 :
 
{{Tuto Details
 
{{Tuto Details
|Description=<translate>Simplistic guide to the subnet mask setting</translate>
+
|Main_Picture=Simple_Guide_to_Subnet_Mask_Screenshot_2022-11-30_161732.jpg
 +
|Main_Picture_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":-1,"top":49,"width":607,"height":274,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.04,"scaleY":1.04,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/8/8a/Simple_Guide_to_Subnet_Mask_Screenshot_2022-11-30_161732.jpg","filters":[]}],"height":450.2454991816694,"width":600}
 +
|Description=<translate>Simplistic guide to the subnet mask setting to help diagnose network problems</translate>
 +
|Categories=Software
 
}}
 
}}
<translate></translate>
+
<translate>{{Warning|...Big Warning
 +
The subnet mask should not be changed by Stuga engineers unless directed. It is strictly controlled by the customer's IT department / consultants. However, It is helpful to know what it is and what it does to help diagnose connection problems}}
 +
 
 +
 
 +
= Definition =
 +
A subnet mask defines the range of IP addresses that can be used within a network or subnet.
 +
{{Info|...It also separates an IP address into two parts: network bits and host bits.}}
 +
 
 +
= Practical Application =
 +
{{Info|...The 3 digit numbers in an IP address are called octets and range from 0 to 255}}{{Info|...I have padded the 3 digit "octets" with zeroes, this is not strictly necessary but it helps with visualisation}}
 +
 
 +
 
 +
In most applications, the subnet 192.168.aaa.bbb is used with a subnet of 255.255.255.0
 +
 
 +
Where aaa is the same number throughout the factory and bbb is a unique number for each device. This is ok up to a maximum of 255 devices on a network.
 +
 
 +
 
 +
In larger factories, the subnet is sometimes changed to 10.000.aaa.bbb and the subnet <u>will be different t</u>o 255.255.255.0
 +
 
 +
Where both aaa and bbb can vary.
 +
 
 +
 
 +
'''Subnet Mask in simple terms - same and different.'''
 +
 
 +
For the 192.168.... range, subnet mask is always 255.255.255.0, so all ip addresses with the first 3 octets the same will talk to each other<syntaxhighlight>
 +
192 .168 .001 .101
 +
192 .168 .001 .102
 +
Same Same Same Diff
 +
255 .255 .255 .000
 +
</syntaxhighlight>For the 10.0.....range, the 3rd octet could vary, so the subnet mask needs to allow for this. With a subnet mask of 255.255.000.000, all Ip addresses with ip address 10.0.aaa.bbb can talk to 10.0.xxx.yyy<syntaxhighlight>
 +
010 .000 .004 .001
 +
010 .000 .008 .054
 +
Same Same Diff Diff
 +
255 .255 .000 .000
 +
</syntaxhighlight>{{Warning|...Again, please do not change the subnet mask unless told to do so by the IT department}}
 +
If you want to understand more about subnets and subnet mask, check out https://www.freecodecamp.org/news/subnet-mask-definition/</translate>
 
{{PageLang
 
{{PageLang
 +
|Language=en
 
|SourceLanguage=none
 
|SourceLanguage=none
 
|IsTranslation=0
 
|IsTranslation=0
|Language=en
 
 
}}
 
}}
 
{{AddComments}}
 
{{AddComments}}

Version du 30 novembre 2022 à 18:44

Auteur avatarGareth Green | Dernière modification 30/11/2022 par Gareth Green en cours de rédaction

Simplistic guide to the subnet mask setting to help diagnose network problems

...Big Warning The subnet mask should not be changed by Stuga engineers unless directed. It is strictly controlled by the customer's IT department / consultants. However, It is helpful to know what it is and what it does to help diagnose connection problems


Definition

A subnet mask defines the range of IP addresses that can be used within a network or subnet.

...It also separates an IP address into two parts: network bits and host bits.

Practical Application

...The 3 digit numbers in an IP address are called octets and range from 0 to 255
...I have padded the 3 digit "octets" with zeroes, this is not strictly necessary but it helps with visualisation


In most applications, the subnet 192.168.aaa.bbb is used with a subnet of 255.255.255.0

Where aaa is the same number throughout the factory and bbb is a unique number for each device. This is ok up to a maximum of 255 devices on a network.


In larger factories, the subnet is sometimes changed to 10.000.aaa.bbb and the subnet will be different to 255.255.255.0

Where both aaa and bbb can vary.


Subnet Mask in simple terms - same and different.

For the 192.168.... range, subnet mask is always 255.255.255.0, so all ip addresses with the first 3 octets the same will talk to each other

192 .168 .001 .101
192 .168 .001 .102
Same Same Same Diff
255 .255 .255 .000

For the 10.0.....range, the 3rd octet could vary, so the subnet mask needs to allow for this. With a subnet mask of 255.255.000.000, all Ip addresses with ip address 10.0.aaa.bbb can talk to 10.0.xxx.yyy

010 .000 .004 .001
010 .000 .008 .054
Same Same Diff Diff
255 .255 .000 .000
...Again, please do not change the subnet mask unless told to do so by the IT department

If you want to understand more about subnets and subnet mask, check out https://www.freecodecamp.org/news/subnet-mask-definition/

Commentaires

Draft