help configure VM network bridge

Dpatrick

New Member
Oct 16, 2016
5
1
1
32
Please help, i read a lot information about this and cant resolve this task
myserver pve on address https://192.168.1.10:8006
File on pve /etc/network/interfaces contains:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.10 #main address hipervizor
netmask 255.255.255.0
gateway 192.168.1.2
bridge_ports eth0
bridge_stp off
bridge_fd 0
My vm - winxp, use bridge mode, driver network card i use - virtio, drivers is installed

configure network manualy on vm:
ip address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.2

and problem in- i cant ping other subnet ip adress from my vm, except 192.168.1.10 -thats all
from my VM winxp i can ping only 192.168.1.10, other hosts is ureacheable
from my pve i can ping 192.168.1.11 and other subnet hosts
from other hosts in subnet i cant ping my VM
 
are you sure the Network card of you VM is added to the vmbr0 ?
you can check this with

brctl show vmbr0
vmbr0 8000.5a99b245825a no eth0
fwpr100p0
tap402i0
tap403i0


where 402, 403 should be the ID of your VM

also firewalls can block ping packets
 
are you sure the Network card of you VM is added to the vmbr0 ?
you can check this with

brctl show vmbr0
vmbr0 8000.5a99b245825a no eth0
fwpr100p0
tap402i0
tap403i0


where 402, 403 should be the ID of your VM

also firewalls can block ping packets


thank you for reply, it's my output:
bridge name bridge id STP enabled interfaces
vmbr0 8000.000c29ed7b77 no eth0
tap105i0
ip_forwarding on and firewall disabled everyvere in web console..but still i havent internet connection adn cant ping any host in my subnet
 
In this setup (NICs of VM in a bridge) you don't need ip forwarding. The proxmox host here is acting like a virtual switch and is just passing away the Ethernet packets to your gateway.
 
  • Like
Reactions: Dpatrick
In this setup (NICs of VM in a bridge) you don't need ip forwarding. The proxmox host here is acting like a virtual switch and is just passing away the Ethernet packets to your gateway.
yes you absolutely right about ip forwarding

thanks to your advice, I tried a lot of combinations and it worked, thank you.
 
Last edited:
My problem was that I install the proxmox in a virtualized environment esxi, that is where the network does not connect to the WINxp-VM. Outstanding opportunity to install proxmox on the physical infrastructure and problem with network was solved.

In conclusion, I want to say that do not always you have real hardware to test those or other things, and when something does not work in a virtual environment, although the settings are correct, you start thinking about the future use of the product...
Thank you for helping manu, good luck and sorry for your time
 

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!