[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 2/16/2011 3:17 PM, Donny Brooks wrote:
On 2/16/2011 3:15 PM, Fajar A. Nugraha wrote:
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*.

Thanks for that. That makes sense. Although I won't need a gateway since it does not need to leave that vlan. Also the management IP is on the default vlan of 1. But I can move it to the br* interface if it would help anything.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
Ok, I added the IP information to the ifcfg-br20 file and ifdown/ifup that interface. I am able to ping the 192.168.130.X range but nothing in the 192.168.131.X, 192.168.132.X, or 192.168.133.X ranges. Here is the contents of that file:

DEVICE=br20
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.130.51
NETMASK=255.255.0.0
NETWORK=192.168.0.0
ONBOOT=yes


I know I am missing something simple. I know it should work as the windows 2008 r2 domu I have setup with 4 nics all on br20 is able to access all the ranges needed.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.