[Network] Both venet and veth in same CT

NStorm

Active Member
Dec 23, 2011
64
2
28
Russia, Rostov-na-Donu
I'm using Proxmox 1.9 distro for my needs. By default it's web interface doesn't allows to mix network types for one CT. But I wanted to setup a mixed network within one CT.
My HN has 2 physical interfaces. So I've created a CT with veth interface bridged with eth0 via vmbr0 bridge. Then I've edited /etc/vz/conf/101.conf so it looks like:
Code:
IP_ADDRESS="192.168.A.B"
NETIF="ifname=eth0,bridge=vmbr0,mac=XX:XX:XX:XX:XX:XX,host_ifname=veth101.0,host_mac=YY:YY:YY:YY:YY:YY"
That way I have both venet and eth0 (veth device) inside CT. It seems to be working as intended. But because I didn't found any info on a setups like this I want to ask if there is any drawbacks or possible problems with such setup?
 
That way I have both venet and eth0 (veth device) inside CT. It seems to be working as intended. But because I didn't found any info on a setups like this I want to ask if there is any drawbacks or possible problems with such setup?

AFAIK that should work.
 
Aside from the web interface not showing it, there shouldn't be any issues.

I had one of each running on a client's server and noticed no problems, aside from the problems we were asked to fix.