router0_config
This is an old revision of the document!
Table of Contents
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
Downstream interface enp0s9 (LAN3)
This interface is configured analogous to enp0s8 except for
SubnetId=9
and
Address=192.168.2.1/24
DHCP configuration
# The subnet where the server is attached # (i.e., the server has an address in this subnet) subnet6 2a06:4000:8073:e00::/64 { range6 2a06:4000:8073:e00::2 2a06:4000:8073:e00::9; # range6 3ffe:501:ffff:100::10 3ffe:501:ffff:100::11; # Use the whole /64 prefix for temporary addresses # (i.e., direct application of RFC 4941) range6 2a06:4000:8073:e00:: temporary; # Some /64 prefixes available for Prefix Delegation (RFC 3633) prefix6 2a06:4000:8073:e10:: 2a06:4000:8073:e80:: /60; }
router0_config.1659192712.txt.gz · Last modified: 2022/07/30 14:51 by bent