Zbigniew Jędrzejewski-Szmek
94f7ee9770
man: clarify that options set the message fields and are not derived from them
2022-03-22 14:07:53 +01:00
Yu Watanabe
6278e42878
network: dhcp: rename NextServer= and Filename= settings
...
And make the settings configures DHCP option 66 and 67.
Follow-ups for #22615 .
Fixes #22661 .
2022-03-11 10:14:57 +09:00
Yu Watanabe
0c91c7a241
network: l2tp: change create type to independent
...
L2TP tunnel does not have underlying interface. Let's change its type to
independent.
2022-02-27 09:36:48 +09:00
Yu Watanabe
369ac19243
network: add NextServer= and Filename= setting to [DHCPServer] section
...
Closes #4403 .
2022-02-25 02:45:47 +09:00
Zbigniew Jędrzejewski-Szmek
fe003f02dd
man: various issues reported in #22432
...
Fixes #22432 .
2022-02-23 08:56:03 +01:00
Zbigniew Jędrzejewski-Szmek
d68c797c6d
man/systemd-network: reword descriptions of DHCPPrefixDelegation= and dst-host
2022-02-23 08:56:03 +01:00
Yu Watanabe
65022cd7ab
network,udev/net: add Kind= settings in [Match] section
...
This may be useful for writing .network or .link files matching with
virtual interfaces.
Closes #22541 .
2022-02-17 23:10:26 +09:00
Santa Wiryaman
97f27f8a16
Add support for isolated
parameter
...
Add the "Isolated" parameter in the *.network file, e.g.,
[Bridge]
Isolated=true|false
When the Isolated parameter is true, traffic coming out of this port
will only be forward to other ports whose Isolated parameter is false.
When Isolated is not specified, the port uses the kernel default
setting (false).
The "Isolated" parameter was introduced in Linux 4.19.
See man bridge(8) for more details.
But even though the kernel and bridge/iproute2 recognize the "Isolated"
parameter, systemd-networkd did not have a way to set it.
2022-02-09 17:37:37 +09:00
Luca Boccassi
3c84905b08
Merge pull request #22383 from yuwata/network-generator-keep-configuration
...
network: enable KeepConfiguration= when running on network filesystem
2022-02-07 18:06:24 +00:00
Michael Biebl
2f7a0648cd
man: fix typo
2022-02-07 23:01:20 +09:00
Yu Watanabe
ea853de57d
network: enable KeepConfiguration= when running on network filesystem
...
Also, set KeepConfiguration=dhcp-on-stop by default when running in
initrd.
Fixes #21967 .
2022-02-05 09:42:32 +09:00
Yu Watanabe
faa1b3c6c4
network: dhcp-server: make empty string to DNS= or friends clear previously specified servers
2022-02-02 10:02:57 +09:00
Yu Watanabe
5f468b9f57
network: dhcp-server: introduce special value DNS=_server_address
...
Closes #15026 .
2022-02-02 05:01:53 +09:00
Yu Watanabe
d45798257b
man: extend the DHCPv6-PD example and add a DHCPv4-6RD example
2022-01-28 12:04:02 +09:00
Yu Watanabe
bd29dfef8b
udev/net: also support [SR-IOV] section in .link files
...
The same section is already supported by .network files. But such
low-level inteerface setting should be done by udevd, instead of
networkd. Let's also support the same semantics by .link files.
Prompted by https://github.com/systemd/systemd/issues/20474#issuecomment-901901360 .
2022-01-19 15:00:49 +09:00
Luca Boccassi
6eed65d455
man: change 'allow[s] to' -> 'allow[s] one to'
...
Lintian is opinionated about this and we get nagged
2022-01-16 15:49:43 +00:00
Yu Watanabe
902bbdc4b6
network: use scope link for direct unicast routes by default
...
Strictly speaking, this breaks the backward compatibility, but I guess
in most cases people already sets Scope=link for such routes.
This behavior matches with how 'ip route' command adds such route by
default.
Prompted by https://twitter.com/jplitza/status/1480500562391179270 .
2022-01-13 22:46:52 +00:00
Zbigniew Jędrzejewski-Szmek
55ac274ef4
man: add missing example title in systemd.network(5)
...
Also rename the file to match the example being extended.
2022-01-07 17:34:20 +01:00
Noel Kuntze
0d03e672a9
network: complete example for xfrm setup
2021-12-30 23:52:28 +09:00
Yu Watanabe
add469f5a9
man: reindent and rebreak systemd.network
...
Also fixes the following:
- IPServiceType= is moved to [DHCPv4] section,
- drop an incorrect sentence in RouteMTUBytes= in [DHCPv4] section.
- drop unnecessary word 'unsigned'.
2021-12-23 11:26:18 +01:00
Yu Watanabe
ee1eecfe4d
man: fix typo
2021-12-10 07:27:43 +01:00
Yu Watanabe
b55093ce88
network: dhcp: make IPServiceType= accept "none" to disable tos in the outgoing packet
...
Fixes #9874 .
2021-12-09 15:06:20 +01:00
Yu Watanabe
31fc1366d6
man: network: document Use6RD= setting
2021-12-07 20:33:20 +09:00
Yu Watanabe
a27588d4e7
network: dhcp-pd: rename [DHCPv6PrefixDelegation] -> [DHCPPrefixDelegation]
...
This just changes the names of settings, variables, functions, files, and so on.
No functionality is changed.
Preparation for supporting 6rd.
2021-12-07 20:30:30 +09:00
Yu Watanabe
2d00239cbe
network: dhcp6pd: always use main route table for unreachable route
...
This mostly reverts e47bcb7d0b
.
2021-12-07 18:35:30 +09:00
Yu Watanabe
ab106a609b
network: eui64 address is supported only ethernet or infiniband
...
So, this makes prefixstable mode will be used for other interface types.
2021-12-06 21:07:12 +09:00
Yu Watanabe
472e1349ed
man: network: fix default values for DNSSEC= and DNSOverTLS=
2021-12-06 16:30:48 +09:00
Yu Watanabe
dee13c2f4e
man: network: rebreak lines
2021-12-06 16:28:10 +09:00
Yu Watanabe
72e65e6ffd
network: add support to configure IPoIB interfaces
2021-12-05 00:18:58 +09:00
Yu Watanabe
b90d0f83b2
network/netdev: add support to create IPoIB subinterface
2021-12-04 15:06:58 +09:00
Yu Watanabe
bf1e65a4fd
Merge pull request #21585 from yuwata/network-radv-uplink-interface-auto-with-dhcp6-pd
...
network: cleanups for uplink interface handling for RADV and DHCP6-PD
2021-12-02 08:16:23 +09:00
KennthStailey
2ed6297f71
Fixed typo
...
`ip set dev eth0` should be `ip link set dev eth0`
2021-12-02 00:02:37 +09:00
Yu Watanabe
926fc8ee63
network: dhcp6: make UplinkInterface=:self take effect only when DHCPv6PrefixDelegation= is enabled
2021-12-01 20:35:03 +09:00
Yu Watanabe
f6032ff3e0
network: radv: use the uplink interface used in DHCPv6-PD
2021-12-01 20:35:03 +09:00
Zbigniew Jędrzejewski-Szmek
17cd1f627b
man: add missing plural and reorder sentence
...
We shouldn't explain what a value does before listing valid values…
Follow-up for 4f1ac4a38d
.
2021-11-30 13:52:32 +01:00
Yu Watanabe
718f0a74ab
man: fix copy-and-paste mistake
2021-11-30 09:29:51 +01:00
Yu Watanabe
7777024dab
Merge pull request #21344 from yuwata/network-ignore-carrier-loss-timespan
...
network: make IgnoreCarrierLoss= also take a timespan
2021-11-16 10:27:01 +09:00
Yu Watanabe
d068f3a243
Merge pull request #21235 from bacher09/slava/supress_ifgroup
...
Add suppress_ifgroup option in routing policy
2021-11-16 10:25:33 +09:00
Yu Watanabe
6706ce2fd2
network: make IgnoreCarrierLoss= also take timespan
...
Fixes #18738 and #20887 .
Replaces #18746 .
2021-11-16 02:04:59 +09:00
Slava Bacherikov
af493fb742
network: Add SuppressInterfaceGroup= into routing policy
...
This adds SuppressInterfaceGroup= option in the [RoutingPolicyRule] section
which has the same semantics as suppress_ifgroup in `ip rule` command.
2021-11-16 01:54:07 +09:00
Slava Bacherikov
10af8bb24b
network: change link group type to int32
...
Both linux kernel kernel and iproute2 uses int32 type for a link group
attribute and -1 has a special meaning, so setting it to 4294967295
would make it -1 in the linux kernel (and ip link cmd).
2021-11-16 01:53:46 +09:00
Yu Watanabe
f2a3a133ec
network: make Token=prefixstable optionally take secret key
...
Closes #21345 .
2021-11-14 13:29:40 +09:00
Yu Watanabe
c463ae74ae
man: fix indentation
...
Also use variablelist tag for listing Token= options.
2021-11-14 10:30:33 +09:00
ml
84b10e536c
man: remove unintentionally repetitive words
2021-11-11 14:36:50 +01:00
Yu Watanabe
33132db903
man: add missing Firmware= setting
2021-11-10 10:56:42 +09:00
Yu Watanabe
e5a7570188
Merge pull request #21226 from yuwata/network-tc-cake
...
network: add several CAKE settings
2021-11-09 14:18:41 +09:00
Yu Watanabe
1c7a81e626
network: tc/cake: introduce UseRawPacketSize= setting
2021-11-09 10:58:44 +09:00
Yu Watanabe
35896db489
network: tc/cake: introduce SplitGSO= setting
2021-11-09 10:58:44 +09:00
Yu Watanabe
d05dce95d8
network: tc/cake: introduce Wash= setting
2021-11-09 10:58:44 +09:00
Yu Watanabe
049b66ccdd
network: tc/cake: introduce FirewallMark= setting
2021-11-09 10:58:44 +09:00