Linux Netfilter discussions
 help / color / mirror / Atom feed
* Quick Routing question
@ 2003-03-04 20:10 David Ruggles
  2003-03-04 20:47 ` Maciej Soltysiak
  2003-03-05  0:07 ` Arnt Karlsen
  0 siblings, 2 replies; 8+ messages in thread
From: David Ruggles @ 2003-03-04 20:10 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-03-05 21:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04 20:10 Quick Routing question David Ruggles
2003-03-04 20:47 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox