Re: My first steps as a developer
Grzegorz Borowiak <[email protected]>
| Newsgroups | gmane.linux.network.bridge.ebtables.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 7 Sep 2003, Grzegorz Borowiak wrote: > For example: > > ebtables -t nat -A POSTROUTING -j isnat --isnat-sub 213.192.68. \ > --isnat-list 12=00:00:53:19:ad:2c,17=00:e0:7d:21:23:d3,42=00:50:bf:43:3f:12,13=!,14=!,15=! > > does the same as: Not the same, though, since the former changes the ARP payload and the latter doesn't. > ebtables -t nat -A POSTROUTING -p IPV4 --ip-src 213.192.68.12 -j snat --to-source 00:00:53:19:ad:2c > ebtables -t nat -A POSTROUTING -p ARP --arp-ip-src 213.192.68.12 -j snat --to-source 00:00:53:19:ad:2c > ebtables -t nat -A POSTROUTING -p IPV4 --ip-src 213.192.68.17 -j snat --to-source 00:e0:7d:21:23:d3 [...] -- Grzesław ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf