How to find your RPNv1 gateway
Published on 10 November 2021
Your RPNv1 gateway may differ from one Dedibox to another for techical reasons. It is normally pushed by DHCP, and 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 rescue mode.
Requirements:
- You have an account and are logged into the Dedibox Console
- You have a Dedibox dedicated server with RPN interface
-
Reboot your Dedibox into rescue mode.
Important:Applications hosted on the Dedibox become unavailable while your server is in rescue mode.
-
Run the
ip route show
command to display your RPNv1 gateway. An output as the following displays:# ip route show10.90.0.0/XX via X.X.X.X ...The output contains the following information:
10.90.0.0/XX
: 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.
Note:The gateway does not ping, this is normal behavior.
Tip:
If you know your RPN netmask, you can also find your gateway from normal mode by using ipcalc
.
- Run the following command to calculate the IP address of your RPNv1 gateway:
The gateway is located at the IP address in place of# ipcalc -b [SET_HERE_YOUR_RPN_IP]/[CIDR_NETMASK] | grep HostMinHostMin: X.X.X.X
X.X.X.X
.
See Also