r2_configuration
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
r2_configuration [2022/07/30 15:08] – created bent | r2_configuration [2022/08/08 15:31] (current) – bent | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Network configuration ====== | ====== Network configuration ====== | ||
+ | |||
+ | (There is no DHCP6 server configuration as there are no sub-routers on LAN3) | ||
===== Upstream interface (enp3s0) ===== | ===== Upstream interface (enp3s0) ===== | ||
| | ||
+ | #/ | ||
+ | # | ||
[Match] | [Match] | ||
Name=enp0s3 | Name=enp0s3 | ||
| | ||
[Network] | [Network] | ||
- | DHCP=yes | ||
LinkLocalAddressing=ipv6 | LinkLocalAddressing=ipv6 | ||
+ | # SLAAC IPv6 for obtaining the default route | ||
IPv6AcceptRA=yes | IPv6AcceptRA=yes | ||
+ | DHCP=yes | ||
+ | IPForward=yes | ||
+ | | ||
+ | [DHCPv4] | ||
+ | Hostname=net2 | ||
+ | UseHostname=no | ||
+ | # Ignore the hostname from the DHCP server | ||
+ | UseDNS=yes | ||
+ | UseNTP=yes | ||
+ | UseRoutes=yes | ||
+ | UseGateway=yes | ||
| | ||
[IPv6AcceptRA] | [IPv6AcceptRA] | ||
+ | UseDNS=yes | ||
DHCPv6Client=yes | DHCPv6Client=yes | ||
+ | | ||
+ | [IPv6PrefixDelegation] | ||
+ | Managed=yes | ||
+ | | ||
+ | [DHCPv6] | ||
+ | ForceDHCPv6PDOtherInformation=yes | ||
+ | UseHostname=no | ||
+ | UseDNS=yes | ||
+ | UseNTP=yes | ||
+ | | ||
+ | |||
+ | |||
+ | ===== Downstream interface (enp8s0) ===== | ||
+ | |||
+ | #/ | ||
+ | # | ||
+ | [Match] | ||
+ | Name=enp0s8 | ||
+ | | ||
+ | [Network] | ||
+ | Description=Link to my secondary LAN. Ref: see: enp0s3.network | ||
+ | DHCPv6PrefixDelegation=yes | ||
+ | IPv6AcceptRA=no | ||
+ | IPv6SendRA=yes | ||
+ | DHCPServer=yes | ||
+ | | ||
+ | [IPv6SendRA] | ||
+ | Managed=yes | ||
+ | RouterLifetimeSec=1200 | ||
+ | | ||
+ | [DHCPPrefixDelegation] | ||
+ | # | ||
+ | | ||
+ | [Address] | ||
+ | Address=192.168.3.1/ | ||
+ | | ||
+ | [DHCPServer] | ||
+ | PoolOffset=200 | ||
+ | PoolSize=10 | ||
+ | EmitDNS=yes | ||
+ | | ||
+ | [DHCPServerStaticLease] | ||
+ | MACAddress=08: | ||
+ | Address=192.168.3.100 | ||
| | ||
r2_configuration.1659193696.txt.gz · Last modified: 2022/07/30 15:08 by bent