bridge - lost internet connection for VM's

dancebeatfm

New Member
Jan 1, 2014
3
0
1
People, help me please.
I'm using host Proxmox 3.1 with 3 psyhical interfaces eth0; eth1; eth2

eth0 is used for my LAN network
eth1 throw bridge vmbr0 is used for my first VM (guest: Debian 6.0.8-amd64)
eth2 throw bridge vmbr1 is used for my second VM (guest: Ubuntu 10.04-server-amd64)

And the problem is... for about innactivity of each VM about 30 min. i have lost internet connection for my VM's
I can only connect via the web gui throw eth0 and using VNC from web GUI can connect to my VM's, once I start pinging any host from the guest machine, the Internet is presented immediately.
What could be wrong?

=====================================
For my first VM /etc/network/interfaces

auto eth0
iface eth0 inet static
address 212.142....
netmask 255.255....
gateway 212.142....

=====================================

=====================================
For my second VM /etc/network/interfaces

auto eth0
iface eth0 inet static
address 109.73.....
netmask 255.255....
gateway 109.73....

=====================================

Her's my /etc/network/interfaces for my HOST

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168....
netmask 255.255.255.0
gateway 192.168....

auto eth1
iface eth1 manual

auto eth2
iface eth2 manual

auto vmbr0
iface vbmr0 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet manual
bridge_ports eth2
bridge_stp off
bridge_fd 0
 
Anybody???

Hi,
if that happens, what show the output of following commands on the host? And during pings from outside to the VMs?
Code:
brctl show
tcpdump -i vmbr0 -c 10 host ip.of.vm.vmbr0
tcpdump -i vmbr1 -c 10 host ip.of.vm.vmbr1
BTW. if you later expand the pve-host to an cluster it's perhaps easier to use vmbr0 for the internal network (now eth0) and use vmbr1 and vmbr2 for the different networks?

Udo
 
Output of command brctl show:

bridge name bridge id STP enabled interfaces
vmbr0 8000.64700213f763 no eth1
tap101i0
vmbr1 8000.902b3431d1ab no eth2
tap100i0
-------------------------------------------------------------------------------------

Output of command tcpdump on vmbr0 bridge (pinging VM outside)

tcpdump: WARNING: vmbr0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr0, link-type EN10MB (Ethernet), capture size 65535 bytes


0 packets captured
0 packets received by filter
0 packets dropped by kernel
--------------------------------------------------------------------------------

Output of command tcpdump on vmbr1 bridge (pinging VM outside)

tcpdump: WARNING: vmbr1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr1, link-type EN10MB (Ethernet), capture size 65535 bytes


0 packets captured
0 packets received by filter
0 packets dropped by kernel
------------------------------------------------------------------

it seems that there is no Connection from the outside
 
Last edited:
Output of command brctl show:

bridge name bridge id STP enabled interfaces
vmbr0 8000.64700213f763 no eth1
tap101i0
vmbr1 8000.902b3431d1ab no eth2
tap100i0
-------------------------------------------------------------------------------------

Output of command tcpdump on vmbr0 bridge (pinging VM outside)

tcpdump: WARNING: vmbr0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr0, link-type EN10MB (Ethernet), capture size 65535 bytes


0 packets captured
0 packets received by filter
0 packets dropped by kernel
--------------------------------------------------------------------------------

Output of command tcpdump on vmbr1 bridge (pinging VM outside)

tcpdump: WARNING: vmbr1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vmbr1, link-type EN10MB (Ethernet), capture size 65535 bytes


0 packets captured
0 packets received by filter
0 packets dropped by kernel
------------------------------------------------------------------

it seems that there is no Connection from the outside

Hi,
nothing reach the bridge! I assume you have trouble with ARP on the router?!

You can try to use traceroute from outside to see where it's stop working.

Udo
 

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!