Description of problem: Hardware address length, i.e. --arhln parameter cannot be set. it always get a arptables v0.0.8: no hln defined error message. Version-Release number of selected component (if applicable): [root@localhost ~]# arptables -V arptables v0.0.8 How reproducible: always Steps to Reproduce: [root@localhost ~]# arptables -A OUT --arhln=06 --target-hw EA:5F:72:69:25:94 -j mangle --mangle-hw-s 52:54:00:12:34:57 arptables v0.0.8: no hln defined Try `arptables -h' or 'arptables --help' for more information. [root@localhost ~]# arptables -A OUT --arhln=06/FF --target-hw EA:5F:72:69:25:94 -j mangle --mangle-hw-s 52:54:00:12:34:57 arptables v0.0.8: no hln defined Try `arptables -h' or 'arptables --help' for more information. Actual results: Expected results: arptables command should succeed. Additional info:
Do replace --arhln=06 with --arhln 06 and it should work. Please read man page carefully, try more cases.
Sorry, I tried that, just not mentioned in first comment: [root@localhost ~]# arptables -A OUT --arhln 06 --target-hw EA:5F:72:69:25:94 -j mangle --mangle-hw-s 52:54:00:12:34:57 arptables v0.0.8: no hln defined Try `arptables -h' or 'arptables --help' for more information. it does not work.
This is an issues using mangle-hw opitns.
Created attachment 519821 [details] The patch fixes this issue
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1481.html