Force Management network to certain network interface?

deranjer

Active Member
Dec 28, 2010
50
1
28
Hi,

I just installed proxmox and everything appeared to be working fine.... although for some reason GRUB was installed on the wrong HDD??? I don't think I did anything wrong during install.

I added some LVM storage, and then added two new network PCI cards which I plan to bridge to two of my linux VM's (since they are on separate networks and I like to have speedy bandwidth... I think thats the recommended way to do it)

The network cards were recognized and so I specified the IP's and rebooted the host to bring the interfaces up (is there a way to do that without rebooting?).

However, when I rebooted, proxmox apparently grabbed one of the PCI cards for its "management network". I had to connect to the webui using a 192 address, not the 10 dot address I was using previously. Is there any way to specify which NIC proxmox uses for its management network?
 
Thank you for your help Udo.... follow up question...

If I don't assign an IP to my other bridge (vmbr1) how do I setup my VM's (in particular my OpenVZ container) with an IP address? I can't open a console to do it manually... so how do I set it... can I set it from the command line on the host?
 
Thank you for your help Udo.... follow up question...

If I don't assign an IP to my other bridge (vmbr1) how do I setup my VM's (in particular my OpenVZ container) with an IP address? I can't open a console to do it manually... so how do I set it... can I set it from the command line on the host?
Hi,
without console:
vzctl enter 111
and you are inside your VM.
But why you can`t open a console?

Udo
 
Thank you udo, that was what I needed... when I used vzctl enter 211, it error out on me and said can't open /proc... that was why the console would not open. I started a brand new machine (the other one was something I rsynced over to the container) and that worked better.

Thanks again!