Two network cards in the same network with different IPs

fictionedge

Renowned Member
Mar 24, 2014
13
1
68
Portugal
Hi

I've searched the forum and can't find a reason for my two network cards still not working
here's my interfaces file. What have I done wrong?

Code:
# network interface settingsauto lo
iface lo inet loopback


iface vmbr0 inet static
        address  10.17.224.251
        netmask  255.255.255.0
        gateway  10.17.224.254
        network 10.17.224.0
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0


auto vmbr1
iface vmbr1 inet static
        address 10.17.224.247
        netmask 255.255.255.0
        broadcast 255.255.255.255
        network 10.17.224.0 
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0
I want to use one of the cards exclusively to the proxy server VM
 
If you leave only vmbr0 it work ok ? The problem can be with the respond like packet comes to vmbr1 but replay goes through vmbr0. You have to set up ip rules to control incoming and outgoing packets.