Systemd/src/network
Clemens Gruber 77ff6022fa networkd: Add EmitRouter= option for DHCP Server (#3251)
Add an option to disable appending DHCP option 3 (Router) to the DHCP
OFFER and ACK packets.
This commit adds the boolean option EmitRouter= for the [DHCPServer]
section in .network files.

Rationale: On embedded devices, it is very useful to have a DHCP server
running on an USB OTG ethernet gadget interface to avoid manual setup on
the client PCs, but it should only serve IP addresses, no route(r)s.
Otherwise, Windows clients experience network connectivity issues, due
to them using the address set in DHCP option 3 as default gateway.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
2016-05-17 19:34:25 -04:00
..
.gitignore Add networkd-gperf.c to gitignore 2016-04-02 11:52:57 -04:00
Makefile networkd: add a basic network daemon 2013-11-09 23:41:17 +01:00
networkctl.c tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
networkd-address-pool.c network: check return value 2016-04-08 21:08:02 -04:00
networkd-address-pool.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-address.c tree-wide: drop spurious "&"s when passing functions around 2016-05-15 19:56:59 -04:00
networkd-address.h Merge pull request #3156 from keszybz/duid-settings 2016-05-04 11:31:59 +02:00
networkd-conf.c networkd: fix memleak in config_parse_duid_rawdata 2016-05-05 13:24:03 +02:00
networkd-conf.h networkd: rework duid_{type,duid_type,duid,duid_len} setting 2016-05-03 12:23:01 -04:00
networkd-dhcp4.c tree-wide: drop spurious "&"s when passing functions around 2016-05-15 19:56:59 -04:00
networkd-dhcp6.c tree-wide: drop spurious "&"s when passing functions around 2016-05-15 19:56:59 -04:00
networkd-fdb.c tree-wide: minor formatting inconsistency cleanups 2016-02-23 14:20:34 -08:00
networkd-fdb.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-gperf.gperf networkd: rework duid_{type,duid_type,duid,duid_len} setting 2016-05-03 12:23:01 -04:00
networkd-ipv4ll.c tree-wide: drop spurious "&"s when passing functions around 2016-05-15 19:56:59 -04:00
networkd-link-bus.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-link.c networkd: Add EmitRouter= option for DHCP Server (#3251) 2016-05-17 19:34:25 -04:00
networkd-link.h networkd: reworkd LLDP emission to allow control of propagation level 2016-05-09 15:45:31 +02:00
networkd-lldp-tx.c networkd: reworkd LLDP emission to allow control of propagation level 2016-05-09 15:45:31 +02:00
networkd-lldp-tx.h networkd: reworkd LLDP emission to allow control of propagation level 2016-05-09 15:45:31 +02:00
networkd-manager-bus.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-manager.c networkd: drop route_drop 2016-05-14 16:46:01 -04:00
networkd-ndisc.c networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-bond.c networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-bond.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-bridge.c networkd: bridge add support to configure multicast snooping (#3223) 2016-05-15 09:15:20 -04:00
networkd-netdev-bridge.h networkd: bridge add support to configure multicast snooping (#3223) 2016-05-15 09:15:20 -04:00
networkd-netdev-dummy.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-netdev-dummy.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-gperf.gperf networkd: bridge add support to configure multicast snooping (#3223) 2016-05-15 09:15:20 -04:00
networkd-netdev-ipvlan.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-netdev-ipvlan.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-macvlan.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-netdev-macvlan.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-tunnel.c networkd: tunnel fix tunnel address 2016-02-20 18:03:31 +05:30
networkd-netdev-tunnel.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-tuntap.c networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-tuntap.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-veth.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-netdev-veth.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-vlan.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-netdev-vlan.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-vxlan.c networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev-vxlan.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-netdev.c networkd: do not generate a mac address for vlan interfaces (#3221) 2016-05-15 09:45:30 -04:00
networkd-netdev.h networkd: rework headers to avoid circular includes 2016-04-29 19:01:28 -04:00
networkd-network-bus.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-network-gperf.gperf networkd: Add EmitRouter= option for DHCP Server (#3251) 2016-05-17 19:34:25 -04:00
networkd-network.c networkd: Add EmitRouter= option for DHCP Server (#3251) 2016-05-17 19:34:25 -04:00
networkd-network.h networkd: Add EmitRouter= option for DHCP Server (#3251) 2016-05-17 19:34:25 -04:00
networkd-route.c networkd: fix copy-pasto in error message 2016-05-14 16:47:59 -04:00
networkd-route.h networkd: drop route_drop 2016-05-14 16:46:01 -04:00
networkd-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-wait-online-link.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-wait-online-link.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-wait-online-manager.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
networkd-wait-online.c util: introduce common version() implementation and use it everywhere 2015-09-29 21:08:37 +02:00
networkd-wait-online.h tree-wide: place #pragma once at the same place everywhere 2016-02-20 22:42:29 +01:00
networkd.c DHCP DUID, IAID configuration options 2016-03-30 16:33:55 -07:00
networkd.h Trivial network cleanup (#3196) 2016-05-05 11:15:46 +02:00
org.freedesktop.network1.conf networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
org.freedesktop.network1.service networkd: add basic dbus API 2015-02-05 11:50:34 +01:00
test-network-tables.c tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
test-network.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
test-networkd-conf.c test-networkd-conf: fix memleak 2016-05-05 13:24:03 +02:00