summaryrefslogtreecommitdiff
path: root/src/network/networkd-network-gperf.gperf
Commit message (Collapse)AuthorAge
* networkd: network - rename ipv6token parserTom Gundersen2015-02-14
| | | | Too generic name.
* networkd: .network - rename LinkLocal to LinkLocalAddressingTom Gundersen2015-02-14
| | | | Makes it a bit less ambiguous.
* net: support globbing and disjunction in Match logicTom Gundersen2015-02-10
| | | | Match{Name,OrginalName,Type,Driver,Path} can now take a space-separated glob of matches.
* networkd: support route scopesTom Gundersen2015-02-09
| | | | | | | For now we only support the hardcoded values RT_SCOPE_{UNIVERSE,LOCAL,HOST}, and not numerical values or values from /etc/iproute2/rt_scopes. This addresses https://bugs.freedesktop.org/show_bug.cgi?id=88508.
* networkd: add support for IPv6 tokensTom Gundersen2015-02-09
| | | | | | | | | | | | | | | | | This allows the admin to set the host-specific part of IPv6 addresses, but still receive the prefix via SLAAC. .network file snippet: [Network] IPv6Token=::12 gives: $ ip token token ::12 dev eth0 This closes https://bugs.freedesktop.org/show_bug.cgi?id=81177.
* networkd: generalize IPv4LL to LinkLocalTom Gundersen2015-02-09
| | | | | | This allows both IPv4 and IPv6 link-local addresses to be enabled or disabled. By default we still enable IPv6LL and disable IPv4LL. The old config option is kept for backwards compatibility, but removed from the documentation.
* networkd: netdev - add ipvlan supportTom Gundersen2015-01-19
|
* networkd: make IP forwarding for IPv4 and IPv6 individually configurableLennart Poettering2015-01-13
|
* networkd: add minimal IP forwarding and masquerading support to .network filesLennart Poettering2015-01-13
| | | | | | | | | | | | | | This adds two new settings to networkd's .network files: IPForwarding=yes and IPMasquerade=yes. The former controls the "forwarding" sysctl setting of the interface, thus controlling whether IP forwarding shall be enabled on the specific interface. The latter controls whether a firewall rule shall be installed that exposes traffic coming from the interface as coming from the local host to all other interfaces. This also enables both options by default for container network interfaces, thus making "systemd-nspawn --network-veth" have network connectivity out of the box.
* networkd: integrate LLDPSusant Sahani2014-12-19
| | | | | | | | | | | | | This patch integrates LLDP with networkd. Example conf: file : lldp.network [Match] Name=em1 [Network] LLDP=yes
* networkd: add FDB supportAlin Rauta2014-12-18
|
* networkd: rename section [BridgePort] → [Bridge]Lennart Poettering2014-12-10
| | | | | | Let's stick to generic sections that describe the general technology, instead of specific per-object sections, unless we really have a reason to do that otherwise.
* networkd: add basic [Link] settings to .network filesTom Gundersen2014-12-05
| | | | This allows the default link settings (set in .link files) to be overridden per Network. Only MTU and MACAddress is supported for now.
* networkd: add support for source routingTom Gundersen2014-12-04
|
* networkd: Add bridge port path costSusant Sahani2014-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add support to specify path cost of the bridge port to be configured via conf file. Exampe: conf file: br.netdev [NetDev] Name=br-test Kind=bridge file: br.network [Match] Name=em1 [Network] Bridge=br-test [BridgePort] Cost=332 bridge link 2: em1 state UP : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br-test state disabled priority 32 cost 332
* networkd: allow specification of DHCP route metricAngus Gibson2014-09-08
| | | | | | This lets the routing metric for links to be specified per-network, still defaulting to DHCP_ROUTE_METRIC (1024) if unspecified. Hopefully this helps with multiple interfaces configured via DHCP.
* networkd: add support for Domains= to .network filesTom Gundersen2014-08-15
| | | | | This allows the search/routing domanis to be specified per link/network and be passed on to resolved.
* networkd: rename UseDomainName to UseDomainsTom Gundersen2014-08-15
| | | | This option will also apply to the search domains, so make it plural.
* networkd: add and expose per-link LLMNR config optionTom Gundersen2014-08-04
|
* networkd: unify handling of stacked netdevsTom Gundersen2014-07-28
|
* networkd: ipv4ll - default to setting up ipv4ll routesTom Gundersen2014-07-25
| | | | | | | This is necessary for non-ipv4ll hosts to communicate with ipv4ll-only hosts on the same link. Defaults to being enabled, but can be opted out. See: <http://avahi.org/wiki/AvahiAutoipd#Routes>
* networkd: merge DNS and NTP entries when exportingTom Gundersen2014-07-23
| | | | | In the state files, do not distinguish where the various entries came from (static or DHCP), but include them all in the same list.
* sd-dhcp-client: make request broadcasts opt-inTom Gundersen2014-07-15
| | | | | | | | | | It appears there is no good way to decide whether or not broadcasts should be enabled, there is hardware that must have broadcast, and there are networks that only allow unicast. So we give up and make this configurable. By default, unicast is used, but if the kernel were to inform us abotu certain interfaces requiring broadcast, we could change this to opt-in by default in those cases.
* networkd: add back route destination supportTom Gundersen2014-07-14
| | | | This was accidentally dropped when adding metric support.
* networkd: dhcp add vendor class indentifier option 60Susant Sahani2014-07-14
| | | | | | | | | | | | | | | | Vendor Class Identifier be used by DHCP clients to identify their vendor type and configuration. When using this option, vendors can define their own specific identifier values, such as to convey a particular hardware or operating system configuration or other identifying information. Vendor-specified DHCP options—features that let administrators assign separate options to clients with similar configuration requirements. For example, if DHCP-aware clients for example we want to separate different gateway and option for different set of people (dev/test/hr/finance) in a org or devices for example web/database servers or let's say in a embedded device etc and require a different default gateway or DNS server than the rest of clients.
* networkd: make metric of routes configurableSusant Sahani2014-07-14
| | | | | | | | | | | | | | | | | | | Now route metric can be configuted via conf file: example conf: [Match] Name=em1 [Route] Gateway=192.168.1.12 Metric=10 Test: ip route output default via 192.168.1.12 dev em1 metric 10 [tomegun: squash TODO update and reword man page a bit]
* networkd: add support for peer addressSusant Sahani2014-07-07
| | | | | | | | | | | | | This patch adds peer address support for networkd . In the [Address] a new configurable param is Peer. [Match] Name=ipip-tun [Address] Address=10.0.0.1/32 Peer=10.0.0.2/32
* networkd: fix alignment of gperf sourceFilipe Brandenburger2014-07-01
|
* networkd: send hostname to dhcp serverEugene Yakubovich2014-07-01
| | | | | | | | | | | Send hostname (option 12) in DISCOVER and REQUEST messages so the DHCP server could use it to register with dynamic DNS and such. To opt-out of this behaviour set SendHostname to false in [DHCP] section of .network file [tomegun: rebased, made sure a failing set_hostname is a noop and moved config from DHCPv4 to DHCP]
* Add support for DHCP static route optionsEugene Yakubovich2014-06-29
| | | | | | This adds support for DHCP options 33 and 121: Static Route and Classless Static Route. To enable this feature, set UseRoutes=true in .network file. Returned routes are added to the routing table.
* networkd: merge DHCPv4 and DHCPv6 configTom Gundersen2014-06-29
| | | | | | | If there are v4 or v6 specific options we can keep those in separate sections, but for the common options, we will use only one. Moreovere only use DHCP=[yes/both|no/none|v4|v6] to enable or disable the clients.
* networkd: Add initial DHCPv6 supportPatrik Flykt2014-06-19
| | | | | Enable DHCPv6 support by creating a DHCPv6 boolean in the Network section. Add necessary DHCPv6 structures and initial function calls.
* networkd: introduce vxlanSusant Sahani2014-06-16
| | | | | | | | | | | | | | This patch enables netwokd to create vxlan Changes: Added: 1. File networkd networkd-vxlan.c 2. to netdev bool learning struct in_addr group uint64_t vxlanid; 3. VXLAN subsection and config parameters
* networkd: add dhcp server supportTom Gundersen2014-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | When enabled in [Network] it will set up a dhcp server on the interface, listening on one of its statically configured IPv4 addresses and with a fixed size pool of leases determined from it. Example: [Match] Name=ve-arch-tree [Network] Address=192.168.12.5/24 DHCPServer=yes [Route] Gateway=192.168.12.5 Destination=192.168.12.0/24 In this case we will configure ve-arch-tree with the address 192.168.12.5 and hand out addresses in the range 192.168.12.6 - 192.168.12.38. In the future, we should (as suggested by Lennart) introduce a syntax to pick the server address automatically.
* networkd/sd-network: expose statically configured NTP serversTom Gundersen2014-05-19
|
* networkd: introduce ipip tunnelSusant Sahani2014-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables basic ipip tunnel support. It works with kernel module ipip example conf: file: ipip.netdev [NetDev] Name=ipip-tun Kind=ipip MTUBytes=1480 [Tunnel] Local=192.168.223.238 Remote=192.169.224.239 TTL=64 file: ipip.network [Match] Name=em1 [Network] Tunnel=ipip-tun [tomegun: - drop unused variable - take ref when enslaving]
* networkd: network - merge all netdev parsing into one functionTom Gundersen2014-05-09
|
* libsystemd-network: move network-utils from src/sharedTom Gundersen2014-03-21
| | | | | | This does not belong in shared as it is mostly a detail of our networking subsystem. Moreover, now we can use libudev here, which will simplify things.
* sd-network: IPv4 link-local support [v2]Umut Tezduyar Lindskog2014-03-03
| | | | | | | | | | | | | | | Implements IPv4LL with respect to RFC 3927 (http://tools.ietf.org/rfc/rfc3927.txt) and integrates it with networkd. Majority of the IPv4LL state machine is taken from avahi (http://avahi.org/) project's autoip. IPv4LL can be enabled by IPv4LL=yes under [Network] section of .network file. IPv4LL works independent of DHCP but if DHCP lease is aquired, then LL address will be dropped. [tomegun: removed a trailing newline and a compiler warning]
* networkd: add basic support for MACVLANsTom Gundersen2014-02-25
|
* .network/.netdev/.link: allow to match on architectureTom Gundersen2014-02-21
|
* networkd: netdev - allow filtering on kernel cmdline, host and virtTom Gundersen2014-02-20