Configuring multiple bridges for eth1

I

imuhim

Guest
So I have a little of a unique problem. Before I begin here is my /network/interfaces file.

Code:
root@host:~# cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback


iface eth0 inet manual


iface eth1 inet manual


auto vmbr0
iface vmbr0 inet static
        address  216.xx.xx.18
        netmask  255.255.255.248
        gateway  216.xx.xx.17
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0


auto vmbr1
iface vmbr1 inet manual
        bridge_ports none
        bridge_stp off
        bridge_fd 0

I have two ip blocks 216.xx.xx.16/29 and 66.xx.xx.80/29. The first one: 216.xx.xx.16/29 I want on vmbr0, it works fine, because eth1 is bridged to it.

Now what I want to do is be able to have the second subnet: 66.xx.xx.80/29 on vmbr1 be connected to the internet. I think the solution has to do with some routing rules, but I still don't understand what that entails.

The reason I want to different interfaces for these subnets is so I can have dhcp assign the IP addresses so I don't have to go into the VM and do it manually (I already have that bit working).

I apologize if this has already been posted. I have been trying to figure out this problem for quite some time, so I figured the best idea was to post it on the forums.

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!