Sidebar navigationMain contentFooter
Contribute on Github

How to find your RPNv1 gateway

Reviewed on 30 October 2023Published on 10 November 2021

Your RPNv1 gateway may differ from one Dedibox to another for technical reasons. It is normally pushed by DHCP, and configured automatically. However, in some cases you may need to know the details of the gateway.

You can find the RPNv1 gateway for your Dedibox in the Scaleway console, or by running the following commands.

  • You have an account and are logged into the Dedibox console
  • You have a Dedibox dedicated server with an RPN interface
  1. Connect to your Dedibox using SSH.

  2. Install the iproute2 package, if not done yet. For Debian and Ubuntu, use the following command to install it:

    apt install iproute2
  3. Run the ip route show command to display your RPNv1 gateway. An output as the following displays:

    # ip route show via X.X.X.X ...

    The output contains the following information:

    • Your RPNv1 IP subnet. The part after the / represents the CIDR netmask of your subnet.
    • X.X.X.X: The IP address of the gateway. The gateway is always the first IP of the subnet.

    The gateway does not ping, this is normal behavior.


If you know your RPN netmask, you can also find your gateway by using ipcalc.

  • Run the following command to calculate the IP address of your RPNv1 gateway:
    # ipcalc -b [SET_HERE_YOUR_RPN_IP]/[CIDR_NETMASK] | grep HostMin
    HostMin: X.X.X.X
    The gateway is located at the IP address in place of X.X.X.X.
See also
How to configure the RPNv1 gatewayHow to connect to an RPN SAN
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
  • Blog
  • Careers
  • Scaleway Learning
Scaleway Docs
Follow us
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS