All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kajetan Staszkiewicz <kajtek@biezanow.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Multiple ISP Provider on one interface
Date: Sat, 23 Jul 2005 19:08:55 +0000	[thread overview]
Message-ID: <200507232108.56641.kajtek@biezanow.net> (raw)
In-Reply-To: <42E2597F.1020808@hotmail.com>

Dnia sobota, 23 lipca 2005 16:51, ZeuS SN napisa³(a): 
> The problem is that I have only 2 ethernet adapters in my linux router,
> one of this adapter pluged to the LAN and the other is pluged to a HUB
> who have 2 routers DSL. Each DSL routers have an static ip and the
> solution that I found was creating an eth0 and eth0:1 but with this
> option I have any way to use the eth0:1 adapte...
>
> Any one knows a solution for this ?

Multipatch routing probably won't work this way - at least I was unable to set 
up SNAT because booth gateways are on the same interface. However masquerade 
was working correctly, as it is choosing ip address to SNAT (AFAIK) after 
routing.

Another solution is to get a switch with 802.1q VLANs, and "divide" single 
network interface into many fully functional interfaces (fully functional 
means for me that you can use their names in iptables -o to choose proper 
SNAT address).

-- 
|      pozdrawiam      | powered by Slackware, Gentoo and FreeBSD |
| Kajetan Staszkiewicz | JID: vegeta@chrome.pl                    |
|        Vegeta        | http://kajtek.biezanow.net               |
+----------------------+------------------------------------------+
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2005-07-23 19:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-23 14:51 [LARTC] Multiple ISP Provider on one interface ZeuS SN
2005-07-23 15:57 ` Peter Surda
2005-07-23 17:09 ` ZeuS SN
2005-07-23 19:08 ` Kajetan Staszkiewicz [this message]

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=200507232108.56641.kajtek@biezanow.net \
    --to=kajtek@biezanow.net \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.