test-network: add a test for OnLink= in [NextHop] section

This commit is contained in:
Yu Watanabe
2021-02-21 05:16:27 +09:00
parent 2ddd52d1e2
commit e2d9bc5cfd
2 changed files with 14 additions and 0 deletions
@@ -23,6 +23,11 @@ Family=ipv6
Id=4
Family=ipv4
[NextHop]
Id=5
Gateway=192.168.10.1
OnLink=yes
[NextHop]
Gateway=192.168.5.2
@@ -37,3 +42,7 @@ Destination=10.10.10.11
[Route]
NextHop=2
Destination=2001:1234:5:8f62::1
[Route]
NextHop=5
Destination=10.10.10.12