Skip to content

Commit 0c34e4a

Browse files
feat(dedibox-rpn): new page to test different RPN in rescue mode - ext-feat-rescue-rpn-ddx-network
1 parent ef6a2c9 commit 0c34e4a

File tree

3 files changed

+213
-1
lines changed

3 files changed

+213
-1
lines changed
49.7 KB
Loading
19.9 KB
Loading

pages/dedibox-rpn/how-to/test-rpn-rescue.mdx

Lines changed: 213 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,219 @@ dates:
66
validation: N/A
77
posted: 2025-09-30
88
---
9+
import image from 'assets/scaleway_dedibox_rpn_rescue_network.png'
10+
import image2 from 'assets/scaleway_dedibox_rpn_rescue_page_list.png'
911

1012
<Message type="tip">
1113
To put the servers into rescue mode, you can consult this [page](/dedibox/how-to/use-rescue-mode/).
12-
</Message>
14+
</Message>
15+
16+
# RPNv1
17+
18+
<Message type="important">
19+
Please ensure that you have your RPN group with at least two servers in it for the test.
20+
<Lightbox image={image2} alt="" />
21+
</Message>
22+
23+
You can access your RPN groups page [here](https://console.online.net/fr/server/rpn).
24+
25+
- On both servers
26+
27+
Install ***isc-dhcp-client*** with this command:
28+
29+
```sh
30+
apt install isc-dhcp-client
31+
```
32+
33+
Execute this command to automatically request a network configuration.
34+
35+
```sh
36+
dhclient
37+
```
38+
39+
Once this command has been executed, it will automatically find the IP address.
40+
41+
```sh
42+
3: enp0s20f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
43+
link/ether 00:07:cb:0b:8d:d2 brd ff:ff:ff:ff:ff:ff
44+
inet 10.91.173.31/24 brd 10.91.173.255 scope global dynamic enp0s20f1
45+
valid_lft 388239557sec preferred_lft 388239557sec
46+
inet6 fe80::207:cbff:fe0b:8dd2/64 scope link
47+
valid_lft forever preferred_lft forever
48+
```
49+
50+
Here is the result demonstrating that RPNv1 works.
51+
52+
- Server A :
53+
54+
```sh
55+
3: enp0s20f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
56+
link/ether 00:07:cb:0b:8d:d2 brd ff:ff:ff:ff:ff:ff
57+
inet 10.91.173.31/24 brd 10.91.173.255 scope global dynamic enp0s20f1
58+
valid_lft 388239325sec preferred_lft 388239325sec
59+
inet6 fe80::207:cbff:fe0b:8dd2/64 scope link
60+
valid_lft forever preferred_lft forever
61+
root@rescue-ddx:~# ping 10.91.173.41
62+
PING 10.91.173.41 (10.91.173.41) 56(84) bytes of data.
63+
64 bytes from 10.91.173.41: icmp_seq=1 ttl=64 time=0.366 ms
64+
64 bytes from 10.91.173.41: icmp_seq=2 ttl=64 time=0.081 ms
65+
64 bytes from 10.91.173.41: icmp_seq=3 ttl=64 time=0.114 ms
66+
64 bytes from 10.91.173.41: icmp_seq=4 ttl=64 time=0.077 ms
67+
64 bytes from 10.91.173.41: icmp_seq=5 ttl=64 time=0.110 ms
68+
64 bytes from 10.91.173.41: icmp_seq=6 ttl=64 time=0.296 ms
69+
^C
70+
--- 10.91.173.41 ping statistics ---
71+
6 packets transmitted, 6 received, 0% packet loss, time 111ms
72+
rtt min/avg/max/mdev = 0.077/0.174/0.366/0.113 ms
73+
root@rescue-ddx:~#
74+
```
75+
76+
- Server B :
77+
78+
```sh
79+
3: enp0s20f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UP group default qlen 1000
80+
link/ether 00:07:cb:0b:8d:5a brd ff:ff:ff:ff:ff:ff
81+
inet 10.91.173.41/24 brd 10.91.173.255 scope global dynamic enp0s20f1
82+
valid_lft 388239321sec preferred_lft 388239321sec
83+
inet6 fe80::207:cbff:fe0b:8d5a/64 scope link
84+
valid_lft forever preferred_lft forever
85+
root@rescue-ddx:~# ping 10.91.173.31
86+
PING 10.91.173.31 (10.91.173.31) 56(84) bytes of data.
87+
64 bytes from 10.91.173.31: icmp_seq=1 ttl=64 time=0.143 ms
88+
64 bytes from 10.91.173.31: icmp_seq=2 ttl=64 time=0.077 ms
89+
64 bytes from 10.91.173.31: icmp_seq=3 ttl=64 time=0.076 ms
90+
64 bytes from 10.91.173.31: icmp_seq=4 ttl=64 time=0.113 ms
91+
64 bytes from 10.91.173.31: icmp_seq=5 ttl=64 time=0.098 ms
92+
64 bytes from 10.91.173.31: icmp_seq=6 ttl=64 time=0.091 ms
93+
^C
94+
--- 10.91.173.31 ping statistics ---
95+
6 packets transmitted, 6 received, 0% packet loss, time 112ms
96+
rtt min/avg/max/mdev = 0.076/0.099/0.143/0.025 ms
97+
root@rescue-ddx:~#
98+
```
99+
100+
# RPNv2
101+
102+
1. On each server page, you will find a network section.
103+
<Lightbox image={image} alt="" />
104+
105+
2. You will need to retrieve the MAC address where there is a private IP address.
106+
107+
3. Log in to rescue mode and enter this command:
108+
109+
```sh
110+
ip a
111+
```
112+
113+
You should obtain this result:
114+
115+
```sh
116+
root@rescue-ddx:~# ip a
117+
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
118+
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
119+
inet 127.0.0.1/8 scope host lo
120+
valid_lft forever preferred_lft forever
121+
inet6 ::1/128 scope host
122+
valid_lft forever preferred_lft forever
123+
2: enp0s20f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
124+
link/ether 00:07:cb:0b:8d:d1 brd ff:ff:ff:ff:ff:ff
125+
inet 51.15.9.61/24 brd 51.15.9.255 scope global enp0s20f0
126+
valid_lft forever preferred_lft forever
127+
inet6 fe80::207:cbff:fe0b:8dd1/64 scope link
128+
valid_lft forever preferred_lft forever
129+
3: enp0s20f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
130+
link/ether 00:07:cb:0b:8d:d2 brd ff:ff:ff:ff:ff:ff
131+
root@rescue-ddx:~#
132+
```
133+
134+
For our example, the **enp0s20f1** interface is required for the RPN and matches with the MAC address retrieved on the console.
135+
136+
4. Enable the network interface with this command:
137+
138+
```sh
139+
ip link set enp0s20f1 up
140+
```
141+
142+
You can see that the interface is UP.
143+
144+
```sh
145+
3: enp0s20f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
146+
link/ether 00:07:cb:0b:8d:d2 brd ff:ff:ff:ff:ff:ff
147+
inet6 fe80::207:cbff:fe0b:8dd2/64 scope link
148+
valid_lft forever preferred_lft forever
149+
root@rescue-ddx:~#
150+
```
151+
152+
You can now retrieve the VLAN ID for each server in your RPNv2 Group or create it [here](https://console.online.net/fr/server/rpn/v2).
153+
154+
- In our example, we have two servers with VLAN ID 2000.
155+
156+
- On each server, you will need to execute these commands to configure RPNv2.
157+
158+
```sh
159+
ip link add link enp0s20f1 name enp0s20f1.2000 type vlan id 2000
160+
```
161+
162+
- On server A :
163+
164+
```sh
165+
ip addr add 10.0.0.1/24 dev enp0s20f1.2000
166+
```
167+
168+
- On server B:
169+
170+
```sh
171+
ip addr add 10.0.0.2/24 dev enp0s20f1.2000
172+
```
173+
174+
<Message type="note">
175+
If you have successfully pinged both IPs from both servers, this indicates that RPNv2 is functioning.
176+
</Message>
177+
178+
# Test the RPN bandwidth with Iperf3
179+
180+
<Message type="tip">
181+
Iperf3 is already installed in rescue mode.
182+
</Message>
183+
184+
- On server A
185+
186+
You need to launch iperf3 in server mode with this command:
187+
188+
```sh
189+
iperf3 -s
190+
```
191+
192+
- On server B
193+
194+
You need to launch iperf3 in client mode with this command:
195+
196+
```sh
197+
iperf3 -c PRIVATE_IP
198+
```
199+
200+
You will then obtain a result:
201+
202+
```sh
203+
root@rescue-ddx:~# iperf3 -c 10.91.173.31
204+
Connecting to host 10.91.173.31, port 5201
205+
[ 5] local 10.91.173.41 port 36966 connected to 10.91.173.31 port 5201
206+
[ ID] Interval Transfer Bitrate Retr Cwnd
207+
[ 5] 0.00-1.00 sec 133 MBytes 1.11 Gbits/sec 141 8.74 KBytes
208+
[ 5] 1.00-2.00 sec 28.1 MBytes 236 Mbits/sec 221 8.74 KBytes
209+
[ 5] 2.00-3.00 sec 34.1 MBytes 286 Mbits/sec 259 8.74 KBytes
210+
[ 5] 3.00-4.00 sec 28.0 MBytes 234 Mbits/sec 234 8.74 KBytes
211+
[ 5] 4.00-5.00 sec 27.5 MBytes 230 Mbits/sec 196 17.5 KBytes
212+
[ 5] 5.00-6.00 sec 32.9 MBytes 276 Mbits/sec 258 402 KBytes
213+
[ 5] 6.00-7.00 sec 29.2 MBytes 245 Mbits/sec 227 17.5 KBytes
214+
[ 5] 7.00-8.00 sec 27.7 MBytes 232 Mbits/sec 212 26.2 KBytes
215+
[ 5] 8.00-9.00 sec 27.2 MBytes 228 Mbits/sec 225 17.5 KBytes
216+
[ 5] 9.00-10.00 sec 34.6 MBytes 291 Mbits/sec 273 17.5 KBytes
217+
- - - - - - - - - - - - - - - - - - - - - - - - -
218+
[ ID] Interval Transfer Bitrate Retr
219+
[ 5] 0.00-10.00 sec 402 MBytes 337 Mbits/sec 2246 sender
220+
[ 5] 0.00-10.04 sec 400 MBytes 334 Mbits/sec receiver
221+
222+
iperf Done.
223+
root@rescue-ddx:~#
224+
```

0 commit comments

Comments
 (0)