User Tools

Site Tools


main_router

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
main_router [2022/07/24 19:08] – [Downstraem interface (br0)] bentmain_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 act as a DHCP client (both IPv4 and IPv6). It also sets this host as a router and will accept Router Announcements (RA) The upstream network interface is configured to act as a DHCP client (both IPv4 and IPv6). It also sets this host as a router and will accept Router Announcements (RA)
  
 +  #/etc/systemd/network/enp6s0.network
 +  #
   [Match]   [Match]
   Name=enp6s0   Name=enp6s0
Line 23: Line 25:
 ====Downstream interface (br0)===== ====Downstream interface (br0)=====
  
-This interface sends Router Announcements (RA) on the LAN. The interface itself gets static IPv4 and IPv6 addresses. Hosts on the LAN will use SLAAC and configure addresses as 2001:db8:8073:19::/64 (Sent as an option in the RA - Line 'SubnetID=19')+This interface sends Router Announcements (RA) on the LAN with the 'Managed' bit set. The interface itself gets static IPv4 and IPv6 addresses. Hosts on the LAN will use SLAAC and configure addresses as 2001:db8:8073:19::/64 (Sent as an option in the RA - Line 'SubnetID=19')
  
 +  #/etc/systemd/network/br0.network
 +  #
   [Match]   [Match]
   Name=br0   Name=br0
Line 53: Line 57:
  
  
 +  #/etc/dhcp/dhcpd6.conf
 +  #
   ...   ...
   # don't serve enp6s0 (WAN IF)   # don't serve enp6s0 (WAN IF)
main_router.1658689713.txt.gz · Last modified: 2022/07/24 19:08 by bent