From: J S <webnews@comcast.net>
To: linux-newbie <linux-newbie@vger.kernel.org>
Subject: Linux as a router and/or bridge
Date: Thu, 29 May 2003 23:08:32 -0400 [thread overview]
Message-ID: <1054264112.4715.4.camel@jayhawk> (raw)
Linux people,
I'm trying to understand how to set up a Linux system as a router. For
example, assume I have an interface with IP address 192.168.0.1(eth0)
and another with IP address 192.168.1.1(eth1). What do I need to do to
allow traffic received on one interface to be automatically forwarded
out of the other interface? To extend the example, assume eth0 receives
a packet from 192.168.0.25 that is destined for 192.168.2.40. What is
the minimal set of steps I need to perform in order to get my kernel to
send that packet on its way?
Second question, what exactly is network bridging and how might I use it
instead of setting up a Linux system as a router?
Josh
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next reply other threads:[~2003-05-30 3:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-30 3:08 J S [this message]
2003-05-30 3:28 ` Linux as a router and/or bridge Ray Olszewski
2003-05-30 10:21 ` John T. Williams
2003-05-30 17:48 ` Stephen Samuel
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=1054264112.4715.4.camel@jayhawk \
--to=webnews@comcast.net \
--cc=linux-newbie@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox