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] bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards

Subject: Re: [Xen-users] bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards [SOLVED]
From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Date: Fri, 25 May 2007 14:46:12 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 May 2007 00:44:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46568D68.8010102@xxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <465591E0.3070106@xxxxxxxx> <46564CA4.9040602@xxxxxxxxxxxxx> <46568D68.8010102@xxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.0 (X11/20070326)
Tomasz Chmielewski wrote:
> Fajar A. Nugraha schrieb:
>> - Create vlans and bridges in dom0 using your distro's network config.
>> - If you need bonding and have more than two dom0 interface handling
>> domU's traffic, do the bonding in domU.
>
> Doesn't make much sense to me to do bonding in domU.
> What if you want to live migrate the guest to a host which doesn't
> have two cards?
>
> Also you wrote it earlier ("I doubt it would work as expected anyway,
> since the only way to get bonding and vlan in domU is to detect line
> status (which would be rather useless if the network problem happens
> anywhere other than the switch)") - so I'm not sure what you mean.
>
>

I believe it all comes down to your this line :
I doubt it would work as expected anyway, since the only way to get
bonding and vlan in *dom0* is to detect line status (which would be rather
useless if the network problem happens anywhere other than the switch)

I made a typo earlier, it should be dom0, not domU. The reasoning behind
that statement is :
1. there are several method that linux ethernet bonding use for link
monitoring, ARP monitor and the MII monitor
2. The best HA setup (IMHO) would be to use ARP monitor, and use router
IP as arp target.
3. Using vlans means multiple networks and multiple routers are involved.
4. Checking only one router ARP (the router on native-vlan) isn't really
good enough (for me anyway) since it doesn't check the conditions of
routers on other VLANs
5. MII monitor only check whether the link (the switch or hub that your
eth is connected to) is up. It doesn't really check whether the switch
connection to the router is working properly or not.

Which is why, IMHO, the best way to do bonding is in domU, and use dom0
for VLAN and bridge.
If you ever get a solution that would RELIABLY do bonding (as in capable
of checking each VLAN's router ARP) in dom0, I'd love to hear about it :)

Regards,

Fajar

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