]> git.puffer.fish Git - mirror/pve-network.git/commit
add vnet
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 27 Mar 2019 17:24:09 +0000 (18:24 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 28 Mar 2019 10:52:54 +0000 (11:52 +0100)
commitb0ed2beab03198828c5bc1de417d4857b13aaa97
tree64f8da7552b3c865560d31757cd896eb9da72424
parent7e720d4d19a312e83ab62c4e0c00a37c3c1d5771
add vnet

This allow to define bridges with a tag (can be vxlan or vlan tag),
and use configuration from transportzone

/etc/pve/network/vnet.cfg

vnet1:
      tag 2
      transportzone vlanzone1
      name network1
      ipv4 10.0.0.1
      ipv6 2a03:2880:f003:c07:face:b00c::2
      mtu 1500

vnet2:
      transportzone vlanzone1
      tag 3
      name network2
      ipv6 2a03:2880:f003:c07:face:b00c::2

vnet3:
      transportzone vxlanmulticastzone1
      tag 100000
      name network3
      mtu 1400

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/Network/Vnet.pm [new file with mode: 0644]