---
title: "Networking"
description: "Learn about VM networking on Edge Network: public IPs, additional IP addresses, private networks between VMs, bandwidth usage and IPv6 support."
url: "https://edge.network/docs/compute/networking"
section: "Compute"
---

# Networking

Manage IP addresses, private networks and bandwidth for your virtual machines.

## Public IP addresses

Every VM is assigned a public IPv4 address on creation. This is your VM's primary public address for incoming and outgoing traffic.

### Finding your IP address

1. Navigate to your VM's **Networking** tab.
2. Your public IPv4 address is displayed at the top.
3. Click the copy icon to copy it to the clipboard.

![Networking tab showing IP addresses](/media/docs/control-vm-networking.svg)

> [!NOTE]
> **Static IPs.** Your public IP remains the same for the lifetime of your VM. It only changes if you delete and recreate the VM.

## Additional IP addresses

You can add additional public IPv4 addresses to your VM for hosting multiple services, SSL certificates or failover configurations.

### Adding an IP address

1. Go to your VM's **Networking** tab.
2. Click **Add IP**.
3. Confirm the additional cost ($2/month per IP).
4. The new IP is allocated and displayed in the list.

### Configuring additional IPs

Additional IPs are assigned to your VM but need to be configured in the operating system. Here's how to add an IP on Ubuntu/Debian:

```bash
# Add a secondary IP to eth0
sudo ip addr add YOUR_NEW_IP/32 dev eth0

# Make it persistent (Ubuntu 18.04+)
# Edit /etc/netplan/50-cloud-init.yaml and add:
#   addresses:
#     - YOUR_PRIMARY_IP/24
#     - YOUR_NEW_IP/32
```

### Removing an IP address

1. Go to your VM's **Networking** tab.
2. Find the IP you want to remove.
3. Click the trash icon next to the IP.
4. Confirm the deletion.

> [!WARNING]
> You cannot remove your primary IP address. Only additional IPs can be deleted.

## Private networks

Private networks allow your VMs to communicate with each other securely, without traffic going over the public internet.

### Benefits

- Secure VM-to-VM communication
- No exposure to the public internet
- Lower latency than public networking
- Free bandwidth between VMs

### Limitations

- Same region only
- One private IP per network per VM
- Maximum of 10 networks per account

### Creating a private network

1. Go to any VM's **Networking** tab.
2. Scroll to **Your Private Networks**.
3. Click **Create Network**.
4. Enter a name for the network.
5. Click **Create Network**.

The network is automatically assigned an IP range (e.g. `10.x.0.0/24`) and gateway.

### Attaching VMs to a network

1. Go to the VM's **Networking** tab.
2. Click **Attach Network**.
3. Select the network from the dropdown.
4. The VM is assigned a private IP on that network.

```bash
# After attaching, the network interface appears automatically
# Check with:
ip addr show

# You should see an interface like ens4 with your private IP
# e.g., inet 10.185.0.2/24
```

### Detaching and deleting

To detach a VM from a network, click the trash icon next to the attached network. To delete a network entirely, you must first detach all VMs from it.

> [!NOTE]
> **Private networks are free.** There's no charge for creating or using private networks.

## Bandwidth

Monitor your VM's bandwidth usage from the **Networking** tab. Edge Network includes generous bandwidth with zero egress fees.

> [!TIP]
> **Zero egress fees.** Unlike other cloud providers, Edge Network doesn't charge for outbound data transfer. Upload and download as much as you need.

### Viewing bandwidth usage

The **Networking** tab shows your current month's bandwidth usage:

- **Inbound:** data received by your VM
- **Outbound:** data sent from your VM
- **Total:** combined bandwidth usage

## IPv6

IPv6 support varies by region. Where available, your VM is assigned a public IPv6 address in addition to its IPv4 address.

IPv6 addresses are displayed in the **Networking** tab alongside your IPv4 addresses. Both protocols are supported simultaneously.
