unique IP for KVM

AGo

New Member
Dec 9, 2010
12
0
1
Hi everybody,

this is a pretty beginner question, but I´m somewhat lost.

I have Proxmox 1.6 runngin, a single NIC on the host with 5 IPs assigned to it,
84.x.x.170-84.x.x.174.

I have some openVZ containers which I can easily assign IPs to.
However now I need a KVM Client running Ubuntu linux, and want to assign
the public IP 84.x.x.174 to it. But all I get when I enter the IP is the proxmox
control panel. Everything is running except no network connection. Any idea what
I am doing wrong?

The VM has vmbr174 connected as realtek ethernet card.

Thanks,

André

This is what my interfaces lookes like on the host
Code:
# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
	address  84.x.x.170
	netmask  255.255.255.0
	gateway  84.x.x.1
	bridge_ports eth0
	bridge_stp off
	bridge_fd 0

auto vmbr174
iface vmbr174 inet static
	address  84.x.x.174
	netmask  255.255.255.0
	bridge_ports none
	bridge_stp off
	bridge_fd 0
 
little update:

I thought it would be sufficient to declare an alias eth0:174 like this
Code:
ifconfig eth0:174 84.x.x.174 up
i
on the host and then add that as a bridged device via the proxmox webgui, but when assigning the device to the vmbr174 i get "Error: unable to bridge device 'eth0:174' " Any clues?
 
I think you just hook the guest into vmbr0 (on the web interface) and configure the network settings in the guest.
 
Thanks for your reply, you´re totally right.
No need for any config on the host. After all it turned out to be a missconfiguration on the client side, a typo in resolv.conf...
 

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!