/etc/network/interface
as an exampleauto vmbr0
iface vmbr0 inet static
bridge-ports eno1
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.137.5/24
bridge-ports none
bridge-stp off
bridge-fd 0
Ok thanks will give it a go.Hi,
yes that is possible, you can configure a bridge with no IP, and give that interface to the the VM (you have to configure the correct IP there)
the/etc/network/interface
as an example
Code:auto vmbr0 iface vmbr0 inet static bridge-ports eno1 bridge-stp off bridge-fd 0
You will need another network for the VMs so that they can see each other:
Code:auto vmbr1 iface vmbr1 inet static address 192.168.137.5/24 bridge-ports none bridge-stp off bridge-fd 0
What are you planning todo?
I can't seem to get this workingYes that sounds about right. You just need to make sure that you can reach proxmox on the private IP (in the example above) .
auto eth0
iface eth0 inet manual
auto eth1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet static
bridge-ports eth0
bridge-stp off
bridge-fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.137.5/24
bridge-ports none
bridge-stp off
bridge-fd 0
auto eth0
iface eth0 inet static
address 198.244.xxx.151/24
gateway 198.244.xxx.254
auto eth1
iface eth1 inet static
address 192.168.137.6/24
netmask 255.0.0.0
sudo echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
sudo sysctl -p
up ip route add 198.244.xxx.151/32 dev vmbr0
post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
agent: 1
boot: c
bootdisk: scsi0
cipassword: $5$BGpxJ/kS$l4Is3wmJsgRVTkRhsr.6mP3Kk/DHNp0HdMVmO9S58o7
ciuser: root
ide2: local:101/vm-101-cloudinit.qcow2,media=cdrom
ipconfig0: ip=198.244.xxx.151/24,gw=198.244.xxx.254
ipconfig1: ip=192.168.137.6/24
memory: 2048
name: test2
net0: virtio=36:F1:75:8D:68:32,bridge=vmbr0,firewall=1
net1: virtio=CA:F1:97:63:05:17,bridge=vmbr1,firewall=1
onboot: 1
scsi0: local:101/vm-101-disk-0.raw,size=2G
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=779264ab-30a5-4dba-8024-d5e6c66f0729
vga: serial0
vmgenid: 65962eaa-9009-4df2-b0ad-10a63447d168
manual
instead of static
for the hostauto vmbr0
iface vmbr0 inet manual
bridge-ports eth0
bridge-stp off
bridge-fd 0
This is why I mentioned OVH. They do not allow you to create a virtual mac on the main interface IP.I saw that I made a a mistake it should bemanual
instead ofstatic
for the host
Code:auto vmbr0 iface vmbr0 inet manual bridge-ports eth0 bridge-stp off bridge-fd 0
The other thing is that OVH might block unkown mac addresses. This might help you (the part about generating a mac address):
https://support.us.ovhcloud.com/hc/...Connect-a-VM-to-the-Internet-Using-Proxmox-VE