New to proxmox, trying to setup networking

default

New Member
Dec 20, 2014
3
0
1
Just installed proxmox, and I'm having issues getting networking setup the way I would like to have it configured.

Ideally, I would like all of the VMs to be on the same network as my proxmox host, which will also have access to the internet.

This is what I have in /etc/network/interfaces:

Code:
auto lo
iface lo inet loopback

auth eth0
iface eth0 inet static
    address 192.168.1.102
    netmask 255.255.255.0    
    gateway 192.168.1.1
    post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet static
    address 10.10.10.1
    netmask 255.255.255.0
    bridge_ports none
    bridge_stp off
    bridge_fd 0

I realize that this probably won't get me to my goal, but I was messing around with different settings, trying to get my VMs to get an IP other than 10.0.2.15. And that was the result of me trying different things on the proxmox networking model wiki page. Let me know if I can provide any other information. Thanks.
 
Hello default

Just installed proxmox, and I'm having issues getting networking setup the way I would like to have it configured.

Ideally, I would like all of the VMs to be on the same network as my proxmox host, which will also have access to the internet.

This is what I have in /etc/network/interfaces:

Code:
auto lo
iface lo inet loopback

auth eth0
iface eth0 inet static
    address 192.168.1.102
    netmask 255.255.255.0    
    gateway 192.168.1.1
    post-up echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp

auto vmbr0
iface vmbr0 inet static
    address 10.10.10.1
    netmask 255.255.255.0
    bridge_ports none
    bridge_stp off
    bridge_fd 0

I realize that this probably won't get me to my goal, but I was messing around with different settings, trying to get my VMs to get an IP other than 10.0.2.15. And that was the result of me trying different things on the proxmox networking model wiki page. Let me know if I can provide any other information. Thanks.

Obviously you want to have the following:

- Just one physical network for Proxmox server

- VMs withs just one network for them all - but no direct connection from the to the physical network, just routed via NAT.

Have a look here (very similar problem, maybe a coincidence ;) ... or?):

http://forum.proxmox.com/threads/20604-Inbound-Redirect-Not-Working?p=105157#post105157

Kind regards

Mr.Holmes
 
I was trying to accomplish having 1 physical network for the Proxmox server and have the VMs exist on the same network. Sorry about any confusion.

This is my interfaces file now:

Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

But when I am in the GUI, it doesn't automatically import that bridged interface, and it won't let me create vmbr0 saying:
Code:
Parameter verification failed.  (400)

[B]iface[/B]: interface already exists
 
Huh. I'm not really sure how I screwed that up in the initial install. I just reinstalled and that works perfectly. Sorry about that. Thanks.
 

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!