lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

dhcrelay (743B)


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