No web interface when bond0 unplugged?

longhair

Member
Jun 27, 2014
113
0
16
I have 3 NICs installed and working. I want to test something out so I created a bond0 (Bond Configuration with Proxmox).

Code:
/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto bond0
iface bond0 inet static
            address 192.168.1.3
            netmask 255.255.255.0
            slaves eth1 eth2
            bond_miimon 100
            bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
           address 192.168.1.2
           netmask 255.255.255.0
           gatway 192.168.1.1
           bridge_ports eth0
           bridge_stp off
           bridge_fd 0

When I physically unplug the cables for eth1 & eth2, I lose the connection for the web interface (http://192.168.1.2:8006) even though eth0 is still plugged in. Eth0 was working because I used that before physically installing the eth1 and eth2 cards.
 
Code:
/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

iface eth1 inet manual

iface eth2 inet manual

auto bond0
iface bond0 inet static
            address 192.168.1.3
            netmask 255.255.255.0
            slaves eth1 eth2
            bond_miimon 100
            bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
           address 192.168.1.2
           netmask 255.255.255.0
           gatway 192.168.1.1
           bridge_ports eth0
           bridge_stp off
           bridge_fd 0

The above configuration contains something strange: same subnet (192.168.1.0/24) on two interfaces. That´s not directly a mistake, but can be a hint which may be wrong in your configuration.

If this does not help verify the traffic at eth0 - the easiest is to ping to the web interface address and observe the packets by:

Code:
tcpdump -e -n -i eth0
 
Thanks for pointing that out.

I changed the subnet of bond0 and it works the way I thought it should have in the first place ;)
 

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!