[Ebtables-devel] Hi,ebt-arp-snat module
Brought to you by:
bdschuym
From: lin l. <lk...@gm...> - 2006-03-15 13:15:18
|
Hi,every one,I'm very glad to join the ebtables e-mail list. Here I have a question described as following: Ebtables apply a NAT moudle which can be used to modify the IP packets source mac address, but this feature need I must add the ebtables rules every time I want to do the mac-snat.I write a moule named ebt-arp-snat module,which will snat the IP packets source mac address,but the mac address will not be added in the ebtables rule,but in ARP cache,every time when the packet came into arp_snat target module,the module will find the source IP address's coresponding MAC address and replace the mac address to the source IP address's real MAC address. Is there any questions about this idear? Thx a lot for yours help.:) |