public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Patik <nicolas.patik@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: how to route
Date: Fri, 24 Dec 2004 00:59:49 -0300	[thread overview]
Message-ID: <7539d99f041223195924d905d3@mail.gmail.com> (raw)

I have 2 linux boxes connected to a switch:

box1: 
eth0 192.168.0.200/255.255.255.0
eth1 public address from ISP dhcp

box2: 
eth0 192.168.0.35/255.255.255.0

box3:
eth0 192.168.1.3/255.255.255.0

I want box1 to act as a gateway to the internet 
(it is doing this now for box2), 
but also want to communicate from box2 to box3 through box1, 
and that box3 can use the internet through box1.

how can I do this?


TIA,

--Nicolas
-
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

             reply	other threads:[~2004-12-24  3:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24  3:59 Nicolas Patik [this message]
2004-12-24  8:02 ` how to route Greg Olszewski
  -- strict thread matches above, loose matches on Subject: below --
2004-12-24  4:43 Rajat  Jain, Noida

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=7539d99f041223195924d905d3@mail.gmail.com \
    --to=nicolas.patik@gmail.com \
    --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