main_router
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| main_router [2022/07/19 14:51] – 2a06:4000:8073:19::2 | main_router [2022/08/08 15:24] (current) – [DHCPv6 configuration] bent | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Configuration files for the Main Router ====== | ====== Configuration files for the Main Router ====== | ||
| ===== Network configuration ===== | ===== Network configuration ===== | ||
| - | ==== Upstream interface (enp0s6) ==== | + | ==== Upstream interface (enp6s0) ==== |
| - | The upstream network interface is configured to use DHCP (both IPv4 and IPv6). It also set this host as a router and will accept Router Announcements (RA) | + | The upstream network interface is configured to act as a DHCP client |
| - | Match] | + | |
| + | # | ||
| + | [Match] | ||
| Name=enp6s0 | Name=enp6s0 | ||
| | | ||
| Line 20: | Line 22: | ||
| RouteMetric=100 | RouteMetric=100 | ||
| | | ||
| - | [IPv6PrefixDelegation] | + | |
| - | | + | ====Downstream |
| - | ====Downstraem | + | |
| + | This interface sends Router Announcements (RA) on the LAN with the ' | ||
| + | |||
| + | #/ | ||
| + | # | ||
| [Match] | [Match] | ||
| Name=br0 | Name=br0 | ||
| Line 41: | Line 47: | ||
| [IPv6SendRA] | [IPv6SendRA] | ||
| Managed=yes | Managed=yes | ||
| - | RouterLifetimeSec=900 | + | RouterLifetimeSec=1800 |
| | | ||
| [DHCPv6PrefixDelegation] | [DHCPv6PrefixDelegation] | ||
| SubnetId=19 | SubnetId=19 | ||
| + | | ||
| + | ==== DHCPv6 configuration ==== | ||
| + | |||
| + | Here is only shown the parts that are relevant for prefix delagation. The DHCP sections are omitted. | ||
| + | |||
| + | |||
| + | #/ | ||
| + | # | ||
| + | ... | ||
| + | # don't serve enp6s0 (WAN IF) | ||
| + | subnet6 2001: | ||
| + | } | ||
| + | | ||
| + | subnet6 2001: | ||
| + | # Range for clients | ||
| + | range6 2001: | ||
| + | | ||
| + | # Range for clients requesting a temporary address | ||
| + | range6 2001: | ||
| + | | ||
| + | # Additional options | ||
| + | option dhcp6.name-servers 2001: | ||
| + | |||
| + | # Prefix range for delegation to sub-routers | ||
| + | prefix6 2001: | ||
| + | } | ||
| + | ... | ||
| + | | ||
| | | ||
main_router.1658242270.txt.gz · Last modified: by 2a06:4000:8073:19::2
