Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Jee J.Z." <jz105@york.ac.uk>
To: netfilter@lists.netfilter.org
Subject: network setup help
Date: Sat, 10 Apr 2004 19:54:47 +0100	[thread overview]
Message-ID: <008301c41f2d$4be932e0$68892090@grouse> (raw)

Dear all,

I am trying to setup three PCs and do some simple filter+nat jobs. I'm a
green hand on netfilter and linux and seem to always get something wrong. I
apologize that my current problem has not reached the range of netfilter;
instead, it's about network configuration. But I believe people on this list
are very experienced on it. The situation is specified below:

1.PC1 has one NIC with a global IP connected to a Switch;
2.PC2 has two NICs, eth0 with a global IP connected to the Switch and eth1
with an internal IP (192.168.0.1/24) directly connected to PC3's eth1;
3.PC3 has two NICs, eth0 with a global IP connected to the Switch and eth1
with an internal IP (192.168.0.2/24) directly connected to PC2's eth1.

              Internet
                 |        +--------+----+
              +------+<-->+PC2/eth0|eth1+
+--------+    +      +    +--------+--+-+
+PC1/eth0+<-->+Switch+                |
+--------+    +      +    +--------+--+-+
              +------+<-->+PC3/eth0|eth1+
                          +--------+----+

I am trying to send packets from PC1 to PC3, via PC1/eth0(global
IP)-->PC2/eth0(global IP)-->PC2/eth1(192.168.0.1)-->PC3/eth1(192.168.0.2).
Actually, PC3/eth0 is not in used in the case.

Problems:
Currently I fail to ping from PC3 to PC2/eth1(192.168.0.1). Actually I don't
know which NIC PC3 is using to send the ping packets. I try disconnecting
PC3/eth0, but it still does not work. Could anyone throw some light on it
and warn me what I should pay attention to? Many many thanks!

Regards,
Jee



             reply	other threads:[~2004-04-10 18:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-10 18:54 Jee J.Z. [this message]
2004-04-10 22:50 ` network setup help Antony Stone
2004-04-10 23:33   ` Jee J.Z.
2004-04-10 23:59     ` Antony Stone
2004-04-11  2:00       ` Jee J.Z.
2004-04-11  2:52         ` Antony Stone
2004-04-11 16:01           ` Jee J.Z.

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='008301c41f2d$4be932e0$68892090@grouse' \
    --to=jz105@york.ac.uk \
    --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