Dedicate NIC for Management Console/GUI

  • Thread starter Thread starter abvh
  • Start date Start date
A

abvh

Guest
Considering Proxmox as an alternative (and budget saving) to VMWare for our company, but I am already getting pretty bummed out right after installation.

I want configure one NIC for access to console/gui on a private management network ONLY and the other NIC for the guest VMs to use as access to the public network.

Basically what I need to achieve is the following ;

NIC1 : Connected to Switch #1 which is for the management LAN.
IP : 192.168.1.254
SM : 255.255.255.0
GW : doesnt matter, its the management lan
Have all the management features (console, gui, etc) listen on THIS CARD OR IP ONLY.

NIC2 : Connected to Switch #2 which is for guest VMs
IP : 172.24.1.254
SM : 255.255.255.0
GW 172.24.1.1
Guest VMs will use IPs between 172.24.1.2 and 172.24.1.253
NO ACCESS TO MANAGEMENT FEATURES FROM THIS CARD OR SUBNET.

How ?

I can do this in 30 seconds with HyperV and VMWare.

I spent 3 hours trolling forums and googling and haven't got an answer for Proxmox. Something wrong with the picture here.
 
Last edited by a moderator:
vmbr0 should be your management lan with an assigned ip
when you create vmbr1 with eth1 just assign no ip and you have what you want
 
Just edit /etc/apache2/sites-enabled/pve.conf:

Code:
Listen [COLOR=#333333]192.168.1.254[/COLOR]:8006
<VirtualHost *:8006>

Also SSH - edit /etc/ssh/sshd.config:
Code:
ListenAddress [COLOR=#333333]192.168.1.254[/COLOR]

Then restart apache and sshd:
Code:
service restart apache2
service restart sshd
 
Last edited: