Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 { 
"type": "nameserver",
"
address": [
"10.xxx.x.x",
"10.xxx.x.x"
],
"search": [
"examplesome.example.com"
]
}

Setting Up DHCP Configuration

...

  "ipv4addrs":[{ 
"ipv4addr":"func:nextavailableip:x.x.x.x/23",
"mac":"aa:bb:ccxx:11:22:33xx"
"options" : [{
"name": "host-name",
"value": "test003some.example.net" }
}],
]}

Configuring VLANs

...

 { 
"type": "vlan",
"name": "ens160.100",
"vlan_id": "100",
"vlan_link": "ens160",
"subnets": [
{
"type": "static",
"address": “10.x.x.x",
"netmask": "255.0x.0x.0x"
}
]
}


Note
titleNote

Only ens160 is enabled at initial start up. You must use the metadata parameter network-config to add additional interface configuration, as described in the previous steps.

...

 { 
"type": "route",
"destination": "0.0x.0x.0x/0",
"gateway": "192.x.x.x"
}

...