All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled
       [not found] <1299788413.4801.20.camel@bordalnx>
@ 2011-03-10 20:55 ` Nicolas de Pesloüan
  2011-03-10 23:39   ` Leonardo Borda
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas de Pesloüan @ 2011-03-10 20:55 UTC (permalink / raw)
  To: bonding-devel, Bridge

Le 10/03/2011 21:20, Leonardo Borda a écrit :
> Hello Guys,

Hi Leonardo,

> I am trying to configure bridge + bonding with arp monitoring enabled.
> Whenever I activate the bridge interface and assign bond0 to the bridge
> Everything stops working.
>
> I am on ubuntu 10.04 LTS.
>
> Can I have an ip address in the bond0 interface WHILE not having an IP
> address in the bridge interface?
> In order to have bond arp monitoring I must have an ip address in the
> bond interface as far as I understand.

Did you try to setup the IP address on br0 instead? I think it should work. Do you have any reasons 
to put the IP address on bond0 instead?

> Here it is my current configuration.
> PS: I have seen similar configurations although none of them have an ip
> address configured in the bond0 interface.
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> auto bond0
> iface bond0 inet static
>          address 10.153.107.110
>          netmask 255.255.255.0
>          gateway 10.153.107.1
> bond-slaves none
> bond-mode active-backup
> bond_arp_ip_target 10.153.107.1
> bond_arp_interval 500
>
> auto eth0
> iface eth0 inet manual
> bond-master bond0
> bond-primary eth0 eth1
>
> auto eth1
> iface eth1 inet manual
> bond-master bond0
> bond-primary eth0 eth1
>
> auto br0
> iface br0 inet manual
>      bridge_ports bond0
>      bridge_stp off
>      bridge_fd 9
>      bridge_hello 2
>      bridge_maxage 12
>      bridge_maxwait 0
>
> Leonardo
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Bonding-devel mailing list
> Bonding-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bonding-devel
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled
  2011-03-10 20:55 ` [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled Nicolas de Pesloüan
@ 2011-03-10 23:39   ` Leonardo Borda
  2011-03-11 18:22     ` Nicolas de Pesloüan
  0 siblings, 1 reply; 4+ messages in thread
From: Leonardo Borda @ 2011-03-10 23:39 UTC (permalink / raw)
  To: Nicolas de Pesloüan; +Cc: Zaid Al Hamami, Bridge, bonding-devel

Hi Nicolas,

Thank you for your suggestion, it works.
Actually I was thinking that in order to have arp monitoring
(bond_arp_ip_target <ip>) enabled the bond0 interface had to have an ip
address configured and as per tcpdump samples show that is not true. 
So here it is my current working configuration.

# The loopback network interface
auto lo
iface lo inet loopback

auto bond0
iface bond0 inet manual
bond-slaves none
bond-mode active-backup
bond_arp_ip_target 10.153.107.1
bond_arp_interval 60


auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1

auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1

auto br0
iface br0 inet static
address 10.153.107.110
netmask 255.255.255.0
gateway 10.153.107.1
bridge_ports bond0
bridge_stp off
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_maxwait 0

###
Tcpdump output

00:1c:c4:6b:38:4a > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has
10.153.107.1 tell 0.0.0.0, length 46
00:1c:c4:6b:38:4a > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has
10.153.107.1 tell 0.0.0.0, length 46
00:1c:c4:6b:38:4a > ff:ff:ff:ff:ff:ff, ARP, length 60: Request who-has
10.153.107.1 tell 0.0.0.0, length 46

Thanks guys.

Leonardo

On Thu, 2011-03-10 at 21:55 +0100, Nicolas de Pesloüan wrote: 
> Le 10/03/2011 21:20, Leonardo Borda a écrit :
> > Hello Guys,
> 
> Hi Leonardo,
> 
> > I am trying to configure bridge + bonding with arp monitoring enabled.
> > Whenever I activate the bridge interface and assign bond0 to the bridge
> > Everything stops working.
> >
> > I am on ubuntu 10.04 LTS.
> >
> > Can I have an ip address in the bond0 interface WHILE not having an IP
> > address in the bridge interface?
> > In order to have bond arp monitoring I must have an ip address in the
> > bond interface as far as I understand.
> 
> Did you try to setup the IP address on br0 instead? I think it should work. Do you have any reasons 
> to put the IP address on bond0 instead?
> 
> > Here it is my current configuration.
> > PS: I have seen similar configurations although none of them have an ip
> > address configured in the bond0 interface.
> >
> > # The loopback network interface
> > auto lo
> > iface lo inet loopback
> >
> > auto bond0
> > iface bond0 inet static
> >          address 10.153.107.110
> >          netmask 255.255.255.0
> >          gateway 10.153.107.1
> > bond-slaves none
> > bond-mode active-backup
> > bond_arp_ip_target 10.153.107.1
> > bond_arp_interval 500
> >
> > auto eth0
> > iface eth0 inet manual
> > bond-master bond0
> > bond-primary eth0 eth1
> >
> > auto eth1
> > iface eth1 inet manual
> > bond-master bond0
> > bond-primary eth0 eth1
> >
> > auto br0
> > iface br0 inet manual
> >      bridge_ports bond0
> >      bridge_stp off
> >      bridge_fd 9
> >      bridge_hello 2
> >      bridge_maxage 12
> >      bridge_maxwait 0
> >
> > Leonardo
> >
> >
> > ------------------------------------------------------------------------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________
> > Bonding-devel mailing list
> > Bonding-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bonding-devel
> >
> 
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge

-- 
Leonardo Borda
Server Support Analyst
Canonical Canada


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled
  2011-03-10 23:39   ` Leonardo Borda
