Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| tutoriel:wifi_ad-hoc [Le 05/02/2017, 14:51] – [Installation d'un serveur DHCP] L'Africain | tutoriel:wifi_ad-hoc [Le 11/09/2022, 12:19] (Version actuelle) – Suppression des espaces en fin de ligne (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) moths-art | ||
|---|---|---|---|
| Ligne 24: | Ligne 24: | ||
| Sur le premier poste, après avoir identifié sa carte wi-fi tel qu' | Sur le premier poste, après avoir identifié sa carte wi-fi tel qu' | ||
| < | < | ||
| - | auto lo | + | auto lo |
| - | iface lo inet loopback | + | iface lo inet loopback |
| - | auto eth1 | + | auto eth1 |
| - | iface eth1 inet static | + | iface eth1 inet static |
| address 10.0.0.1 | address 10.0.0.1 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Ligne 46: | Ligne 46: | ||
| Sur le second poste, après avoir identifié sa carte wi-fi tel qu' | Sur le second poste, après avoir identifié sa carte wi-fi tel qu' | ||
| < | < | ||
| - | auto lo | + | auto lo |
| - | iface lo inet loopback | + | iface lo inet loopback |
| - | auto eth1 | + | auto eth1 |
| - | iface eth1 inet static | + | iface eth1 inet static |
| address 10.0.0.2 | address 10.0.0.2 | ||
| netmask 255.255.255.0 | netmask 255.255.255.0 | ||
| Ligne 76: | Ligne 76: | ||
| < | < | ||
| - | # This is a very basic subnet declaration. | + | # This is a very basic subnet declaration. |
| - | subnet 10.0.0.0 netmask 255.255.255.0 { | + | subnet 10.0.0.0 netmask 255.255.255.0 { |
| range 10.0.0.2 10.0.0.20; | range 10.0.0.2 10.0.0.20; | ||
| option domain-name-servers 8.8.8.8, 8.8.4.4; | option domain-name-servers 8.8.8.8, 8.8.4.4; | ||
| option routers 10.0.0.1; | option routers 10.0.0.1; | ||
| - | } | + | } |
| </ | </ | ||
| Ligne 87: | Ligne 87: | ||
| < | < | ||
| - | # On what interfaces should the DHCP server serve DHCP requests? | + | # On what interfaces should the DHCP server serve DHCP requests? |
| - | # | + | # |
| - | INTERFACES=" | + | INTERFACES=" |
| </ | </ | ||
