From: "David Ruggles" <david@safedatausa.com>
To: netfilter@lists.netfilter.org
Subject: Quick Routing question
Date: Tue, 4 Mar 2003 15:10:43 -0500 [thread overview]
Message-ID: <016701c2e28a$239fbab0$1f0016ac@daviddesktop> (raw)
I'm trying to learn netfilter so I've got a very simple setup.
I've got a Linux box with three interfaces. (I'm not using eth0 currently)
I've got two networks (eth2: 172.22.0.0 & eth1: 10.0.0.0)
I entered the following on the Linux box:
iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 10.9.0.254 (eth1's IP
address)
I've got a machine on each network: machine A is on 172.22.0.0 and machine B
is on 10.0.0.0
I'm trying to ping from A to B.
I can ping all the interfaces on the router but I can't ping B
I would expect to see the POSTROUTING chain counter increment for each ping
packet, but it doesn't. (It will increment if I ping from the Linux box to
B)
Any suggestions?
Thanks,
David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer, Safe Data, Inc
910-285-7200 david@safedatausa.com
0100011101101111011001000110110001101111011101100110010101110011011110010110
111101110101
next reply other threads:[~2003-03-04 20:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 20:10 David Ruggles [this message]
2003-03-04 20:47 ` Quick Routing question Maciej Soltysiak
2003-03-05 0:07 ` Arnt Karlsen
2003-03-05 14:30 ` David Ruggles
2003-03-05 16:37 ` Arnt Karlsen
2003-03-05 18:14 ` David Ruggles
2003-03-05 21:02 ` David Ruggles
2003-03-05 21:36 ` A netfilter question David Ruggles
-- strict thread matches above, loose matches on Subject: below --
2003-03-04 21:19 Quick Routing Question ImpulseFG
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='016701c2e28a$239fbab0$1f0016ac@daviddesktop' \
--to=david@safedatausa.com \
--cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox