Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: Advanced Routing


  • Subject: Re: lug-bg: Advanced Routing
  • From: Doncho Gunchev <mr700@xxxxxxxxxxxx>
  • Date: Fri, 3 Oct 2003 11:15:43 +0300
  • Organization: GlobalNet

On 2003 Oct 02 Thursday 23:08, rossenantonov@xxxxxxx wrote:
>   Zdraveite,
>
>   Imam edna mashina s tri mrejovi karti. eth0 e kym edin dostavchik, eth1 e
> kym drug, a eth2 mi e kym vytreshnata mreja. Iskam da napravia taka, che
> 4ast ot clientite ot vytreshnata mreja da polzvat interneta na eth0, a
> ostanalata chast da minavat prez eth1.
>   Mojete li da mi dadete niakakvi nasoki. Chetoh LARTC-HOWTO i tam vidiah
> tazi za vyzmojnost, no informaciata e malko.
>
>   Blagodaria!
polzwash policy routing:
ex:
| root# ip rule list:
| 0:      from all lookup local
| 0:      from all lookup main
| 0:      from all lookup 253
normalniq nabor rules
| root# ip rule add from 10.0.0.0/8 lookup 10
| root# ip rule list
| 0:      from all lookup local
| 0:      from 10.0.0.0/24 lookup 10
| 0:      from all lookup main
| 0:      from all lookup 253
weche imash prawilo za paketi ot mreja 10 -> table 10
| root# ip route add default via 192.168.0.1 table 10
| root# ip route list table 10
| default via 192.168.200.51 dev eth0
i imash now default gw za mreja 10 - prez 192.168.0.1
wsichki ostanali si rabotqt kakto e "normalno" t.e. prez
standartniq gw kakto e kazano w tablica "main".
(ip route list === ip route list table main)
nadqwam se towa da hwyrlq malko swetlina :)
ostanaloto - LARTC :)

-- 
Regards,
  Doncho N. Gunchev

============================================================================
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
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.