2 ISP Aktif Bersamaan = Split Access.

www.lartc.org/lartc.txt

- - - - - - - - - -
4.2.1. Split access

The first is how to route answers to packets coming in over a particular
provider, say Provider 1, back out again over that same provider.

Let us first set some symbolical names. Let $IF1 be the name of the first
interface (if1 in the picture above) and $IF2 the name of the second
interface. Then let $IP1 be the IP address associated with $IF1 and $IP2 the
IP address associated with $IF2. Next, let $P1 be the IP address of the
gateway at Provider 1, and $P2 the IP address of the gateway at provider 2.
Finally, let $P1_NET be the IP network $P1 is in, and $P2_NET the IP network
$P2 is in.

One creates two additional routing tables, say T1 and T2. These are added in
/etc/iproute2/rt_tables. Then you set up routing in these tables as follows:

          ip route add $P1_NET dev $IF1 src $IP1 table T1
          ip route add default via $P1 table T1
          ip route add $P2_NET dev $IF2 src $IP2 table T2
          ip route add default via $P2 table T2
- - - - - - - - - -

- Rio.Martin -



On 12 October 2004 am 01:49, Anders wrote:
> btw, kalau diagram nya spt itu,
> bisakah 2 isp tsb aktif pd saat bersamaan?
> jadi misalnya bbrp workstation pakai ispA & yg lainnya pakai ispB?
> -a-
>
> On Mon, 11 Oct 2004, Stefanus Eddy wrote:
> > sekedar masukan saja, coba anda gunakan shorewall
> > http://www.shorewall.net
> >
> > salam,
> >
> > eddy
> >
> > -----Original Message-----
> > From: muhammad ridho <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Date: Mon, 11 Oct 2004 08:32:32 +0100 (BST)
> > Subject: Re: [tanya-jawab] dua isp dalam satu pc router
> >
> > adsl ---> eth0 ---> |---------|
> >
> >                    |Linux Box|----->eth1-->LAN
> >
> > cable ----> eth2 -->|---------|

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis.php
Tidak bisa posting? Baca:
http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi
http://linux.or.id/wiki/index.php?pagename=TataTertibMilis

Kirim email ke