Skip to content

Instantly share code, notes, and snippets.

@dougbtv
Last active May 5, 2020 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dougbtv/55b5608d24bb97979aad86d294c5a250 to your computer and use it in GitHub Desktop.
Save dougbtv/55b5608d24bb97979aad86d294c5a250 to your computer and use it in GitHub Desktop.
static.route.whereabouts.json
{
"cniVersion": "0.3.0",
"type": "macvlan",
"master": "ens5",
"mode": "bridge",
"ipam": {
"type": "whereabouts",
"range": "192.168.2.0/24",
"exclude": [
"192.168.2.255/32"
],
}
}
{
"cniVersion": "0.3.0",
"type": "macvlan",
"master": "ens5",
"mode": "bridge",
"ipam": {
"type": "whereabouts",
"range": "192.168.2.225/28",
"routes": [
{ "dst": "0.0.0.0/0" },
{ "dst": "192.168.0.0/16", "gw": "10.10.5.1" },
{ "dst": "3ffe:ffff:0:01ff::1/64" }
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment