Bad mac address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

I just added this to my FW

$IPT -t nat -A PREROUTING -i eth0 -p tcp -s 1.2.3.4 -m mac --mac-source 00:00:21:41:59:e6:00:13:80:9d:38:82:08:00
--dport 3389 -j DNAT --to 192.168.111.124:3389
$IPT -t filter -A FORWARD -i eth0 -p tcp -s 1.2.3.4 -m mac --mac-source 00:00:21:41:59:e6:00:13:80:9d:38:82:08:00
--dport 3389 -d 192.168.111.124 -j ACCEP

And I keep getting this message

iptables v1.3.3: Bad mac address `00:00:21:41:59:e6:00:13:80:9d:38:82:08:00'

I did a check on the message logs, and I see this in the line for MAC address, the and line matches

[INPUT  ]: IN=eth0 OUT= MAC=00:00:21:41:59:e6:00:13:80:9d:38:82:08:00

If someone would be so kind as to help me understand this, I would be most grateful.
Is it possible to get the mac address for a mac on the internet, line above I thought I could use this.

Kind Regards
Brent Clark



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux