how do I set the MAC address in POSTROUTING?

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

 



I want to use -m mac --mac-source on our server. Unfortunately, lots of packets are coming in without the MAC address set:

MAC-ADDRESS-TEST: IN=ppp0 OUT= MAC= SRC=ww.xx.yy.zz DST=zz.yy.xx.ww LEN=52 TOS=0x00 PREC=0x00 TTL=51 ID=41426 DF PROTO=TCP SPT=52437 DPT=445 WINDOW=63 RES=0x00 ACK URGP=0

This is from a linux client.

How do I set up the client to insert its MAC address? Can I use some mange voodoo on the client PSOTROUTING chain?

Is this even an iptables issue? Is the MAC address being stripped out somewhere?

sean



[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