How to get started?

dan

New Member
Jan 16, 2009
21
0
1
Hi,

I'm sitting affront of an fresh installed IBM server and try to figure out how to install multiple virtual maschines. The installation process of an vm is not that difficult but I didn't find any help on setting the network settings.

The IBM Server has one (real) ethernet port. The vm's should run in bridged mode, so that every vm can have its own external ip address and can be access from the net.

I didn't find any help in the ve wiki on how to achieve this.

When I try to add a new bridged interface and add my real eth0 port to it, it says it is already taken.

So how can I add new virtual network interfaces to my single real network port?

Thanks for any help!
 
Hi,

I'm sitting affront of an fresh installed IBM server and try to figure out how to install multiple virtual maschines. The installation process of an vm is not that difficult but I didn't find any help on setting the network settings.

The IBM Server has one (real) ethernet port. The vm's should run in bridged mode, so that every vm can have its own external ip address and can be access from the net.

I didn't find any help in the ve wiki on how to achieve this.

When I try to add a new bridged interface and add my real eth0 port to it, it says it is already taken.

So how can I add new virtual network interfaces to my single real network port?

Thanks for any help!

I assume you talk about KVM VM´s? Just give your VM´s the same network settings as you have if you configure a native server installation.

e.g. if you install a windows VM with DHCP, the VM gets the IP settings from your DHCP server (if you have one). or configure a fixed one within the VM.

pls see also http://pve.proxmox.com/wiki/Network_Model
 
Thanks for your fast reply.

I'm now in

/etc/network/interfaces

Is my networking interface eth0 or vmbr0 within the vm?

I'm using Ubuntu 8.04 Template.

Thanks again.
 
Thanks for your fast reply.

I'm now in

/etc/network/interfaces

Is my networking interface eth0 or vmbr0 within the vm?

I'm using Ubuntu 8.04 Template.

Thanks again.

ok. pls always give full information. so you run Ubuntu container, with veth0? if yes, you should have a eth0 in your container and you need to generate the /etc/network/interfaces (eth0) manually - like you are on a physical host.
 
Hi,

setting it to eth0 didn't work. I've tried to set it with vzctl like this:

Code:
vzctl set 101 --ipadd 142.23.51.36 --save

After that it worked but now my /etc/network/interfaces looks like this:

Code:
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


# Auto generated interfaces
auto lo
iface lo inet loopback

auto venet0
iface venet0 inet static
        address 127.0.0.1
        netmask 255.255.255.255
        broadcast 0.0.0.0
        up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
        up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
        address 142.23.51.36
        netmask 255.255.255.0
        broadcast 0.0.0.0

I've did the same with my second vm and the config looks exactly the same except of the ip address.

What is venet0:0 and why did I have to use vzctl to get it right?

It seams to me that this is not the way it is intended.


Here is my setup:

- IBM Server (4 x Intel(R) Xeon(R) CPU X3350 @ 2.66GHz)
- (latest) Proxmox 1.1
- vmbr0 to eth0 (real ethernet port)
- two ubuntu minimal vm's on openvz

Thanks for any 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!