IPv6-PD, DHCP-6RD #12

Open
opened 2023-04-08 19:01:26 +00:00 by eichehome · 0 comments
Owner

IPv6 Prefix Delegation

/etc/systemd/network/55-dhcpv6-pd-upstream.network
[Match]
Name=enp1s0

[Network]
DHCP=ipv6

# The below setting is optional, to also assign an address in the delegated prefix
# to the upstream interface. If not necessary, then comment out the line below and
# the [DHPCPrefixDelegation] section.
DHCPPrefixDelegation=yes

# If the upstream network provides Router Advertisement with Managed bit set,
# then comment out the line below and WithoutRA= in the [DHCPv6] section.
IPv6AcceptRA=no

[DHCPv6]
WithoutRA=solicit

[DHCPPrefixDelegation]
UplinkInterface=:self
SubnetId=0
Announce=no
/etc/systemd/network/55-dhcpv6-pd-downstream.network
[Match]
Name=enp2s0

[Network]
DHCPPrefixDelegation=yes
IPv6SendRA=yes

# It is expecting that the host is acting as a router. So, usually it is not
# necessary to recive Router Advertisement from other hosts in the downstream network.
IPv6AccepRA=no

[DHCPPrefixDelegation]
UplinkInterface=enp1s0
SubnetId=1
Announce=yes

DHCP-6RD

/etc/systemd/network/55-dhcpv4-6rd-upstream.network
[Match]
Name=enp1s0

[Network]
DHCP=ipv4

# When DHCPv4-6RD is used, the upstream network doas not support IPv6.
# Hence, it is not necessary to wait for Router Advertisement, which is enabled by default.
IPv6AcceptRA=no

[DHCPv4]
Use6RD=yes
/etc/systemd/network/55-dhcpv4-6rd-downstream.network
[Match]
Name=enp2s0

[Network]
DHCPPrefixDelegation=yes
IPv6SendRA=yes

# It is expected that the host is acting as a router. So, usually it is not
# necessary to recive Router Advertisement from other hosts in the downstream network.
IPv6AcceptRA=no

[DHCPPrefixDelegation]
UplinkInterface=enp1s0
SubnetId=1
Announce=yes
IPv6 Prefix Delegation ``` /etc/systemd/network/55-dhcpv6-pd-upstream.network ``` ```bash [Match] Name=enp1s0 [Network] DHCP=ipv6 # The below setting is optional, to also assign an address in the delegated prefix # to the upstream interface. If not necessary, then comment out the line below and # the [DHPCPrefixDelegation] section. DHCPPrefixDelegation=yes # If the upstream network provides Router Advertisement with Managed bit set, # then comment out the line below and WithoutRA= in the [DHCPv6] section. IPv6AcceptRA=no [DHCPv6] WithoutRA=solicit [DHCPPrefixDelegation] UplinkInterface=:self SubnetId=0 Announce=no ``` ``` /etc/systemd/network/55-dhcpv6-pd-downstream.network ``` ```bash [Match] Name=enp2s0 [Network] DHCPPrefixDelegation=yes IPv6SendRA=yes # It is expecting that the host is acting as a router. So, usually it is not # necessary to recive Router Advertisement from other hosts in the downstream network. IPv6AccepRA=no [DHCPPrefixDelegation] UplinkInterface=enp1s0 SubnetId=1 Announce=yes ``` DHCP-6RD ``` /etc/systemd/network/55-dhcpv4-6rd-upstream.network ``` ```bash [Match] Name=enp1s0 [Network] DHCP=ipv4 # When DHCPv4-6RD is used, the upstream network doas not support IPv6. # Hence, it is not necessary to wait for Router Advertisement, which is enabled by default. IPv6AcceptRA=no [DHCPv4] Use6RD=yes ``` ``` /etc/systemd/network/55-dhcpv4-6rd-downstream.network ``` ```bash [Match] Name=enp2s0 [Network] DHCPPrefixDelegation=yes IPv6SendRA=yes # It is expected that the host is acting as a router. So, usually it is not # necessary to recive Router Advertisement from other hosts in the downstream network. IPv6AcceptRA=no [DHCPPrefixDelegation] UplinkInterface=enp1s0 SubnetId=1 Announce=yes ```
eichehome added this to the (deleted) milestone 2023-04-08 19:01:26 +00:00
eichehome added the
enhancement
label 2023-04-08 19:01:26 +00:00
eichehome self-assigned this 2023-04-08 19:01:26 +00:00
eichehome added this to the Server-Konfiguration project 2023-07-15 22:29:11 +00:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: eichehome/archinstall#12
No description provided.