[PVE-User] Cluster nodes in different subnets/VLANs

Manu Lestrelin emmanuel.lestrelin at univmed.fr
Wed Dec 9 12:00:06 CET 2009


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/20091209/fd03bb20/attachment.htm>


More information about the pve-user mailing list