> ## 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.

# Kuinka tilata lisää IP-osoitteita omalle palvelimelle
- URL: https://blog.esadax.com/fi/kuinka-tilata-lisaa-ip-osoitteita-omalle-palvelimelle/
- Published: 2026-11-15T04:23:06.000Z
- Updated: 2026-11-15T04:23:06.000Z
- Author: Esadax 
- Tags: #tr-servers-02-hosting-how-to-order-additional-ip-addresses-for-a-ded, #fi, #mdx-imported, Servers

Voit lisätä uuden IP-osoitteen Ubuntu-palvelimeesi noudattamalla seuraavia ohjeita:

1. **Tunnista verkkoliitäntäsi:**
  - Korvaa `eth1` tarvittaessa `eth0`:llä ja merkitse tulos muistiin.
2. **Muokkaa Netplanin asetustiedostoa:**
  - Etsi tai luo käyttöliittymääsi koskeva osio, yleensä kohdassa `[eth0]`.
3. **Lisää IP-osoitteesi:**
  - Kopioi annettu IP-osoite muodossa `AA.BB.CC.DD/XX` (esim. `192.168.1.1/24`) ja sisällytä se sopivan kokoonpanon alle:

Kun tiedät liitännästäsi (esim. `eth0`), avaa vastaava netplan-tiedosto tekstieditorilla:

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

```

Selvitä, onko pääverkkoliitäntä `eth0` vai `eth1`, suorittamalla seuraava komento:

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

```

Verkko: eth0: aseta fyysinen aseta osoite XX.XX.XX.XX/YY

```

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

```

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.

```