ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N.Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Setup TUNEL
Date: Thu, 29 Nov 2007 09:54:21 +0200
Message-ID: <op.t2jmwvd4mb8vzs@oc.peooc.net> (raw)
In-Reply-To: <474E46DE.6070408@nevod.ru>

On Thu, 29 Nov 2007 06:58:06 +0200, Kostarev Alexey wrote:

Премного благодарен.

> Aleksander N.Gorohovski wrote:
>
>> Доброго времени суток сообщество!
>>
>> Подскажите как разрешить такую ситуацию.
>> Раньше (под 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
>> #-----------------------

Получается, что эта настройка rc.local остаётся в силе
...?

>> 3.
>> В /etc/sysconfig/network-scripts/
>> три фала:
>>
>> ifcfg-iptun0
>> ifdown-iptun
>> ifup-iptun
>>
> Дело в том, что в 4.0 конфигурация сети через /etc/sysconfig/net...
> заменена на пакет etcnet, вся конфигурация лежит в /etc/net/ifaces/
>
> Пример конфигурации tun0 смотреть в /usr/share/doc/etcnet-.../examples/

Премного благодарен.
Посмотрел.
Если я правильно понял, необходимо скопировать из
/usr/share/doc/etcnet-0.9.2/examples/Complex-without-QoS/ifaces/tun0/

файлы
ipv4route
options

в
/etc/net/ifaces/tun0

?


  reply	other threads:[~2007-11-29  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 14:11 Aleksander N.Gorohovski
2007-11-29  4:58 ` Kostarev Alexey
2007-11-29  7:54   ` Aleksander N.Gorohovski [this message]
2007-11-29  8:41     ` Kostarev Alexey

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.t2jmwvd4mb8vzs@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