Re: lug-bg: 2 leased lines
- Subject: Re: lug-bg: 2 leased lines
- From: bombe@xxxxxxxxxxxx (Vesselin Kotarov)
- Date: Tue, 9 Jan 2001 12:24:56 +0100
RE: lug-bg: 2 leased linesHi,
Wariant No.2:
s ipchains add-wash chain-owe za wsichki bylgarski mrevi s nqkakyw fwmark (ili tos ili kakto i da se naricha towa neshto .. tam terminologiqta e dosta omotana), sled koeto s iproute2 zadawash rule-owe za paketi s tozi fwmark i default rule. po tozi nachin paketite s fwmark-a se route-wat prez 1-wiq server, a wsichki ostanali - prez 2-riq. Neshtoto koeto pechelish w tozi sluchaj, e che ne add-wash routingi za wsqko BG isp, a prosto chain-owe.
hope this helps.
bombe.
----- Original Message -----
From: Boyan Krosnov
To: lug-bg@xxxxxxxxxxxxxxxxxx
Sent: Tuesday, January 09, 2001 9:07 AM
Subject: RE: lug-bg: 2 leased lines
Hi,
Pyrwo malka terminologichna zabelejka. Ne se kazwa "zaqwka" a "paket" (packet na anglijski). I serverite ne obslujwat zaqwki a rutirat paketi.
Mojesh da dobawish N route-a w tablicata na server 1 za bylgarskite adresi i edin route za ostatyka ot interneta (0.0.0.0/0 ili oshte default route).
Trqbwa da si nabawish spisyk sys bylgarskite mreji(http://www.nat.bg/look/AS/networks.html :) ). Da napishesh skript kojto da parse-wa spisyka da ti prawi skript sys route komandi, da testwash kak raboti i da go slojish nqkyde wyw initskriptowete ti sled normalnoto konfigurirane na interfacite i routowete na mashinata.
Ako oshte imash nqkakwi wyprosi, samo pitaj :)
regards,
--
Boyan Krosnov (http://www.nat.bg/~bkrosnov)
Network Administrator
Lirex BG Ltd.
> -----Original Message-----
> From: Marian Popov [mailto:mano@xxxxxxxxxx]
> Sent: Tuesday, January 09, 2001 8:35 AM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: lug-bg: 2 leased lines
>
>
> Hello lug-bg.
>
> Eto moiat vapros kym vsichki.
> Predstavete si edna mreja ot 20 pc-ta imashti real IP-ta i polzvashtii
> default gateway Linux server kym koito e zakachena naeta
> linia kym daden
> ISP (narichan za kratko "1").
> V tazi mreja obache ima oshte edin server, zakachen s naeta linia
> kym drug ISP (t.e. "2")
> Vaprosa mi e sledniat:
>
> Kak moje da se konfigurira server 1 ta kato poluchava zaiavki
> kym dadeni
> IP adresi da gi preprashta na server 2 kato zaiavkite
> triabva da minavat
> po localneta.
>
> T.e. ako doide zaiavka za 193.200.15.129 tia tia da se
> obsluji vednaga ot
> server 2 a ne ot server 1. No ako doide zaiavka za
> 64.58.76.177 tia da se
> obsluji ot server 1.
>
> V sluchaia pyrvia adres e na www.bol.bg a vtoria na www.yahoo.com
> Kakto veche se doseshtate celta mi e po ednata linia da
> minavat zaiavkite
> za bulgarian sites a po drugata zaiavkite za vsichki ostanali.
>
> Ako niakoi ot vas e pravil neshto podono neka mi kaje kak
> stava i ima li
> niakyde documentacia po toia vapros.
>
> Blagodaria vi predvaritelno.
>
> =====================================
> == plomba.net System Administrator ==
> =====================================
>
>
> ==================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx
> UNSUBSCRIBE LUG-BG
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd.
> - Stara Zagora
>
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|