summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* device: add support for configuring bonding devicesFelix Fietkau2021-09-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supported options: - ports: member devices - policy: bonding policy supported values: - balance-rr - active-backup - balance-xor - broadcast - 802.3ad - balance-tlb - balance-alb - xmit_hash_policy: slave selection tx hash policy supported values: - layer2 - layer2+3 - layer3+4 - encap2+3 - encap3+4 - all_ports_active: allow receiving on inactive ports - min_links: minimum number of active links - ad_actor_system: LACPDU exchange MAC address - ad_actor_sys_prio: LACPDU priority value - ad_select: 802.3ad aggregation logic supported values: - stable - bandwidth - count - lacp_rate: 802.3ad LACPDU packet rate supported values: - slow (every 30 seconds) - fast (every second) - packets_per_port: number of packets before switching ports (balance-rr mode). - lp_interval: number of seconds between sent learning packets - dynamic_lb: distribute traffic according to port load - resend_igmp: number if IGMP membership updates after failover event - num_peer_notif: number of tx unsolicited ARP/NA after failover event - primary: name of the primary port - primary_reselect: primary port reselection policy supported values: - always - better - failure - failover_mac: MAC address selection policy supported values: - none - active - follow - monitor_mode: select ARP or MII link monitor: supported values: - arp - mii - monitor_interval: link monitor update interval (msec) - arp_target: ARP monitor target IP address (list) - arp_all_targets: all targets must be reachable to consider the link valid - arp_validate: ARP validation policy supported values: - none - active - backup - all - filter - filter_active - filter_backup - use_carrier: use carrier status instead of MII ioctl result - updelay: delay before enabling port after MII link up event (msec) - downdelay: delay before disabling port after MII link down event (msec) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* config: parse default mac address from board.jsonFelix Fietkau2020-11-301-0/+52
| | | | | | | | | | | | | Example: { "network-device": { "eth0": { "macaddr": "bc:a5:11:16:76:d7" } } } Signed-off-by: Felix Fietkau <nbd@nbd.name>
* add initial support for handling wireless devices via scriptsFelix Fietkau2013-11-291-0/+20
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add a route6 example to the dummy network configFelix Fietkau2012-06-181-0/+6
|
* add interface alias supportFelix Fietkau2012-05-231-0/+7
|
* move dns server/search list parsing to interface core to support peerdns=0 + ↵Felix Fietkau2012-05-191-0/+1
| | | | static entries
* implement a generic peerdns option to suppress proto handler dns entriesFelix Fietkau2012-05-191-0/+1
|
* use the dummy pptp proto handler script for testingFelix Fietkau2012-05-051-5/+4
|
* add support for configuring static routesFelix Fietkau2011-10-191-0/+6
|
* rework and fix hotplug interface handlingFelix Fietkau2011-10-191-0/+5
|
* apply device settings to simple devices with config specified from the ↵Felix Fietkau2011-10-191-5/+6
| | | | interface section (legacy format compatibility), but only if no other config was provided
* add support for alias devices, which are activated based on hotplug events ↵Felix Fietkau2011-10-181-0/+6
| | | | containing the real device name
* add functions for adding dns servers to the proto list, hook them up in ↵Felix Fietkau2011-10-131-0/+1
| | | | proto-static.c
* fix invoking shell protocol handler scriptsFelix Fietkau2011-09-101-0/+5
|
* extend the ubus interface to allow adding/removing hotplug interfacesFelix Fietkau2011-09-051-1/+2
|
* add another ifname to the test configFelix Fietkau2011-09-041-1/+1
|
* add routes/gateway supportFelix Fietkau2011-05-031-0/+1
|
* add some infrastructure code for proto handlersFelix Fietkau2011-04-131-0/+3
|
* add code for cleaning up unused devices mentioned in the configFelix Fietkau2011-04-051-0/+3
|
* add low level configuration for devicesFelix Fietkau2011-04-051-2/+16
|
* Initial importFelix Fietkau2011-03-271-0/+14