User Tools

Site Tools


router0_config

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
router0_config [2022/07/27 19:36] bentrouter0_config [2022/08/08 15:29] (current) bent
Line 6: Line 6:
  
  
-  # Upstream interface enp0s3 on net0+  #/etc/systemd/network/enp0s3.network 
 +  #
   [Match]   [Match]
   Name=enp0s3   Name=enp0s3
Line 20: Line 21:
 ==== Downstream interface enp0s8 (LAN2) ==== ==== Downstream interface enp0s8 (LAN2) ====
  
-  # Downstream interface enp0s8 on net2+  #/etc/systemd/network/enp0s8.network 
 +  #
   [Match]   [Match]
   Name=enp0s8   Name=enp0s8
Line 54: Line 56:
   Address=192.168.2.1/24   Address=192.168.2.1/24
      
 +==== DHCP configuration ====
 +  
 +  #/etc/dhcp/dhcpd6.conf
 +  #
 +  ...
 +  # The subnet where the server is attached
 +  #  (i.e., the server has an address in this subnet)
 +  subnet6 2001:2db:8073:e00::/64 {
 +          range6 2001:2db:8073:e00::2 2001:2db:8073:e00::9;
 +  
 +          # Use the whole /64 prefix for temporary addresses
 +          #  (i.e., direct application of RFC 4941)
 +          range6 2001:2db:8073:e00:: temporary;
 +  
 +          # Some /64 prefixes available for Prefix Delegation (RFC 3633)
 +          prefix6 2001:2db:8073:e10:: 2001:2db:8073:e80:: /60;
 +  }
 +  
 +
 +
  
router0_config.1658950595.txt.gz · Last modified: 2022/07/27 19:36 by bent