Yu Watanabe
8be102f8b8
test-network: kernel treats the lowest IP address as unicast since 5.14
...
See kernel's 94c821c74bf5fe0c25e09df5334a16f98608db90.
2021-09-13 21:41:16 +02:00
Yu Watanabe
b06469a66c
test-network: add tests for KeepMaster=
2021-09-04 08:15:30 +09:00
Tom Yan
c918b70a4d
network: default LinkLocalAddresssing= to no for link stacked with a passthru mode MACVLAN/MACVTAP
...
For similar reason to the case of a bridge slave: we don't want any IP configuration for it.
2021-08-26 06:11:41 +09:00
Yu Watanabe
ab47f96041
test-network: add more testcases for *Allow/DenyList=
2021-08-23 20:37:36 +09:00
Yu Watanabe
180c5116b3
test-network: add testcases that gateway address is IPv6 link local
2021-08-22 15:35:22 +09:00
Yu Watanabe
c4f7a34756
network: do not assume the highest priority when Priority= is unspecified
...
Previously, when Priority= is unspecified, networkd configured the rule with
the highest (=0) priority. This commit makes networkd distinguish the case
the setting is unspecified and one explicitly specified as Priority=0.
Note.
1) If the priority is unspecified on configure, then kernel dynamically picks
a priority for the rule.
2) The new behavior is consistent with 'ip rule' command.
Replaces #15606 .
2021-08-18 15:57:45 +09:00
Maxime de Roucy
d419ef0243
network: add address label on dhcpv4
...
Fixes : #13967
2021-08-17 02:40:18 +09:00
Yu Watanabe
1d0c9bd753
test-network: add a testcase for recreating stacked netdevs
2021-08-12 15:03:50 +09:00
Yu Watanabe
af0d4e6ef5
test-network: test static lease outside of pool
2021-08-11 16:43:26 +09:00
Yu Watanabe
3bad5487e9
test-network: add a testcase to enter unmanaged state on reconfiguring
2021-08-10 14:44:47 +09:00
Luca Boccassi
32a2ee2bb4
Merge pull request #20375 from yuwata/network-bridge-vlan-issue-20373
...
network: fix bridge and openvswitch issues
2021-08-05 11:18:03 +01:00
Yu Watanabe
801cf85935
Merge pull request #20377 from yuwata/network-bridge-fdb-20305
...
network: always append new bridge FDB entries
2021-08-05 02:44:24 +09:00
Yu Watanabe
988b0660aa
test-network: add a test case for issue #20373
2021-08-04 23:22:20 +09:00
Yu Watanabe
4a906586f8
test-network: add a testcase for UplinkInterface= in [IPv6SendRA]
2021-08-04 22:21:00 +09:00
Yu Watanabe
cca07d910a
test-network: add a testcase for vxlan with IPv6 local address
2021-08-04 18:33:23 +09:00
Yu Watanabe
4df8a8e809
test-network: add a testcase for semi-static route with Gateway=_dhcp4 when UseGateway=no
2021-07-15 04:17:14 +09:00
Yu Watanabe
87e62d32b4
test-network: adjust testcases to follow the previous changes
2021-07-15 04:17:14 +09:00
Yu Watanabe
1d26d4cd14
test-network: add a testcase for ManageForeignRoutes=no
2021-07-12 20:59:42 +09:00
Yu Watanabe
4492443124
test-network: update tests for ipv4acd
2021-07-01 00:49:03 +09:00
Dan Streetman
61764fe4e2
test: add test to verify RequiredForOnline= setting with ActivationPolicy=
...
Add test to verify that the RequiredForOnline= value is correct based on
the configuration of ActivationPolicy=
2021-06-24 08:33:29 -04:00
Hristo Venev
2e8a32afbc
networkd: Permit all-zero RoutingPolicyRule prefixes
...
For example this `From` address range is no longer ignored:
[RoutingPolicyRule]
From=0.0.0.0/8
2021-06-22 20:19:12 +09:00
Luca Boccassi
2fbb5df8e9
Merge pull request #19898 from yuwata/network-multipath-route-without-interface-name
...
network: set link ifindex when multi-path routes specified without interface name
2021-06-14 14:27:50 +01:00
Yu Watanabe
740b638267
test-network: disable dynamic addressing protocols when ConfigureWithoutCarrier= is enabled
2021-06-12 08:51:16 +09:00
Yu Watanabe
705c7b1860
test-network: refuse routable state when no-carrier is expected
...
If we do not set the maximum operstate in wait-online, then routable
state is allowed when no-carrier state is expected.
2021-06-12 08:51:16 +09:00
Yu Watanabe
7a0fef8688
test-network: add a testcase for MultiPathRoute= without interface name
2021-06-12 05:37:57 +09:00
Yu Watanabe
4681ab5547
test-network: add a test case for IPv6StableSecretAddress=
2021-06-09 04:56:52 +09:00
Yu Watanabe
9373f5a812
test-network: fix setting name
...
This fixes an issue introduced by 72ffb9133d
.
2021-06-08 06:33:27 +09:00
Yu Watanabe
4e0006cc4b
test-network: add a testcase for UplinkInterface= for DHCP server
2021-06-08 06:33:27 +09:00
borna-blazevic
ffaece68bc
test-network: add a testcase for DHCP static lease
2021-05-27 15:57:33 +09:00
Yu Watanabe
06043c7821
test-network: refuse RA if not necessary
2021-05-26 21:22:13 +09:00
Yu Watanabe
618da3e7d5
test-network: wait for that the link is in configuring state at the beginning
2021-05-26 21:13:56 +09:00
Yu Watanabe
70f32a260b
udev/net: do not manage loopback interfaces
...
There are nothing we can configure in udevd for loopback interfaces;
no ethertool configs can be applied, MAC address, interface name should
not be touched.
2021-05-23 22:58:47 +09:00
Yu Watanabe
9c8f90d0f9
test-network: add a test case for nexthop Group= setting
2021-05-22 04:59:45 +09:00
Yu Watanabe
db5486b450
test-network: add a testcase for OutgoingInterface= in [BridgeFDB]
2021-05-20 18:23:15 +09:00
Yu Watanabe
72ffb9133d
test-network: add testcases for ServerAddress=
2021-05-18 20:20:24 +09:00
Yu Watanabe
932e157b5e
test-network: wait for the interfaces are configured after reloading .network files
2021-05-12 11:26:06 +09:00
Yu Watanabe
1ef2eedce7
test-network: wait for the intreface is configured if it is expected
2021-05-12 11:26:06 +09:00
Jörg Deckert
dd568427fb
networkd: correct batman-adv setting name (GatewayBandwidth) ( #19539 )
...
Co-authored-by: Jörg Deckert <jdeckert@unitas-network.de>
2021-05-08 14:39:32 +02:00
Yegor Alexeyev
11c38d3e51
rfc3046 implementation
2021-05-08 15:59:29 +09:00
Yu Watanabe
4bd7e99232
test-network: set DNS= and NTP= for DHCP server
...
Now, RoutesToDNS= and RoutesToNTP= are enabled by default on DHCPv4
client. So, if DHCP server picks up DNS or NTP servers from uplink,
then the routes may break CI environment.
Hopefully fixes #19463 .
2021-04-30 10:57:17 +02:00
Yu Watanabe
e1220a70de
test-network: add tests for RoutesToNTP=
2021-04-27 00:01:18 +09:00
Yu Watanabe
625772c9c1
test-network: update tests for DHCP routes
...
This removes static-route option from the default dnsmasq command.
2021-04-23 08:49:29 +09:00
Yu Watanabe
3e726c156b
test-network: update test for RouteMetric=
2021-04-21 13:55:02 +09:00
Yegor Alexeyev
c95df5879e
relay role implementation
2021-04-20 15:11:53 +02:00
LetzteInstanz
70448bb1c1
test-network: test waiting for address family
2021-04-14 09:00:12 +09:00
Annika Wickert
c0267a592a
network: Implement B.A.T.M.A.N. Advanced interface type
2021-02-25 01:57:29 +09:00
Yu Watanabe
9947c7bad1
test-network: add tests for dropping unnecessary nexthops
2021-02-23 22:48:12 +09:00
Yu Watanabe
69a91c704e
test-network: add tests for Blackhole= setting in [NextHop] section
2021-02-23 02:21:35 +09:00
Yu Watanabe
84d32bf59b
test-network: test wireguard peer in drop-in config
...
Closes #18241 .
2021-02-22 21:33:36 +09:00
Yu Watanabe
e2d9bc5cfd
test-network: add a test for OnLink= in [NextHop] section
2021-02-21 05:16:27 +09:00