@ 2011-03-11 18:22     ` Nicolas de Pesloüan
  2011-03-11 21:35       ` Leonardo Borda
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas de Pesloüan @ 2011-03-11 18:22 UTC (permalink / raw)
  To: Leonardo Borda; +Cc: Zaid Al Hamami, Bridge, bonding-devel

Le 11/03/2011 00:39, Leonardo Borda a écrit :
> Hi Nicolas,
>
> Thank you for your suggestion, it works.
> Actually I was thinking that in order to have arp monitoring
> (bond_arp_ip_target<ip>) enabled the bond0 interface had to have an ip
> address configured and as per tcpdump samples show that is not true.

We are working hard to keep even more complicated setups working properly.

For example, eth0 -> bond0 -> bond0.100, with the arp_ip_targets reachable through bond0.100 only.

	Nicolas.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled
  2011-03-11 18:22     ` Nicolas de Pesloüan
@ 2011-03-11 21:35       ` Leonardo Borda
  0 siblings, 0 replies; 4+ messages in thread
From: Leonardo Borda @ 2011-03-11 21:35 UTC (permalink / raw)
  To: Nicolas de Pesloüan; +Cc: Bridge, bonding-devel

Hi Nicolas,

Very appreciated!!

Thank you
-- 
Leonardo Borda
Server Support Analyst
Canonical Canada

On Fri, 2011-03-11 at 19:22 +0100, Nicolas de Pesloüan wrote: 
> Le 11/03/2011 00:39, Leonardo Borda a écrit :
> > Hi Nicolas,
> >
> > Thank you for your suggestion, it works.
> > Actually I was thinking that in order to have arp monitoring
> > (bond_arp_ip_target<ip>) enabled the bond0 interface had to have an ip
> > address configured and as per tcpdump samples show that is not true.
> 
> We are working hard to keep even more complicated setups working properly.
> 
> For example, eth0 -> bond0 -> bond0.100, with the arp_ip_targets reachable through bond0.100 only.
> 
> 	Nicolas.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-11 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1299788413.4801.20.camel@bordalnx>
2011-03-10 20:55 ` [Bridge] [Bonding-devel] bridge + bonding with arp monitoring enabled Nicolas de Pesloüan
2011-03-10 23:39   ` Leonardo Borda
2011-03-11 18:22     ` Nicolas de Pesloüan
2011-03-11 21:35       ` Leonardo Borda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.