ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Olvin <olvin@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] etcnet, vpn и хитрый роутинг
Date: Thu, 27 Dec 2007 12:36:18 +0200
Message-ID: <47738022.9040109@rambler.ru> (raw)
In-Reply-To: <47721F7C.8080408@altlinux.ru>

Anton Gorlov пишет:
> Есть задача - автомтаом поднимать vpn, не ставя его дефолтгейтвеем и 
> заворачивать туда роутинг на кучку сетей.
> Дано - 2 переменных - адресс сервера (который присваивается ppp 
> соединению) и клиентский IP динамические.
> Нужно после поднятия линка добваить роутинг дял части сетей через этот 
> линк. еслиб IP сервера или клиента были статические - проблем бы не было.
> Как бы разрулить данную задачу, при условии, что линк поднимается 
> средствами etcnet.
> В net-scripts помнится такое решалось без проблем.. А вот как здесь 
> решить задачку...

А так:
10.1.5.0/24 via 0.0.0.0 dev ppp0




  parent reply	other threads:[~2007-12-27 10:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26  9:31 Anton Gorlov
2007-12-27  8:30 ` Alexander Volkov
2007-12-27  9:06   ` Anton Gorlov
2007-12-27 10:36 ` Olvin [this message]
2007-12-28  1:33   ` Andrew Kornilov

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=47738022.9040109@rambler.ru \
    --to=olvin@rambler.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git