[Linux-cluster] Vlan interfaces

Juan Ramon Martin Blanco robejrm at gmail.com
Wed Apr 20 10:13:40 UTC 2011


On Wed, Apr 20, 2011 at 11:55 AM, Netravali Ganesh
<gnetravali at sonusnet.com> wrote:
> Hi .
>
>
>
> I have two node cluster configured.. I have created bonding interface and
> configured the cluster IP’s using below option in cluster.conf.
>
>
>
> <service autostart="1" domain="d1" exclusive="0" name="my_service"
> recovery="relocate">
>
>                         <script file="/opt/cluster/myscript.sh "
> name="myscript.sh"/>
>
>                         <ip address="192.168.10.111" monitor_link="1"/>
>
>                         <ip address="10.10.10.111" monitor_link="1"/>
>
>
>
> Cluster is assigning the IP’s to the bonding interface. Below is the output
> of “ip addr show”
>
>
>
> inet 192.168.10.111/24 scope global secondary bond0
>
> inet 10.10.10.111/24 scope global secondary bond0
>
>
>
> If I want to configure the multiple tagged VLAN interfaces on the cluster
> nodes and need to assign the above ip’s to two different VLAN interfaces,
> What modifications needs to be done to the cluster.conf ?  Below are the
> details of version I am using.
>
>
You'll have to create 2 interfaces:
bondX.Y  -> vlan Y
bondX.Z  -> vlan Z
And configure each with an ip address on the same subnet as the IPs
you want to add to the cluster.
E.g. bondX.Y 192.168.10.100/24 if you want 192.168.10.111/24 to be on vlan Y

Regards,
Juanra
>
> rgmanager-2.0.38-2.el5
>
> cman-2.0.84-2.el5
>
> RHEL5 U3
>
>
>
> Thanks
>
> Ganesh
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list