Server with multiple NIC and virtual servers.

G

gavfranc

Guest
Hi I hope somebody can help me with this.

I have a proxmox server running on a hp proliant with 4 physical NIC's. The proxmox server has to run 2 virtual servers both of which are KVM, one as an LTSP server which is working fine and another as a samba/dns/dhcp server.
The 2 virt servers need to access the gateway on eth0 via a bridge and then do their own thing on eth1 (ltsp) and eth2 (samba etc).
The LTSP server is working great, it is accessing the internet using the bridge and then working as an ltsp server on eth1.

When I open the console on the virt server(samba) I can not ping anything other than itself.

Below, I have listed my network setups for the proxmox server, the ltsp server and the samba server.

proxmox

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth1
iface eth1 inet manual

iface eth3 inet manual

auto eth2
iface eth2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.131.2
netmask 255.255.255.0
gateway 192.168.131.1
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 192.168.22.2
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0

auto vmbr2
iface vmbr2 inet static
address 10.18.51.2
netmask 255.255.255.0
bridge_ports eth2
bridge_stp off
bridge_fd 0

LTSP virtserver

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.131.10
gateway 192.168.131.1
netmask 255.255.255.0
network 192.168.131.255
dns-nameservers 8.8.8.8 192.168.131.1

auto eth1
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0

pre-up iptables-restore < /etc/iptables.up.rules

Samba(virtserver)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.131.11
netmask 255.255.255.0
gateway 192.168.131.1
network 192.168.131.0
broadcast 192.168.131.255
dns-nameservers 8.8.8.8

auto eth1
iface eth1 inet static
address 10.18.51.1
netmask 255.255.255.0

pre-up iptables-restore < /etc/iptables.up.rules

---------------------------------------------------
So I have tried to use the same idea as the ltsp server but it is not working. Nor is eth2 showing as active on the Proxmox.

I am open to any advice and perhaps some idea of a better way to set this up. I am sure that it is not unusual but I must have the ability to keep the LTSP server on a different subnet to the Samba server and never the 2 should meet.

I am not new to server implimentation but I am to virtual servers.

Many thanks,

Gavin
 

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!