[PVE-User] Cluster nodes in different subnets/VLANs
Dietmar Maurer
dietmar at proxmox.com
Thu Dec 10 09:01:41 CET 2009
But you posted a different configuration - I am confused now.
So I have the configuration you described :
* vmbr0 : VLAN 100 on both nodes
* vmbr1 : VLAN 200 on both nodes
Dietmar Maurer <dietmar at proxmox.com> a écrit :
That config look quite strange to me – vmbr0 should use the same vlan on both nodes, also vmbr1 should use the same vlan on both nodes.
From: Manu Lestrelin [mailto:emmanuel.lestrelin at univmed.fr]
Sent: Mittwoch, 09. Dezember 2009 12:00
To: Dietmar Maurer
Cc: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] Cluster nodes in different subnets/VLANs
On master cluster node :
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.100.4
netmask 255.255.255.0
gateway 192.168.100.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth0.200
bridge_stp off
bridge_fd 0
On slave cluster node :
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge_ports eth0.100
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.200.220
netmask 255.255.255.0
gateway 192.168.200.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
Dietmar Maurer a écrit :
This error is certainly due to the fact that vmbr0 does not have any
defined gateway : as stated in Cluster.pm line 182, $localip is defined
like this :
my $localip = $ifaces->{vmbr0}->{address} || $ifaces->{eth0}-
{address};
So what network config do you use now? (/etc/network/interfaces)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20091210/d4db8c9b/attachment.htm>
More information about the pve-user
mailing list