Problem with bridge. I'm lost

lok1

New Member
Dec 25, 2015
1
0
1
34
Hi guys,
I'm completely new to this stuff and I googled over 2 days now and tried couple of configurations.
Here is the thing. I have 3 ip addresses.
First is for host: 193.111.140.XXX
Second is for VM: 85.14.249.XXX
Third is for VM: 5.199.140.XXX

Addresses are in format as they were delivered just replaced last digits. Only eth0 on host is active.

Here is interfaces for host:
Code:
source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
    address  193.111.140.XXX
    netmask  255.255.255.0
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
    pointopoint  193.111.140.1
    gateway  193.111.140.1
    #broadcast  193.111.140.255
    #network 193.111.140.0
    dns-nameservers 62.141.32.5 62.141.32.4 62.141.32.3
    dns-search violet.servdiscount-customer.com
# dns-* options are implemented by the resolvconf package, if installed

iface eth1 inet manual

Here is interface file for VM with 85.14.249.XXX ip:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 85.14.249.XXX
    netmask 255.255.255.255
    pointopoint 193.111.140.1
    gateway 193.111.140.1
    #post-up ip route add 255.255.255.0 dev eth0
    #post-up ip route add default via 255.255.255.0
    #pre-down ip route del default via 255.255.255.0
    #pre-down ip route del 255.255.255.0 dev eth0
Above configuration for 85.14.249.XXX ip works fine and connection is working fine as well.

Now the problem with 5.199.140.XXX ip.
Interface file:
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 5.199.140.XXX
    netmask 255.255.255.255
    pointopoint 193.111.140.1
    gateway 193.111.140.1
    #post-up ip route add 255.255.255.0 dev eth0
    #post-up ip route add default via 255.255.255.0
    #pre-down ip route del default via 255.255.255.0
    #pre-down ip route del 255.255.255.0 dev eth0
Configration is the same as for previous ip but for 5.199.140.XXX I can't get it to work and can't ping anything. Both VMs have same system and same configs.
Could you please help me get out of my problem?
 

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!