bridge + bonding with arp monitoring enabled
Quoted 1 line · Leonardo Borda
Hello Guys,
Hi Leonardo,
Quoted 10 lines
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?
Quoted 50 lines
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 loopbackauto bond0
iface bond0 inet staticaddress 10.153.107.110 netmask 255.255.255.0 gateway 10.153.107.1bond-slaves none
bond-mode active-backupbond_arp_ip_target10.153.107.1bond_arp_interval500auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1auto br0
iface br0 inet manual
bridge_portsbond0
bridge_stpoff
bridge_fd9
bridge_hello2
bridge_maxage12
bridge_maxwait0Leonardo
------------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/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-backupbond_arp_ip_target 10.153.107.1bond_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.1bridge_ports bond0bridge_stp offbridge_fd 9bridge_hello 2bridge_maxage 12bridge_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
Quoted 74 lines · Nicolas de Pesloüan
Quoted 1 line · Leonardo Borda
Hello Guys,
Hi Leonardo,
Quoted 10 lines
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?
Quoted 40 lines
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 loopbackauto bond0
iface bond0 inet staticaddress 10.153.107.110 netmask 255.255.255.0 gateway 10.153.107.1bond-slaves none
bond-mode active-backupbond_arp_ip_target10.153.107.1bond_arp_interval500auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0 eth1auto eth1
iface eth1 inet manual
bond-master bond0
bond-primary eth0 eth1auto br0
iface br0 inet manual
bridge_portsbond0
bridge_stpoff
bridge_fd9
bridge_hello2
bridge_maxage12
bridge_maxwait0Leonardo
Quoted 10 lines
------------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bonding-devel_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge
Signature · 3 lines
Leonardo Borda Server Support Analyst Canonical Canada
Quoted 6 lines · Leonardo Borda
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.
Hi Nicolas,
Very appreciated!!
Thank you
Signature · 3 lines
Leonardo Borda Server Support Analyst Canonical Canada
Quoted 13 lines · Nicolas de Pesloüan
Quoted 6 lines · Leonardo Borda
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_targetsreachable through bond0.100 only.Nicolas.