From: Kostarev Alexey <kaf@nevod.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Setup TUNEL Date: Thu, 29 Nov 2007 13:41:28 +0500 Message-ID: <474E7B38.6020509@nevod.ru> (raw) In-Reply-To: <op.t2jmwvd4mb8vzs@oc.peooc.net> [-- Attachment #1: Type: text/plain, Size: 1620 bytes --] Aleksander N.Gorohovski wrote: >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 остаётся в силе >...? > > > Надо было бы ее заменить на tun0 но данные настройки должны делаться в файлах конфигурации /etc/net/ifaces/tun0/ >>>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 > >? >_______________________________________________ >community mailing list >community@lists.altlinux.org >https://lists.altlinux.org/mailman/listinfo/community > -- С Уважением Директор ООО НЕВОД Костарев А.Ф. [-- Attachment #2: kaf.vcf --] [-- Type: text/x-vcard, Size: 202 bytes --] begin:vcard fn:Alexey Kostarev n:Kostarev;Alexey org:Nevod Ltd. adr:;;;Perm;;;Russia email;internet:kaf@nevod.ru tel;work:(3422) 196-960 url:http://www.nevod.ru/nevod/staff/kaf/ version:2.1 end:vcard
prev parent reply other threads:[~2007-11-29 8:41 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 2007-11-29 8:41 ` Kostarev Alexey [this message]
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=474E7B38.6020509@nevod.ru \ --to=kaf@nevod.ru \ --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