vmbr0 has no internet access

bobalo

New Member
Mar 10, 2014
9
2
1
Hello!
I'm new to proxmox , and I find it great.
However when creating a KVM node (win2008r2) the node has no internet access. Switching to NAT network mode works but that's not what I want.
I have multiple IP's and I want each IP dedicated to each node.
My /etc/network/interfaces is as follows (I created vmbr1 trying to add a second IP , but it's no good)
Code:
# network interface settings
auto lo
iface lo inet loopback
#
auto vmbr0
iface vmbr0 inet static
        address  xxx.xxx.211.178
        netmask  255.255.255.240
        pointpoint xxx.xxx.211.177
        gateway  xxx.xxx.211.177
        bridge_ports eth0
        bridge_stp off
        bridge_fd 1

#next
auto vmbr1
iface vmbr1 inet static
        address xxx.xxx.211.179
        netmask 255.255.255.240

I understand the vmbr1 might be misconfigured but vmbr0 was given by the provider and should work , right?
 
Maybe the provider block traffic from other MAC than eth0 (traffic from VM)?

They answered ; No, we do not have MAC address restrictions.
It's gotta be something i'm doing wrong... I swear I spent 3 hours googling around for solution to my problem but nothing came up yet.
 
Also, vmbr1 seem to have the same network, so that can result in routing problems.
Please remove vmbr1 for testing.
 
Please try to use tcpdump to see what happens to your traffic:

# tcpdump -n -l -i vmbr0

Code:
09:23:28.799553 IP xxx.xxx.211.178.22 > 94.253.159.85.52085: Flags [P.], seq 8036032:8036448, ack 15905, win 146, length 416
^C
48253 packets captured
48253 packets received by filter
0 packets dropped by kernel
That's the result , seems to be OK.
I've reinstalled the whole proxmox , and i'll try from the start.
Now this is my default settings ;
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
        address xxx.xxx.211.178
        netmask 255.255.255.240
        gateway xxx.xxx.211.177
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
With added eth0 since it didn't come by default and I believe it's needed. Is there anything else I should add before trying again?
 
Tried again , same result , KVM node has no internet access.
Trying to see it's IP via ipconfig it returns a totally different subnet and IP address , like proxmox is not giving it the right address
EDIT , manually adding the IP to the node via network settings in WIN2008r2 seems to work! I don't know why proxmox can't forward it the right address , but hey it works!
Thanks for help
 
Last edited:

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!