chusiang / mysql-master-master

Automatically exported from code.google.com/p/mysql-master-master
GNU General Public License v2.0
1 stars 1 forks source link

ARP packets during switch #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think it might be a good idea to use arping instead send_arp or to add it
as an option. As far as arping is a part of base system for most
distributions it might be better to use it (especially if there is no way
to compile send_arp).

ifconfig.pm:

    }
>    `$SELF_DIR/bin/sys/send_arp -i 100 -r 5 -p /tmp/send_arp $if $ip auto
$if_bcast $if_mask`;
<        `/sbin/arping -A -c 1 -I $if $ip`;

Original issue reported on code.google.com by Piotr.B...@gmail.com on 22 Sep 2008 at 12:14

GoogleCodeExporter commented 9 years ago
There are two different versions of arping with incompatible options. arping 
also
doesn't always reside in /sbin/

For example under debian etch or ubuntu 8.04:
- Package "arping", binary "/usr/sbin/arping"
Usage: arping [-abhpqrRd0uv] [-S host/ip] [-T host/ip] [-s MAC] [-t MAC] [-c 
count]
[-i interface] [ -w us ] <host | -B>

- Package "iputils-arping", binary "/usr/bin/arping"
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] 
destination

Original comment by m...@pascalhofmann.de on 7 Oct 2008 at 7:26

GoogleCodeExporter commented 9 years ago
Integrated the usage of arping on linux in r121.

Original comment by m...@pascalhofmann.de on 28 Oct 2008 at 3:16