All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chris K Ellsworth" <cke@highlandshighspeed.net>
To: lartc@vger.kernel.org
Subject: [LARTC] Snat Mac address changing
Date: Sat, 05 Apr 2003 18:06:46 +0000	[thread overview]
Message-ID: <marc-lartc-104956606216698@msgid-missing> (raw)

ok i have a program called arpwatch on the network, monitors arp/ipmatching,
it sees that the public side of  the Snat box has its mac address switch
between the public and private interface.
here i tried to provide most the information that i can think of.

iptables v1.2.7a:
____________________
Linux ns.highlandshighspeed.net 2.4.19-gentoo-r10 #5 Sun Mar 9 16:53:57 PST
2003
 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz GenuineIntel GNU/Linux
_____________________________
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 198.31.174.56
__________________________
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
SNAT       all  --  anywhere             anywhere           to:198.31.174.56

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
__________________________
eth0      Link encap:Ethernet  HWaddr 00:04:75:A0:DE:59
          inet addr:a.b.c.d  Bcast:198.31.174.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18320637 errors:0 dropped:0 overruns:1 frame:0
          TX packets:18395481 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3151929956 (3005.9 Mb)  TX bytes:4285940372 (4087.3 Mb)
          Interrupt:11 Base address:0xe400

eth1      Link encap:Ethernet  HWaddr 00:04:75:A0:DD:F9
          inet addr:A.B.C.D  Bcast:192.168.33.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20321245 errors:0 dropped:0 overruns:5 frame:0
          TX packets:18611116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:768762048 (733.1 Mb)  TX bytes:3808977459 (3632.5 Mb)
          Interrupt:10 Base address:0xe800

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-04-05 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05 18:06 Chris K Ellsworth [this message]
2003-04-05 18:36 ` [LARTC] Snat Mac address changing Martin A. Brown
2003-04-05 21:39 ` Chris K Ellsworth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104956606216698@msgid-missing \
    --to=cke@highlandshighspeed.net \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.