ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: max <max@zlt.ru>
To: community@altlinux.ru
Subject: Re: [Comm] iproute2 и NAT
Date: Sun, 12 Dec 2004 18:42:22 +0500
Message-ID: <41BC4ABE.9090903@zlt.ru> (raw)
In-Reply-To: <1149676690.20041212143610@inbox.ru>

Michael Varamashvili пишет:
> Hу здpаcте Community,
> 
>  Есть довольно стандартная ситуация: быстрый но дорогой LAN и медленный но
>  дешевый диалап. Хочется по запуску скрипта переключать одну или несколько машин
>  с LAN на диалап и наоборот.
> 
>  Сеть сделанна так:
> 
>  машины_за_натом (10.33.20.0/24)-->роутер (real ip)-->пров.
> 
>  Для этого решил попробовать iproute2. Делал так:
> 
>  echo 100 user >> /etc/iproute2/rt_tables
>  ip rule add from 10.33.20.10 table user
> 
>  и после подключения по мопеду
> 
>  ip route add default via 81.20.96.104 dev ppp0 table гser
> 
>  проблемма в том, что роутинг работает как-то криво (через раз), и с
>  маскарадингом проблеммы... Где грабли?


-- 
С наилучшими пожеланиями, Баукин Максим max@zlt.ru


  reply	other threads:[~2004-12-12 13:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-12 11:36 Michael Varamashvili
2004-12-12 13:42 ` max [this message]
2004-12-12 13:48 ` max
2004-12-14 10:51   ` Re[2]: " Michael Varamashvili
2004-12-15  5:41     ` max
2004-12-12 14:43 ` [Comm] " Michael Shigorin
2004-12-12 15:11   ` Michael Varamashvili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41BC4ABE.9090903@zlt.ru \
    --to=max@zlt.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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