You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
811 B

  1. config dhcrelay ipv4
  2. option 'enabled' '0'
  3. # IP address of the server
  4. option 'dhcpserver' '192.0.2.10'
  5. # network interfaces to listen on (e.g. lan or wan)
  6. option 'interfaces' ''
  7. option 'upstream_interfaces' ''
  8. option 'downstream_interfaces' ''
  9. # What to do about packets that already have a relay option:
  10. # 'append': Forward and append our own relay option
  11. # 'replace': Forward, but replace theirs with ours (default)
  12. # 'forward': Forward without changes
  13. # 'discard': Don't forward
  14. option 'relay_mode' ''
  15. # enable RFC3527 link selection sub-option and use the IP address of
  16. # the specified network interface as "uplink" IP address (e.g. wan)
  17. option 'link_selection' ''
  18. config dhcrelay ipv6
  19. # option dhcpserver '2001:db8:1::1'
  20. option upper 'eth1'
  21. list lower 'eth0.2'
  22. list lower 'eth0.3'