Scaleway DocumentationDedibox NetworkRPNHow to
How to configure the RPNv1 gateway

Update content

How to configure the RPNv1 gateway

Reviewed on 16 July 2021Published on 16 July 2021

If you have services that are available only on the RPNv1 (RPN-SAN, server not compatible with RPNv2 etc), you can add a compatibility layer through your console.

Important:

This feature does not work with the RPN-VPN at the moment, and could cause troubles on your whole RPN Group if you add it.

In the RPNv2 management console, click on the corresponding button, and select an RPNv1 group that will be able to access it. Once you have done that, you can either restart your DHCLIENT on your RPNv1 servers for them to get the new routes or manually add a route to 10.88.0.0/13 through your already existent RPN Gateway.

You can do it with the following snippet:

ip route add 10.88.0.0/13 via $RPNGW
Note:

Make sure to replace $RPNGW with your actual RPN Gateway.

On the RPNv2 servers, you will be provided with an RPNv1 subnet usable on your VLAN ID. If, for example, you get the following block: 10.88.101.0/28

  • The IP 10.88.101.1 will be your gateway on the RPNv1 network for the RPNv2 server
  • The IPs 10.88.101.2-14 can be used on your RPNv2 servers
  1. Configure your interfaces as following in /etc/network/interfaces (on a Debian based machine):

    iface eth1.3900:0 inet static
    address 10.88.101.2
    netmask 255.255.255.240
    Note:

    The name of your network adapter may be different, depending on your OS version. You can use ifconfig to display information about your network adapters.

  2. Add the route for the whole network:

    ip route add 10.88.0.0/13 via 10.88.101.1

Following you find a schema of how this works for all your RPN services (v1 and v2):

See Also