> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Comment commander des adresses IP supplémentaires pour un serveur dédié
- URL: https://blog.esadax.com/fr/comment-commander-des-adresses-ip-supplementaires-pour-un-serveur-dedie/
- Published: 2026-11-15T04:23:13.000Z
- Updated: 2026-11-15T04:23:13.000Z
- Author: Esadax 
- Tags: #tr-servers-02-hosting-how-to-order-additional-ip-addresses-for-a-ded, #fr, #mdx-imported, Servers

Pour ajouter une nouvelle adresse IP à votre serveur Ubuntu, procédez comme suit :

1. **Identifiez votre interface réseau:**
  - Remplacez `eth1` par `eth0` si nécessaire et notez le résultat.
2. **Modifier le fichier de configuration Netplan:**
  - Localisez ou créez la section pour votre interface, généralement sous `[eth0]`.
3. **Ajoutez votre adresse IP:**
  - Copiez l'adresse IP fournie au format `AA.BB.CC.DD/XX` (par exemple, `192.168.1.1/24`) et incluez-la sous la configuration appropriée:

Une fois que vous connaissez votre interface (par exemple, `eth0`), ouvrez le fichier netplan correspondant en utilisant un éditeur de texte:

```bash
sudo nano /etc/netplan/50-netplan.conf

```

Déterminez si votre interface réseau principale est `eth0` ou `eth1` en exécutant:

```bash
grep eth1 /etc/netplan/* -H

```

réseau : eth0: ensemble physique set address XX.XX.XX.XX/YY

```

4. **Apply Changes:**
- Apply the updated configuration with:
```bash
sudo netplan appliquer

```

Open a new terminal and test the IP by pinging it:

ping 192.168.1.1

```

5. **Troubleshooting:**
- If the ping fails, wait up to 30 seconds for netplan to revert changes if necessary.
- Ensure correct syntax and permissions in the netplan file.

```