Hello,
Im setting up a proxmox system here in a (so I thought) regular way:
4 physical network interfaces. 1 unused, 1 for management, 2 configured as a bond, heres the /etc/network/interfaces:
The problem is that neither vlanX nor bondX.Y devices get listed on the webinterface and looking through the source code of the webinterface, when trying to add interfaces to bridges, it allows:
ethX, ethX.Y, bondX but nothing else.
So. Neither can I see the vlan interfaces in the webinterface, nor can I add them to bridges through the webinterface. I know full well how to do all this in the console, but I actually wanted to do it through the webinterface to not need to give a book full of commands to people when they want to add VEs.
When doing it manually, I have to use the vethX network mode from what Ive figured so far to be able to add that interface to the bridge containing the VE-interface and the vlan-interface.
The problem with that is that for every VE youre getting another interface which makes ifconfig display tons of interfaces i dont actually want to see. Is there a way to hide these interfaces - without hacking my own ifconfig binary? or to set up the networking differently that doesnt need veth devices?
one thing is given tho: I will NOT do the vlan configuration inside the VEs, setting up those is supposed to be easy and fast, meaning theyre only ever going to have an eth0 device and thats it (well.. and the venet0 management thing of course).
Im setting up a proxmox system here in a (so I thought) regular way:
4 physical network interfaces. 1 unused, 1 for management, 2 configured as a bond, heres the /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.5.5.100
netmask 255.255.255.0
gateway 10.5.5.1
iface eth1 inet manual
iface eth2 inet manual
auto eth3
iface eth3 inet manual
auto bond0
iface bond0 inet manual
slaves eth1 eth2
bond_miimon 100
bond_mode balance-rr
auto vlan11
iface vlan11 inet manual
vlan_raw_device bond0
auto vlan14
iface vlan14 inet manual
vlan_raw_device bond0
#this one was just a test:
auto bond0.13
iface bond0.13 inet manual
vlan_raw_device bond0
iface vmbr0 inet manual
bridge_ports none
bridge_stp off
bridge_fd 0
The problem is that neither vlanX nor bondX.Y devices get listed on the webinterface and looking through the source code of the webinterface, when trying to add interfaces to bridges, it allows:
ethX, ethX.Y, bondX but nothing else.
So. Neither can I see the vlan interfaces in the webinterface, nor can I add them to bridges through the webinterface. I know full well how to do all this in the console, but I actually wanted to do it through the webinterface to not need to give a book full of commands to people when they want to add VEs.
When doing it manually, I have to use the vethX network mode from what Ive figured so far to be able to add that interface to the bridge containing the VE-interface and the vlan-interface.
The problem with that is that for every VE youre getting another interface which makes ifconfig display tons of interfaces i dont actually want to see. Is there a way to hide these interfaces - without hacking my own ifconfig binary? or to set up the networking differently that doesnt need veth devices?
one thing is given tho: I will NOT do the vlan configuration inside the VEs, setting up those is supposed to be easy and fast, meaning theyre only ever going to have an eth0 device and thats it (well.. and the venet0 management thing of course).