-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28424 from mrc0mmand/networkd-ra-captive-portals
test-network: check for captive portals received via NDISC
- Loading branch information
Showing
6 changed files
with
151 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
[Match] | ||
Name=client-p | ||
Name=router-captivep | ||
|
||
[Network] | ||
Bridge=bridge99 | ||
IPv6AcceptRA=no | ||
IPv6SendRA=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
[Match] | ||
Name=client | ||
|
||
[Network] | ||
IPv6AcceptRA=yes | ||
|
||
[IPv6AcceptRA] | ||
UseDNS=no | ||
UseDomains=no | ||
UseCaptivePortal=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
[NetDev] | ||
Name=router-captive | ||
Kind=veth | ||
MACAddress=12:34:56:78:9a:99 | ||
|
||
[Peer] | ||
Name=router-captivep | ||
MACAddress=12:34:56:78:9b:99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
[Match] | ||
Name=router-captive | ||
|
||
[Network] | ||
IPv6AcceptRA=no | ||
IPv6SendRA=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
interface router-captive | ||
{ | ||
AdvSendAdvert on; | ||
AdvCaptivePortalAPI "http://systemd.io"; | ||
|
||
prefix 2002:da8:1:99::/64 | ||
{ | ||
AdvOnLink on; | ||
AdvAutonomous on; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters