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

Emmanuel LESTRELIN emmanuel.lestrelin at univmed.fr
Thu Dec 10 22:11:55 CET 2009



What do you mean by "different" ? I am confused too.

Here's the configuration, more shortly :
node 1 :
vmbr0 -> eth0 -> VLAN 100 -> ip 192.168.100.4, gateway 192.168.100.1
vmbr1 -> eth0.200 -> VLAN 200 -> no ip
node 2 :
vmbr0 -> eth0.100 -> VLAN 100 -> no ip
vmbr1 -> eth0 -> VLAN 200 -> ip 192.168.200.220, gateway 192.168.200.1

Did I make any mistake ?
--
manu

Dietmar Maurer <dietmar at proxmox.com> a écrit : 

>   
>
> 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/483dd2c4/attachment.htm>


More information about the pve-user mailing list