WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Bonded interfaces with trunk and iscsi SAN

To: Donny Brooks <dbrooks@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Bonded interfaces with trunk and iscsi SAN
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Thu, 17 Feb 2011 04:15:05 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Feb 2011 13:16:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D5C263C.8010904@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D5C263C.8010904@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Feb 17, 2011 at 2:32 AM, Donny Brooks <dbrooks@xxxxxxxxxxxxxxxx> wrote:
> This is complicated with the bond+trunk. Basically what I need to happen is
> have a way to assign another IP to the bond0 interface. Being that I will
> have a very limited maintenance window to make this work, I would appreciate
> some feedback. One way I thought about doing it was to create a bond0:0
> interface and add the SAN ip stuff to it. Should this work?

With your setup? No. Since you already carve-out bond0.20, all traffic
on vlan20 will go there.

> ifcfg-bond0
> ifcfg-bond0.20
> ifcfg-br20

> Vlan20 is the SAN vlan and it has 192.168.0.0 on it. In debian I know how to
> accomplish this since you use the vmbrX interface and give it an IP. However
> I am not 100% sure how to do this in centos. I appreciate any help on this.

Just put the IP on ifcfg-br20. Add the usual

IPADDR=
NETMASK=
GATEWAY=

I noticed that you put ip address on bond0. Is that on native vlan? If
not, you should also move it to ifcfg-br*.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users