Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:ipv4:start [2019/07/28 23:51] – formatting optimized, LEDE > OpenWrt vgaeteradocs:guide-user:network:ipv4:start [2019/11/21 08:44] – [Downstream configuration for LAN-Interfaces] tpyo ukleinek
Line 51: Line 51:
 | ''reqopts'' | string | no | //(none)// | Space-separated list of additional DHCP options to request from the server | | ''reqopts'' | string | no | //(none)// | Space-separated list of additional DHCP options to request from the server |
 | ''sendopts'' | string | no | //(none)// | Space-separated list of additional DHCP options to send to the server. Syntax: ''option:value'' where ''option'' is either an integer code or a symbolic name such as ''hostname''. | | ''sendopts'' | string | no | //(none)// | Space-separated list of additional DHCP options to send to the server. Syntax: ''option:value'' where ''option'' is either an integer code or a symbolic name such as ''hostname''. |
 +| ''norelease'' | boolean | no | ''0'' | If set DO NOT release DHCP address on interface shutdown |
 | ''zone'' | firewall zone | no | //(none)// | Firewall zone to which this interface should be added | | ''zone'' | firewall zone | no | //(none)// | Firewall zone to which this interface should be added |
  
-:!: These parameters are handled partially by netifd (in ''interface.c'') and partially by a shell script in ''lib/netifd/proto/dhcp.sh''.+:!: These parameters are handled partially by netifd (in ''interface.c'') and partially by a shell script in ''lib/netifd/proto/dhcp.sh''.  Note prior to commit 3cee6f3f24 the norelease option was known as release and had the opposite sense.
  
 FIXME Outdated information, please proofread and test it:  FIXME Outdated information, please proofread and test it: 
Line 90: Line 91:
  
 ===== Downstream configuration for LAN-Interfaces ===== ===== Downstream configuration for LAN-Interfaces =====
-For a downlink with IPv4 connectivity you can just use the default configuration, DHCP server is enabled bu default, please see [[docs:guide-user:base-system:dhcp|DHCP configuration]] for more details on that.+For a downlink with IPv4 connectivity you can just use the default configuration, DHCP server is enabled by default, please see [[docs:guide-user:base-system:dhcp|DHCP configuration]] for more details on that.
  
 <code bash># uci show network <code bash># uci show network
  • Last modified: 2021/11/27 17:36
  • by vgaetera