summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/config-tests/basic-vyos5
-rw-r--r--smoketest/configs/basic-vyos8
2 files changed, 13 insertions, 0 deletions
diff --git a/smoketest/config-tests/basic-vyos b/smoketest/config-tests/basic-vyos
index 0bb68b75d..4671a30cf 100644
--- a/smoketest/config-tests/basic-vyos
+++ b/smoketest/config-tests/basic-vyos
@@ -30,6 +30,11 @@ set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option dom
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 option name-server '192.168.0.1'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 range LANDynamic start '192.168.0.20'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 range LANDynamic stop '192.168.0.240'
+set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 static-mapping TEST1 ip-address '192.168.0.21'
+set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 static-mapping TEST1 mac '00:01:02:03:04:05'
+set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 static-mapping TEST2 disable
+set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 static-mapping TEST2 ip-address '192.168.0.22'
+set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 static-mapping TEST2 mac '00:01:02:03:04:05'
set service dhcp-server shared-network-name LAN subnet 192.168.0.0/24 subnet-id '1'
set service dns forwarding allow-from '192.168.0.0/16'
set service dns forwarding cache-size '10000'
diff --git a/smoketest/configs/basic-vyos b/smoketest/configs/basic-vyos
index 76aa52039..6e23c79ef 100644
--- a/smoketest/configs/basic-vyos
+++ b/smoketest/configs/basic-vyos
@@ -89,6 +89,14 @@ service {
start 192.168.0.20
stop 192.168.0.240
}
+ static-mapping TEST1 {
+ ip-address 192.168.0.21
+ mac-address 00:01:02:03:04:05
+ }
+ static-mapping TEST2 {
+ ip-address 192.168.0.22
+ mac-address 00:01:02:03:04:05
+ }
}
}
}