Ci-dessous, les différences entre deux révisions de la page.
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:21] 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 73: | 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 | ||