ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N. Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community" <community@lists.altlinux.org>
Subject: [Comm] tunel
Date: Fri, 30 Nov 2007 15:43:50 +0200
Message-ID: <op.t2k46ltuhz2pp6@oc.peooc.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Доброго времени суток сообщество!

Подскажите как разрешить такую ситуацию.
Раньше (под Master2.2/4) у меня был настроен "тунель"
следующим образом:
1.
В файле /etc/iproute2/rt_tables
добавлена строчка
1  iptun0

2.
В /etc/rc.d лежал файл rc.local
#-----------------------
#!/bin/sh

/sbin/ip ro add default via 194.44.183.183 table iptun0
/sbin/ip ru add from 194.44.183.182 table iptun0
#-----------------------

3.
В /etc/sysconfig/network-scripts/
три фала:

ifcfg-iptun0
ifdown-iptun
ifup-iptun

(приложены в атаче)

И всё работало.
А теперь в ALT 4.0 нет.
Предполагаю, что сетевые интерфейсы сейчас стартуют как-то иначе.

Вопрос:
куда теперь (в ALT 4.0 версии) надо их положить чтобы заработал тунель?

Спасибо.

[-- Attachment #2: ifcfg-iptun0.exmp --]
[-- Type: application/octet-stream, Size: 131 bytes --]

[-- Attachment #3: ifdown-iptun.exmp --]
[-- Type: application/octet-stream, Size: 622 bytes --]

[-- Attachment #4: ifup-iptun.exmp --]
[-- Type: application/octet-stream, Size: 1296 bytes --]

             reply	other threads:[~2007-11-30 13:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 13:43 Aleksander N. Gorohovski [this message]
2007-11-30 12:22 ` Глодин С.В.

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=op.t2k46ltuhz2pp6@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@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 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