---
title: Scaleway Dedibox RPN - Quickstart
description: This page shows you how to get started with RPN (Real Private Network) on Scaleway Dedibox
tags: dedibox rpn real private network rpnv2 jumboframes
dates:
  validation: 2025-09-09
  posted: 2021-05-26
---

RPN (Real Private Network) establishes a dedicated, secure connection through your server's secondary network interface. It allows you to seamlessly transfer data among your servers via a controlled, private network.

With exceptional performance characterized by minimal latency and support for jumbo frames, this network ensures swift communication between your servers. Effortlessly organize your servers within your Private Network with just a few clicks, irrespective of their quantity or physical locations.

RPNv2 offers unparalleled flexibility, enabling you to construct your architecture within a secure, isolated environment. You have complete control, allowing for the setup of custom VLANs, IP address ranges, subnets, routing tables, and network gateways.

Furthermore, RPN v2 facilitates the configuration of robust security measures to manage your RPN. Segment your infrastructure by creating distinct public and private groups, ensuring that your web server applications are publicly accessible while keeping backend applications secluded from internet access.

## Before you start

To complete the following actions, you must have:

* A Dedibox account logged into the [console](https://console.online.net)
* A [Dedibox dedicated server](https://www.scaleway.com/en/dedibox/) with RPNv2 connectivity

## How to create an RPNv2 group

1. Click on **RPN** > **RPN groups** in the menu on top of the console. Then click **Local RPNv2 groups** in the menu on the left. The RPNv2 groups page displays.

2. Click **Add group**. The add RPNv2 groups form displays.

3. Select the type of the group. It can either be **Standard** or **[Q-in-Q](/en/docs/dedibox-rpn/concepts/#q-in-q-mode)**. Then enter the name of the group and select the servers to add to the group. Click **Submit** to confirm.

   > **Note**
   >
   > A VLAN ID is assigned automatically during the group creation. It is possible to modify the VLAN ID with values between 1 and 3967.

## How to configure the RPN interface

Below you find configuration instructions for the most common operating systems. For more information, refer to our how-to about [RPNv2 interface configuration](/en/docs/dedibox-rpn/how-to/configure-rpnv2/).

### How to configure RPNv2 on Debian

1. Install the vlan package by running the following command:
   ```
   sudo apt-get install vlan
   ```
2. Edit your `/etc/network/interfaces` file as follows (assuming your RPN NIC is `eth1` and your VLAN ID is `3900`):
   ```
   auto eth1.3900
   iface eth1.3900 inet static
       address my.pri.vate.address
       netmask my.custom.net.mask
   ```

### How to configure RPNv2 on Ubuntu

> **Note**
>
> The following configuration example uses [Netplan](https://netplan.io/). If you are using a classic network configuration, refer to the [Debian documentation](https://www.debian.org/doc/).

```
network:
    version: 2
    renderer: networkd
    ethernets:
        mainif:
            match:
                macaddress: "de:ad:be:ef:ca:fe"
            set-name: mainif
            addresses: [ "10.3.0.5/23" ]
            gateway4: 10.3.0.1
            nameservers:
                addresses: [ "8.8.8.8", "8.8.4.4" ]
                search: [ example.com ]
    vlans:
        vlan15:
            id: 15
            link: mainif
            addresses: [ "10.3.99.5/24" ]
```

### How to configure RPNv2 on CentOS

In the following 'how to' we assume your RPN NIC is `eth1`.

1. Create a configuration file for the parent interface, called `/etc/sysconfig/network-scripts/ifcfg-eth1`:
   ```
   DEVICE=eth1
   TYPE=Ethernet
   BOOTPROTO=none
   ONBOOT=yes
   ```
2. Create another file for the vlan interface (assuming the VLAN ID is `3900`). The file is called `/etc/sysconfig/network-scripts/ifcfg-eth1.3900`:
   ```
   DEVICE=eth1.3900
   BOOTPROTO=none
   ONBOOT=yes
   IPADDR=my.pri.vate.address
   PREFIX=CIDR.Netmask
   NETWORK=my.private.address.0
   VLAN=YES
   ```

## How to configure Jumboframes

The RPN supports Jumboframes with a maximum payload of 9000 bytes. You need to configure your RPN interface to send pacekets with an MTU 9000. For more information, refer to our how-to: [Configuration of Jumboframes](/en/docs/dedibox-rpn/how-to/configure-jumboframes/).

#### CentOS

1. Open the file `/etc/sysconfig/network-scripts/ifcfg-ethX`, where `X` is the number of your interface, in a text editor. Then add the following line to it:
   ```
   MTU="9000"
   ```
2. Restart the network service:
   ```
   service network restart
   ```

#### Debian

1. Open the file `/etc/network/interfaces` in a text editor and insert `mtu 9000` below the line `iface ethX inet static`:
   ```
   auto ethX
   iface ethX inet static
   mtu 9000
   [...]
   ```
2. Restart the network service:
   ```
   service network restart
   ```

#### Ubuntu

1. Open the Netplan configuration file `/etc/netplan/01-netcfg.yaml` in a text editor and add the line `mtu: 9000` in the configuration of the RPN interface:
   ```
   ethernets:
       enp3s0:
           dhcp4: true
       enp4s0:
           addresses:
               - 192.168.0.10/24
           gateway4: 192.168.0.1
           mtu: 9000
           nameservers:
               addresses:
                   - 1.1.1.1
                   - 2.2.2.2
   ```
2. Save the file, exit the text editor, and reload the network configuration:
   ```
   sudo netplan apply
   ```
