// and it must be unique among all shared networks.
"name": "my-secret-lair-level-1",
+ // Subnet selector can be specifed on the shared network level.
+ // Subnets from this shared network will be selected for directly
+ // connected clients sending requests to server's "eth0" interface.
+ "interface": "eth0",
+
// This starts a list of subnets in this shared network.
// There are two subnets in this example.
"subnet4": [
"subnet4": [
{
"subnet": "192.0.3.0/24",
- "pools": [ { "pool": "192.0.3.1 - 192.0.3.200" } ]
+ "pools": [ { "pool": "192.0.3.1 - 192.0.3.200" } ],
+ "interface": "eth1"
}
]
{
"name": "lab-network3",
+ "interface": "eth0",
+
// This applies to all subnets in this shared network, unless
// values are overridden on subnet scope.
<userinput>"valid-lifetime": 600</userinput>,
"shared-networks": [
{
"name": "galah",
+ "interface": "eth0",
"subnet4": [
{
"subnet": "192.0.2.0/26",
"shared-networks": [
{
"name": "frog",
+ "interface": "eth0",
"subnet4": [
{
"subnet": "192.0.2.0/26",
// and it must be unique among all shared networks.
"name": "ipv6-lab-1",
+ // Subnet selector can be specifed on the shared network level.
+ // Subnets from this shared network will be selected for clients
+ // communicating via relay agent having the specified IP address.
+ "relay": {
+ "ip-address": "2001:db8:2:34::1"
+ },
+
// This starts a list of subnets in this shared network.
// There are two subnets in this example.
"subnet6": [
"subnet6": [
{
"subnet": "2001:db9::/48",
- "pools": [ { "pool": "2001:db9::/64" } ]
+ "pools": [ { "pool": "2001:db9::/64" } ],
+ "relay": {
+ "ip-address": "2001:db8:1:2::1"
+ }
}
]
"shared-networks": [
{
"name": "lab-network3",
+ "relay": {
+ "ip-address": "2001:db8:2:34::1"
+ },
// This applies to all subnets in this shared network, unless
// values are overridden on subnet scope.
"shared-networks": [
{
"name": "galah",
+ "relay": {
+ "ip-address": "2001:db8:2:34::1"
+ },
"subnet6": [
{
"subnet": "2001:db8:1::/64",
"shared-networks": [
{
"name": "frog",
+ "relay": {
+ "ip-address": "2001:db8:2:34::1"
+ },
"subnet6": [
{
"subnet": "2001:db8:1::/64",