Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Sadus ." <sadus@swiftbin.net>
To: netfilter@lists.netfilter.org
Subject: Internal PC/external Gateway
Date: Sat, 14 May 2005 11:59:36 +0300	[thread overview]
Message-ID: <1116061176.12835.20.camel@debianbox> (raw)

Hello,
So here's my current setup at home.
I control Provider 2. (which is not more than a simple box taking
internet from provider 1 and that internet sharing enabled, restricted
to the box' internal network and my IP which is on the external
interface).
I also control the Linux GW.

                                                                 
                                          +------------+        
                                          |            |       |
                                      ----+ Provider 1 +-------
        __                            |   |            |     /
  PC1__/  \_         +------+-------+ |   +------------+    |
  _/        \__      |              | |                    /
 /             \     |              | |                    |
| Local network -----+Linux GW  eth0|-                     |Internet
 \_           __/    |              | |                    |
   \__     __/       |              | |                    \
  PC2 \___/          +------+-------+ |   +------------+    |
                                      |   |            |     \
                                      ----+ Provider 2 +-------
                                          |            |       |
                                          +------------+        

In order to the connect to the internet, on my GW, i set the Provider
1's IP. and then PC1 and PC2 can access the internet after SNAT or
MASQUERADE on the GW. Since Provider 1 limits the speed on IPs, PC1 and
PC2 used to split and share the connection speed, so lets say Provider 1
gives me 40K, PC1 and PC2 have to share that speed.

What i want to do is let PC2 have as Gateway Provider 2, so that each PC
can have its own 40K.

What are the procedures to be taken?

Thanks,




             reply	other threads:[~2005-05-14  8:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-14  8:59 Sadus . [this message]
2005-05-14 15:36 ` Internal PC/external Gateway Jason Opperisano
2005-05-14 16:20   ` Sadus .
2005-05-14 16:41     ` Jason Opperisano
2005-05-14 17:01       ` Sadus .
2005-05-14 17:26         ` Jason Opperisano
2005-05-14 18:30           ` Sadus .
2005-05-14 19:00             ` Jason Opperisano
2005-05-14 23:52               ` Sadus .
2005-05-16 21:48                 ` Jason Opperisano
2005-05-17 12:55                   ` Sadus .

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=1116061176.12835.20.camel@debianbox \
    --to=sadus@swiftbin.net \
    --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