Re: Re: lug-bg: Routing
- Subject: Re: Re: lug-bg: Routing
- From: todorin@email.domain.hidden (Todor Belev)
- Date: Fri, 23 May 2003 10:05:42 +0300 (EEST)
Mojesh da polzvash tova za default Gateway:
ip route add default scope global equalize nexthop via x.x.x.x dev eth1 weight 1 nexthop via x.x.x.x dev eth2 weight 2 ....
Obache tova ne ti reshava mnogo ot problemite - kato naprimer tezi koito stoiat zad eth3 predpolagam che se NAT-vat kym opredelno IP/Interfeis.
Osven tova ako providerite na eth0-2 sa razlichni te nai-veroiatno niama da dopusnat da routirash prez tiah adresi koito ne sa ot tiahnata sobstvena mreja.
T.e. kato syvet - az tova go polzvah zaedno s iptables kto imah dav ednoznachni reda v NAT tablicata, t.e. NAT-vah posledovatelno edna i syshta mreja kym dve razlichni IP-ta.
Za moe uchudvane raboteshe, t.e. paketite izlizaha tu prez edinia
tu prez drugia interfeis na baza weight koiato si izbral.
Obache predstavi si problemite s ICQ-tata, znachi klienta postoianno pravi konekcii ot razlichni IP-ta i postoianno razpada
zashtoto tu prashta prez edno tu prez drugo.
Todorin
<em class="quotelev1"> >-------- Îðèãèíàëíî ïèñìî --------
<em class="quotelev1"> >Îò: Anton Tinchev <atl_at_unixsol.org>
<em class="quotelev1"> >Îòíîñíî: Re: lug-bg: Routing
<em class="quotelev1"> >Äî: lug-bg_at_linux-bulgaria.org
<em class="quotelev1"> >Èçïðàòåíî íà: Ïåòúê, 2003, Ìàé 23 01:36:38 EEST
<em class="quotelev1"> >----------------------------------
<em class="quotelev1"> >
<em class="quotelev1"> >Peter Zyumbilev wrote:
<em class="quotelev2"> >> Zdraveite,
<em class="quotelev2"> >> Mashina:
<em class="quotelev2"> >> eth0,eth1,eth2 - vanshni(!) interfaci
<em class="quotelev2"> >> vatreshna mreja na eth3
<em class="quotelev2"> >> v momenat e naparveno chast ot klientite s opredelni ip-ta minavata
<em class="quotelev2"> >> eth1, chast prez eth2 it.n
<em class="quotelev2"> >> Vaprosa e che iskam kato se zapalni kapciteta na eth0 a eth1 ima
<em class="quotelev2"> >> svoboden kapacitet da prehvarli chast ot klientite natam.Ideiat e e da
<em class="quotelev2"> >> se polzva celia kapcite na 3-te linii ot vsichki
<em class="quotelev2"> >> Nesto kato load balancing....TRIABVA da iam tri razlichni fiizcheski
<em class="quotelev2"> >> interface-a navan...
<em class="quotelev2"> >> S koe softwate stava tova zastoto samo s iptables mai niama da stane....
<em class="quotelev2"> >> Mesri.
<em class="quotelev2"> >> Pozdravi,
<em class="quotelev2"> >> BIVOL
<em class="quotelev2"> >>
<em class="quotelev2"> >>
<em class="quotelev1"> >RTFM!!!
<em class="quotelev1"> >http://www.lartc.org/howto/
<em class="quotelev1"> >
<em class="quotelev1"> >============================================================================
<em class="quotelev1"> >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1"> >http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
<em class="quotelev1"> >To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1"> >============================================================================
<em class="quotelev1"> >
-----------------------------------------------------------------
http://sport.netinfo.bg - Ñïîðòíè íîâèíè è ñòàòèñòèêà
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|