Jump toUpdate content
How to configure the RPNv2 on a Dedibox
RPNv2 can be configured on any operating system, supporting VLANs, available for Dedibox servers.
Install the vlan package by running the following command:
sudo apt-get install vlan
/etc/network/interfacesfile as follows (assuming your RPN NIC is
eth1and your VLAN ID is
auto eth1 eth1.3900
iface eth1.3900 inet static
addresses: [ "10.3.0.5/23" ]
addresses: [ "188.8.131.52", "184.108.40.206" ]
search: [ example.com ]
addresses: [ "10.3.99.5/24" ]
In the following ‘how to’ we assume your RPN NIC is
Create a configuration file for the parent interface, called
Create another file for the vlan interface (assuming the VLAN ID is
3900). The file is called
/etc/rc.conf file, assuming
ix0 is your RPN NIC, and
3900 your VLAN ID:
ifconfig_vlan3900="inet my.pri.vate.IP/CIDR.NETMASK vlan 3900 vlandev ix0"
Do not forget to adapt the VLAN ID, Interface Name, and Network configuration to your needs.
On ESXi you can create virtual switches that talk directly on the corresponding VLAN ID.
Check your network interfaces, to discover which one corresponds to the RPN interface. In the following example, the RPN interface is
Enter the Virtual switch section and add a new one by clicking Add standard virtual switch:
Enter a name for the virtual switch, set the MTU to
9000and select the RPN interface as uplink:
Click the Port groups tab and click Add port group to create a new one:
Enter a name for the new port group and set the VLAN IP, then select the virtual switch and click Add.
The virtual switch is configured now.
Create a NIC directly linked on your new Group (VM Network in the example above) and configure it in your virtual machine using your address-plan.
No VLAN Configuration is required in your VM, everything is handled in your vSwitch directly.
Login to the Proxmox web interface anc click System > Network.
Click Create on the network page.
Configure your bridge with a
bridge_portwhich will be named after your RPN NIC, and your VLAN ID.Tip:
For instance, if your RPN NIC is eth2 and your VLAN ID 3900, name it