Routing issue with multiple NIC/vmbr

Hi All,

"apt-get update" on ProxMox VE 1.8 is failing.

System is reachable over ssh on the 192.168.10.0/24 network no problem.

Got this in
cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.10.201
netmask 255.255.255.0
gateway 192.168.10.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.10.20.201
netmask 255.255.255.0
gateway 10.10.20.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address 10.10.22.201
netmask 255.255.255.0
gateway 10.10.22.1
bridge_ports eth2
bridge_stp off
bridge_fd 0


As soon as I do
ifdown vmbr1
ifdown vmbr2

my update works...

bringing 1 of them backup and things fail again.

So I figure it is a routing/gateway issue of some sort... ???

Kernel IP routing table (with all IFs UP)
Destination Gateway Genmask Flags Metric Iface
10.10.22.0 * 255.255.255.0 U 0 vmbr2
10.10.20.0 * 255.255.255.0 U 0 vmbr1
192.168.10.0 * 255.255.255.0 U 0 vmbr0
default 10.10.22.1 0.0.0.0 UG 0 vmbr2
default 10.10.20.1 0.0.0.0 UG 0 vmbr1
default 192.168.10.1 0.0.0.0 UG 0 vmbr0



My virtualized systems are working just fine, the ubuntu ones can do apt-get update no problem...

While all IF's are UP I can do ping 192.168.10.1

I can't do the ifdown trick on my production system...


Do I need the gateways in vmbr1 & vmbr2?
Can I just delete them?


Thanks

Peter
 
Hi All,

"apt-get update" on ProxMox VE 1.8 is failing.

System is reachable over ssh on the 192.168.10.0/24 network no problem.

Got this in
cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual
iface eth1 inet manual
iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.10.201
netmask 255.255.255.0
gateway 192.168.10.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.10.20.201
netmask 255.255.255.0
gateway 10.10.20.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address 10.10.22.201
netmask 255.255.255.0
gateway 10.10.22.1
bridge_ports eth2
bridge_stp off
bridge_fd 0


As soon as I do
ifdown vmbr1
ifdown vmbr2

my update works...

bringing 1 of them backup and things fail again.

So I figure it is a routing/gateway issue of some sort... ???

Kernel IP routing table (with all IFs UP)
Destination Gateway Genmask Flags Metric Iface
10.10.22.0 * 255.255.255.0 U 0 vmbr2
10.10.20.0 * 255.255.255.0 U 0 vmbr1
192.168.10.0 * 255.255.255.0 U 0 vmbr0
default 10.10.22.1 0.0.0.0 UG 0 vmbr2
default 10.10.20.1 0.0.0.0 UG 0 vmbr1
default 192.168.10.1 0.0.0.0 UG 0 vmbr0



My virtualized systems are working just fine, the ubuntu ones can do apt-get update no problem...

While all IF's are UP I can do ping 192.168.10.1

I can't do the ifdown trick on my production system...


Do I need the gateways in vmbr1 & vmbr2?
Can I just delete them?


Thanks

Peter

gateways in vmbr1/2 exists? i supposed it's the problem, try to remove these gateway, leave only on vmbr0
 
Hi ion-ral,

Yep that was the problem however I was confused by the fact after commenting out the 2 lines and doing a ifdown / ifup for both vmbr1 & 2 the VMs running behind them stopped responding...

I decided to reboot the server and now all is good.

Is an ifdown/ifup not 'enough'
Would a "/etc/init.d/networking restart" be enough or am I forced to do the reboot no matter what?

Thanks

Peter
 

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!