User Tools

Site Tools


router0_config

This is an old revision of the document!


Net0 (R0)

Network configuration

Upstream interface (enp0s3)

# Upstream interface enp0s3 on net0
[Match]
Name=enp0s3

[Network]
# SLAAC IPv6 for obtaining the default route.
LinkLocalAddressing=ipv6
DHCP=yes

[IPv6AcceptRA]
DHCPv6Client=yes

Downstream interface enp0s8 (LAN2)

# Downstream interface enp0s8 on net2
[Match]
Name=enp0s8

[Network]
DHCPPrefixDelegation=yes
IPv6SendRA=yes
IPv6AcceptRA=no
IPForward=yes
DHCPServer=yes

[DHCPPrefixDelegation]
UplinkInterface=enp0s3
SubnetId=8
Announce=yes

[Address]
Address=192.168.1.1/24

[DHCPServer]
PoolOffset=90
PoolSize=10
router0_config.1658690871.txt.gz · Last modified: 2022/07/24 19:27 by bent