A VLAN ID is assigned automatically during the group creation. It is possible to modify the VLAN ID with values between 1 and 3967.
Scaleway Dedibox RPN - Quickstart
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 actions presented below, you must have:
- A Dedibox account logged into the console
- A Dedibox dedicated server with RPNv2 connectivity
How to create an RPNv2 group
- 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.
- Click Add group. The add RPNv2 groups form displays.
- Select the type of the group. It can either be Standard or Q-in-Q. Then enter the name of the group and select the servers to add to the group. Click Submit to confirm.
Note
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.
How to configure RPNv2 on Debian
- Install the vlan package by running the following command:
sudo apt-get install vlan
- Edit your
/etc/network/interfaces
file as follows (assuming your RPN NIC iseth1
and your VLAN ID is3900
):auto eth1.3900iface eth1.3900 inet staticaddress my.pri.vate.addressnetmask my.custom.net.mask
How to configure RPNv2 on Ubuntu
The following configuration example uses Netplan. If you are using a classic network configuration, refer to the Debian documentation.
network:version: 2renderer: networkdethernets:mainif:match:macaddress: "de:ad:be:ef:ca:fe"set-name: mainifaddresses: [ "10.3.0.5/23" ]gateway4: 10.3.0.1nameservers:addresses: [ "8.8.8.8", "8.8.4.4" ]search: [ example.com ]vlans:vlan15:id: 15link: mainifaddresses: [ "10.3.99.5/24" ]
How to configure RPNv2 on CentOS
In the following ‘how to’ we assume your RPN NIC is eth1
.
- Create a configuration file for the parent interface, called
/etc/sysconfig/network-scripts/ifcfg-eth1
:DEVICE=eth1TYPE=EthernetBOOTPROTO=noneONBOOT=yes - 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.3900BOOTPROTO=noneONBOOT=yesIPADDR=my.pri.vate.addressPREFIX=CIDR.NetmaskNETWORK=my.private.address.0VLAN=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.
CentOS
- Open the file
/etc/sysconfig/network-scripts/ifcfg-ethX
, whereX
is the number of your interface, in a text editor. Then add the following line to it:MTU="9000" - Restart the network service:
service network restart
Debian
- Open the file
/etc/network/interfaces
in a text editor and insertmtu 9000
below the lineiface ethX inet static
:auto ethXiface ethX inet staticmtu 9000[...] - Restart the network service:
service network restart
Ubuntu
- Open the Netplan configuration file
/etc/netplan/01-netcfg.yaml
in a text editor and add the linemtu: 9000
in the configuration of the RPN interface:ethernets:enp3s0:dhcp4: trueenp4s0:addresses:- 192.168.0.10/24gateway4: 192.168.0.1mtu: 9000nameservers:addresses:- 1.1.1.1- 2.2.2.2 - Save the file, exit the text editor, and reload the network configuration:
sudo netplan apply