Outils pour utilisateurs

Outils du site


cours:bat4:netipws:ipudptcpsummary

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
cours:bat4:netipws:ipudptcpsummary [2018/03/07 13:18]
tigli [Internet Communications and Protocol : Key Ideas]
cours:bat4:netipws:ipudptcpsummary [2018/03/20 15:45] (Version actuelle)
tigli [Internet Communications and Protocol : Key Ideas]
Ligne 20: Ligne 20:
   * a network mask allows to specify the number of bits of the netid. All the bits corresponding to the netid are equal to 1 and the other to 0. Thus for 167.145.134.32/​18 (the means 18 bits to code the netid), the mask is 255.255.192.0.   * a network mask allows to specify the number of bits of the netid. All the bits corresponding to the netid are equal to 1 and the other to 0. Thus for 167.145.134.32/​18 (the means 18 bits to code the netid), the mask is 255.255.192.0.
   * For each network, size of subnetid + size of hostid ​ = 32 - size of netid. Be careful, <​netid>​|0..0 and <​netid>​|1..1 are use respectively to indentify the corresponding network and the broadcast adress (to send data to all the interfaces of the <​netid>​ network at the same time).   * For each network, size of subnetid + size of hostid ​ = 32 - size of netid. Be careful, <​netid>​|0..0 and <​netid>​|1..1 are use respectively to indentify the corresponding network and the broadcast adress (to send data to all the interfaces of the <​netid>​ network at the same time).
-  * So, for each network coded on k bits, a maximum of 2^(32-k-1) adresses are available for hosts. ​+  * So, for each network coded on k bits, a maximum of 2^(32-k) ​- 2 adresses are available for hosts. ​
  
 === Exercices :  === === Exercices :  ===
   * How many interfaces has your PC ? (use ipconfig or ifconfig commands according to your OS : linus, MacOS, Windows) ​   * How many interfaces has your PC ? (use ipconfig or ifconfig commands according to your OS : linus, MacOS, Windows) ​
-  * What is the IP adress for Wifi ? What is the mask of the corresponding network ? What is the list of IP adresses on this network ?+  * What is the mask of the corresponding network ? What is the list of IP adresses on this network ?
  
 === Advanced Exercice : === === Advanced Exercice : ===
Ligne 44: Ligne 44:
   * Each Interface B to G is obviously connected to each appartment.   * Each Interface B to G is obviously connected to each appartment.
  
-The routing table of the router is then : +** The routing table of the router is then :  **
 |Interface|Mac Address|IP address of the network| Mask of the Nerwork| |Interface|Mac Address|IP address of the network| Mask of the Nerwork|
 |A|00:​11:​22:​33:​44:​55|Gateway*|| |A|00:​11:​22:​33:​44:​55|Gateway*||
Ligne 62: Ligne 62:
   * using calc application on your PC in programmer mode (see upper left menu), try an AND operator between different hostids of different sunbets and the last byte of the mask ...    * using calc application on your PC in programmer mode (see upper left menu), try an AND operator between different hostids of different sunbets and the last byte of the mask ... 
   * Ex. : 203 AND 248, gives 200 ; 219 AND 248 gives 216.    * Ex. : 203 AND 248, gives 200 ; 219 AND 248 gives 216. 
-  * When you do same thing between 145.134.235.216 and 255.255.255.248 ​b yte after byte what is the result? ... do you understand? ​+  * When you do same thing between 145.134.235.216 and 255.255.255.248 ​byte after byte what is the result? ... do you understand? ​ 
 +  * This is the simplest operation to determine as quickly as possible which is the network the IP address belong to and what is the corresponding interface to use.
  
  
Ligne 72: Ligne 73:
 </​note>​ </​note>​
  
- 
-====  Transport Protocols : Key Ideas ==== 
-|| 
- 
-  * Because one internet interface can be used to send and receive multiple data simultaneously (from and for multiple software applications on a same interface of a smartphone, a PC, a TV ...), transport potocols are just above IP to dispatch these communications.  ​ 
-  * On each  
  
  
cours/bat4/netipws/ipudptcpsummary.1520425083.txt.gz · Dernière modification: 2018/03/07 13:18 par tigli