router0_config
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
router0_config [2022/07/24 19:19] – created bent | router0_config [2022/08/08 15:29] (current) – bent | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Net0 (R0) ====== | + | ======= Net0 (R0) ======= |
- | # Upstream interface enp0s3 | + | ====== Network configuration ====== |
+ | |||
+ | ==== Upstream interface | ||
+ | |||
+ | |||
+ | #/ | ||
+ | # | ||
[Match] | [Match] | ||
Name=enp0s3 | Name=enp0s3 | ||
Line 12: | Line 18: | ||
[IPv6AcceptRA] | [IPv6AcceptRA] | ||
DHCPv6Client=yes | DHCPv6Client=yes | ||
+ | |||
+ | ==== Downstream interface enp0s8 (LAN2) ==== | ||
+ | |||
+ | #/ | ||
+ | # | ||
+ | [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/ | ||
+ | | ||
+ | [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/ | ||
+ | | ||
+ | ==== DHCP configuration ==== | ||
+ | | ||
+ | #/ | ||
+ | # | ||
+ | ... | ||
+ | # The subnet where the server is attached | ||
+ | # (i.e., the server has an address in this subnet) | ||
+ | subnet6 2001: | ||
+ | range6 2001: | ||
+ | | ||
+ | # Use the whole /64 prefix for temporary addresses | ||
+ | # (i.e., direct application of RFC 4941) | ||
+ | range6 2001: | ||
+ | | ||
+ | # Some /64 prefixes available for Prefix Delegation (RFC 3633) | ||
+ | prefix6 2001: | ||
+ | } | ||
+ | | ||
+ | |||
router0_config.1658690344.txt.gz · Last modified: 2022/07/24 19:19 by bent