Description:
With the following add-in script you can configure a DHCP source address on LANCOM devices using LCOS.
List of used variables:
Variable | Description |
---|---|
Add-in code:
/** var changeDHCPNetworks = function(Network, Source) { var table = config.getTableByOid("1.2.10.20"); var row = table.getFirstRowByOid ("1", Network) row.setByOid("22", Source); } // Change the optional Source Address for DHCP-Networks // Network = Name of DHCP Network, Source = Source Address // Copy and edit the following line for each network. changeDHCPNetworks(Network, Source ); }; |
---|
Add-in as JSON file: