thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Thu Aug 04, 2005 11:21 am Post subject: System: arp: [ip] is on [if 0] but got reply from [mac] on [ |
|
|
There are four solutions to this problem: ignore the error, strip the error message from
the source, rewire or set the kernel state. The first option realy isn't a good one for
the above reason. I've read somewhere that this error reporting is just 4 lines of code
in some c file (forgot which one) and you can remove those lines without problems from
the source. I'm not so fond of this sollution. If you connect one NIC with subnet A to a
switch with only subnet A attached to it and the other NIC with subnet B to a switch with
only subnet B attached to it your problem will be solved. So now I have mentioned all the
solutions of which you imediatly had to sigh and here is IMHO the propper one:
There is a kernel state for this:
root@host:/#sysctl -a | grep -i arp
net.link.ether.inet.log_arp_wrong_iface: 1
You can change this one for as long as your machine runs (when you reboot your change
will be lost) with the following command:
root@host:/#sysctl -w net.link.ether.inet.log_arp_wrong_iface=0
Just test your machine for a while and if this solves the problem then you can set this
options permanently: Create the file '/etc/sysctl.conf' if it doesn't exists (it isn't
there by default) and put the following line in it:
net.link.ether.inet.log_arp_wrong_iface=0
Reboot to check if it works (not necesary but a good test) |
|