From: "Nikolay A. Fetisov" <naf@naf.net.ru> To: community@lists.altlinux.org Subject: Re: [Comm] IPv6 туннели и прочее. Date: Thu, 08 Sep 2011 12:03:30 +0400 Message-ID: <1315469011.187322.74.camel@v3405.naf.net.ru> (raw) In-Reply-To: <1315399369.2185.5.camel@b4515s> В Срд, 07/09/2011 в 16:42 +0400, Владимир пишет: > для создания туннеля 6to4 нужен пакет miredo Нет, не нужен. Это разные вещи. miredo есть в Sisyphus, планирую в ближайшую неделю довести до t6, если нужно что-либо более раннее - говорите. > и как настройку http://6to4.ru/howto/debian/ под альт подогнать? Для etcnet: Требуется: - ядро с поддержкой IPv6 (CONFIG_IPV6 в /boot/config-* ; наличие модуля ipv6); - ядро с поддержкой tun (CONFIG_TUN в /boot/config-* ; наличие модуля tun); - доступность узла 192.88.99.1 - через него маршрутизируется трафик в сети IPv6. Далее в /etc/net/ifaces создаётся каталог с названием, например, tun6to4. В нём создаются файлы: iplink : ----8<----- mtu 1472 ----8<----- ipv6address : ----8<----- # first six octets: ipv6calc --ipv4_to_6to4addr $TUNLOCAL 2002:c000:201::1/16 ----8<----- ipv6route : ----8<----- 2000::/3 via ::192.88.99.1 dev tun6to4 metric 1 ----8<----- options : ----8<----- TYPE=iptun TUNTYPE=sit TUNLOCAL=192.0.2.1 TUNREMOTE=any TUNOPTIONS="ttl 64" DONT_FLUSH=yes CONFIG_IPV6=yes ----8<----- Адрес TUNLOCAL в options - имеющийся внешний IPv4, в ipv6address адрес IPv6 выбирается исходя из него же. В настройках iptables должно быть разрешение на приём пакетов протокола ipv6 на внешний адрес IPv4. Далее поднимается интерфейс tun6to4, ну и проверяется доступность чего-либо в IPv6. -- С уважением, Николай Фетисов
next prev parent reply other threads:[~2011-09-08 8:03 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-07 12:42 Владимир 2011-09-07 18:58 ` Илья Кучмин 2011-09-08 8:03 ` Nikolay A. Fetisov [this message] 2011-09-08 8:41 ` Владимир 2011-09-08 8:55 ` Nikolay A. Fetisov 2011-09-08 10:16 ` Владимир 2011-09-08 11:18 ` Nikolay A. Fetisov
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=1315469011.187322.74.camel@v3405.naf.net.ru \ --to=naf@naf.net.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