RPN - Quickstart
The RPN (Real Private Network) is a dedicated private network connected to the second network interface of your server. It allows you to exchange data between your servers over a private network that you control. This network provides high performance with very low latency and support of jumbo frames as standard. You can easily regroup your servers within your Private Network with a few clicks, regardless of their number or physical location. RPN v2 gives you the flexibility to build your architecture in a secure and isolated environment. You control everything and can setup your own VLANs, IP addresses ranges, subnets, routing tables and network gateways. RPN v2 also allows you to build security layers to manage your Private Network. Create a public group for your web server applications and place your backend applications in a private group without internet access. All that backed by an insane connectivity for extreme network performances.
- You have an account and are logged into the Dedibox console
- You have 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:
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.
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: 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
.
- 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 a 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