* [Comm] ip route
@ 2003-12-05 10:39 Shawkat Nizamov
2003-12-05 11:16 ` Dmitry Nechaev
2003-12-05 15:15 ` Aleksey Avdeev
0 siblings, 2 replies; 3+ messages in thread
From: Shawkat Nizamov @ 2003-12-05 10:39 UTC (permalink / raw)
To: community
Как можно настроить роутинг так, чтобы пакеты между двумя хостами шли не
по тому пути, который указывают маршрутизаторы между ними (они идут
"длиным" путем), а по более короткому пути, указанному мною ?
Поиск показал что это можно сделать при помощи ip route.
Я так понял что нужно прописать такую команду
ip route add *.*.*.*(host_ip) nexthop via *.*.*.* (по пунктам) nexthop
via *.*.*.* nexthop via *.*.*.* .....
Но не получается.
Кто нибудь может предложить рабочий пример или хотя бы указать на
детальную документацию
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] ip route
2003-12-05 10:39 [Comm] ip route Shawkat Nizamov
@ 2003-12-05 11:16 ` Dmitry Nechaev
2003-12-05 15:15 ` Aleksey Avdeev
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Nechaev @ 2003-12-05 11:16 UTC (permalink / raw)
To: community
В сообщении от Пятница 05 Декабрь 2003 13:39 Shawkat Nizamov написал(a):
> Как можно настроить роутинг так, чтобы пакеты между двумя хостами шли не
> по тому пути, который указывают маршрутизаторы между ними (они идут
> "длиным" путем), а по более короткому пути, указанному мною ?
>
> Поиск показал что это можно сделать при помощи ip route.
> Я так понял что нужно прописать такую команду
>
> ip route add *.*.*.*(host_ip) nexthop via *.*.*.* (по пунктам) nexthop
> via *.*.*.* nexthop via *.*.*.* .....
nexthop - это не много не то. nexthop используется в случаях, когда необходимо
раскидать трафик по нескольким каналам.
--
2.4.20-alt5-up GNU/Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] ip route
2003-12-05 10:39 [Comm] ip route Shawkat Nizamov
2003-12-05 11:16 ` Dmitry Nechaev
@ 2003-12-05 15:15 ` Aleksey Avdeev
1 sibling, 0 replies; 3+ messages in thread
From: Aleksey Avdeev @ 2003-12-05 15:15 UTC (permalink / raw)
To: community
Shawkat Nizamov пишет:
> Как можно настроить роутинг так, чтобы пакеты между двумя хостами шли не
> по тому пути, который указывают маршрутизаторы между ними (они идут
> "длиным" путем), а по более короткому пути, указанному мною ?
>
> Поиск показал что это можно сделать при помощи ip route.
> Я так понял что нужно прописать такую команду
>
> ip route add *.*.*.*(host_ip) nexthop via *.*.*.* (по пунктам) nexthop
> via *.*.*.* nexthop via *.*.*.* .....
>
> Но не получается.
Это не "маршрутизация от источника" случаем? Она возможна
_только_ в случаи поддержки промежуточными маршрутизаторами, что
мало вероятно: Все, встреченные мной, рекомендации советуют
отключать данный способ маршрутизации. (Как облегчающий перехват
трафика и подмену хоста, по моему.)
>
> Кто нибудь может предложить рабочий пример или хотя бы указать на
> детальную документацию
--
С уважением. Алексей.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-05 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-05 10:39 [Comm] ip route Shawkat Nizamov
2003-12-05 11:16 ` Dmitry Nechaev
2003-12-05 15:15 ` Aleksey Avdeev
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git