You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/dedibox-hardware/how-to/configure-raid-kvm-h310.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: How to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID
3
3
description: This page explains how to configure the DELL PERC H310 / H700 / H710 / H730-P / LSI9361 RAID controller on a Scaleway Dedibox from the KVM
4
4
tags: dell perc h310 h710 h730 raid controller kvm
Copy file name to clipboardExpand all lines: pages/dedibox-ipv6/how-to/configure-ipv6-linux.mdx
+81-54Lines changed: 81 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@ import Requirements from '@macros/iam/requirements.mdx'
16
16
-[Requested](/dedibox-ipv6/how-to/request-prefix/) a /48 IPv6 prefix
17
17
18
18
<Messagetype="note">
19
-
Follow the IPv6 on Ubuntu configuration if you are on Ubuntu and use Netplan as your default network manager.
20
-
Follow the IPv6 on Linux configuration with systemd-networkd if you are on another Linux distribution or prefer to use directly systemd-networkd on Ubuntu.
19
+
If you are running Ubuntu and using Netplan, follow the **Ubuntu (Netplan)** section.
20
+
If you use systemd-networkd directly, or run a different Linux distribution, follow the **Linux (systemd-networkd)** section.
21
21
</Message>
22
22
23
23
## How to configure IPv6 on Ubuntu
@@ -27,99 +27,126 @@ It replaces the classical network configuration with new configuration files, wr
27
27
28
28
1. Open the default configuration file `/etc/netplan/01-netcfg.yaml` in a text editor, and edit it as follows:
29
29
```yaml
30
-
# This file describes the network interfaces available on your system
31
-
# For more information, see netplan(5).
32
30
network:
33
31
version: 2
34
32
renderer: networkd
35
33
ethernets:
36
34
enp1s0:
37
-
dhcp4: no
38
-
dhcp6: no
35
+
dhcp4: false
36
+
dhcp6: false
39
37
addresses:
40
-
- "aaa.bbb.ccc.ddd/24"# The main IP address of your Dedibox server
41
-
- "2001:bc8:xxxx:xxx::x/64"# An IP address from your IPv6 block and its subnet mask /64, replace placeholder values
42
-
gateway4: aaa.bbb.ccc.1 # The gateway is the IPv4 address of your Dedibox, ending on .1
43
-
nameservers:
44
-
addresses: [ "51.159.47.28", "51.159.47.26" ] # Replace the IP of the DNS cache server with the one located in the same physical location as your machine for optimal performances (https://www.scaleway.com/en/docs/account/reference-content/scaleway-network-information/#dns-cache-servers)
38
+
- "AAA.BBB.CCC.DDD/24"# Dedibox IPv4
39
+
- "2001:bc8:xxxx:xxx::1/64"# Assigned IPv6
40
+
gateway4: "AAA.BBB.CCC.1"
45
41
routes:
46
-
- to: 0.0.0.0
47
-
via: aaa.bbb.ccc.1
42
+
- to: 0.0.0.0/0
43
+
via: "AAA.BBB.CCC.1"
48
44
on-link: true
45
+
nameservers:
46
+
addresses:
47
+
- "51.159.47.28"# Replace with the DNS server closest to your DC
48
+
- "51.159.47.26"
49
49
```
50
50
51
51
Remember to replace `enp1s0` with the proper name of your internet interface.
52
52
53
53
<Message type="note">
54
54
The configuration example above is valid for the main IP address of your Dedibox server. If you want to use IPv6 on a [virtual machine](/dedibox-network/how-to/configure-network-netplan/#configuring-a-failover-ip-for-virtual-machines), remember to use the unique gateway for the failover IPv4.
55
55
</Message>
56
-
2. Check and validate your configuration file.
57
-
```
58
-
sudo netplan –debug
59
-
```
60
-
3. Activate the new configuration:
56
+
2. Apply and verify the configuration:
57
+
```bash
58
+
sudo netplan --debug apply
59
+
61
60
```
62
-
sudo netplan apply
61
+
3. Verify addressing:
62
+
```bash
63
+
ip -4 addr
64
+
ip -6 addr
65
+
ip -6 route
63
66
```
64
67
65
68
## How to configure IPv6 on Linux with systemd-networkd
66
69
67
-
`systemd-networkd` is the network manager of [systemd](https://systemd.io/). It is provided natively on most Linux distributions and can be used for the configuration of IPv6 with its DHCPv6 client feature.
70
+
`systemd-networkd`is the network manager of [systemd](https://systemd.io/).
71
+
Most modern Linux distributions ship with `systemd-networkd`.
72
+
This method is appropriate when you:
73
+
74
+
* run distributions that do not use Netplan
75
+
* prefer low-level network configuration
76
+
* configure containers or VMs manually
77
+
78
+
Your IPv6 prefix is routed statically; DHCPv6 is used only for lease negotiation and DUID identification — not for address assignment.
79
+
68
80
69
81
<Message type="tip">
70
82
When specifying the IP address of your Dedibox, you need to enter it in [CIDR notation](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing). The netmask for the main IPv4 of a Dedibox server is `/24`, the netmask for a failover IPv4 is `/32`. The netmask for the IPv6 is `/64`.
71
83
</Message>
72
84
73
-
1. Run the `ip link show` command to find the name of your public internet interface. Make sure to store it, as it will be required in the next steps.
74
-
2. Run the following command to create a backup of the current network configuration and configure `systemd-networkd`:
3. Run the following command to enable `systemd-networkd`.
79
-
```
80
-
systemctl enable systemd-networkd.service
81
-
```
82
-
4. Create a new file called `<interface_name>.network` and open it in a text editor.
83
-
```
84
-
sudo nano /etc/systemd/network/eno1.network
85
+
1. Run the `ip link show` command to find the name of your public internet interface (Example: `eno1`). Make sure to store it, as it will be required in the next steps.
86
+
2. Create a networkd config file:
87
+
```bash
88
+
touch /etc/systemd/network/eno1.network
85
89
```
86
90
5. Open the file in a text editor and paste the following content. Make sure to replace the values in the example with your own and save them before exiting the text editor.
87
-
```
91
+
```bash
88
92
[Match]
89
-
#The name must correspond to your interface name
90
93
Name=eno1
91
94
92
95
[Network]
96
+
# Static IPv4 and IPv6 assignment
97
+
Address=AAA.BBB.CCC.DDD/24
98
+
Address=2001:bc8:xxxx:xxx::1/64
99
+
100
+
Gateway=AAA.BBB.CCC.1
101
+
DNS=51.159.47.28
102
+
DNS=51.159.47.26
103
+
104
+
# DHCPv6 only for PD negotiation
93
105
DHCP=ipv6
94
106
IPv6AcceptRA=yes
95
-
# IPv4 of the Dedibox, change netmask to /32 if failover IPv4
96
-
Address=<ipv4_of_your_dedibox>/24
97
-
# IPv6 of the Dedibox
98
-
Address=2001:bc8:xxxx:xxx::x/64
99
-
100
-
[Route]
101
-
# The IPv4 gateway is either your Dedibox IP ending on .1 (i.e. x.y.z.1) for the physical host or 62.210.0.1 for any VM running on a Dedibox
102
-
Gateway=<gateway_ipv4>
103
-
GatewayOnlink=yes
104
107
105
108
[DHCP]
106
-
ClientIdentifier=duid-only
109
+
ClientIdentifier=duid
107
110
DUIDType=link-layer
108
-
# Scaleway Dedibox DUID without the DUID-LL "00:03" at the beginning
109
-
DUIDRawData=<ScalewayIPv6DUID>
110
-
111
-
[DHCPv6]
112
-
UseAddress=no
113
-
WithoutRA=solicit
111
+
# The Scaleway DUID (without DUID-LL prefix "00:03")
112
+
DUIDRawData=<Scaleway-IPv6-DUID>
114
113
115
114
[IPv6AcceptRA]
115
+
# Required to properly accept Prefix Delegation
116
116
DHCPv6Client=always
117
-
UseOnLinkPrefix=False
118
-
UseAutonomousPrefix=False
117
+
UseOnLinkPrefix=false
118
+
UseAutonomousPrefix=false
119
119
```
120
+
121
+
<Message type="note">
122
+
To retrieve the DUID run the follwoing command:
123
+
124
+
```
125
+
journalctl -u systemd-networkd | grep -i duid
126
+
```
127
+
</Message>
120
128
10. Run the following command to activate the new configuration.
129
+
```bash
130
+
sudo systemctl enable --now systemd-networkd
121
131
```
122
-
systemctl start systemd-networkd
123
-
```
124
132
133
+
## Additional notes
134
+
135
+
### IPv6 addressing
136
+
137
+
* Your /48 prefix must be subdivided into /64 networks
138
+
* The host config generally uses one /64 per interface
139
+
140
+
### CIDR quick reference
141
+
142
+
| Type | CIDR |
143
+
| --------------------- | ---- |
144
+
| Main IPv4 | /24 |
145
+
| Failover IPv4 | /32 |
146
+
| Single IPv6 subnet | /64 |
147
+
| Delegated IPv6 prefix | /48 |
148
+
149
+
### DNS servers
125
150
151
+
Scaleway resolvers vary by datacenter.
152
+
Refer to [Scaleway network information](https://www.scaleway.com/en/docs/network/reference-content/scaleway-network-information/) for more information.
@@ -12,7 +12,7 @@ import Requirements from '@macros/iam/requirements.mdx'
12
12
13
13
<DediboxScalewayMigration />
14
14
15
-
You can edit the reverse DNS of a failover IP address to a custom value. This can be useful when you want to send emails from your Dedibox, as certain remote mail servers do not accept emails coming from generic reverse hostnames.
15
+
You can configure the reverse DNS (rDNS) of a failover IP address with a custom value. This is particularly useful when sending emails from your Dedibox, as some remote mail servers may reject messages originating from generic reverse hostnames.
0 commit comments