Gentoo Archives: gentoo-user-ru

From: "Alexey S. Malakhov" <brezerk@×××××.com>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] disable IPv6
Date: Fri, 26 Nov 2010 11:58:14
Message-Id: AANLkTikf5kcLj+-4V_5GVdh2TuzfXYr_d49R1fh-VJdJ@mail.gmail.com
In Reply to: Re: [gentoo-user-ru] disable IPv6 by "Семён Марьясин"
1 2010/11/26 óÅͣΠíÁÒØÑÓÉÎ <MarSoft@××.ru>:
2 >
3 >
4 > 26.11.2010, 14:07, "Alexey S. Malakhov" <brezerk@×××××.com>:
5 >> 2010/11/26 Nikita Kipriyanov <merlin@×××××.ru>;:
6 >>
7 >>> š24.11.2010 20:21, Alexey S. Malakhov ÐÉÛÅÔ:
8 >>>> š2010/11/24 Andrew A. Sabitov <sabitov@×××××××××.ru>;:
9 >>>>> šQuoting "Alexey S. Malakhov" <brezerk@×××××.com>;:
10 >>>>>> šóÏÂÒÁÔØ ×ÅÄÒÏ ÂÅÚ ipv6, Τ?
11 >>>>> šéÚ ÕÓÌÏ×ÉÑ ÚÁÄÁÞÉ:
12 >>>>> šeth0 ÄÏÌÖÅÎ ÂÙÔØ IPv4-only, eth1 -- IPv6-only.
13 >>>> šäÁ, ÎÅ ÚÁÍÅÔÉÌ, ÉÚ×ÉÎÑÀÓØ.
14 >>>>
15 >>>> šîÅ Õ×ÅÒÅÎ × 100% ÒÅÛÅÎÉÉ, ÎÏ ÄÕÍÁÀ ×ÁÍ ÐÏÍÏÇÕÔ ÈÕËÉ × /etc/conf.d/net
16 >>>> šÁÌÑ ifup_uÒ0
17 >>>> š× ÎÅÍ ×ÙÚÙ×ÁÊÔÅ sysctl ËÏÔÏÒÙÊ ÓÔÁ×ÉÔ net.ipv6.conf.eth0.disable_ipv6 × 1
18 >>>>
19 >>>> šëÏÓÔÙÌØ ËÏÓÔÙÌÅÍ ËÏÎÅÞÎÏ :)
20 >>> šÔÏÌØËÏ, ËÏÎÅÞÎÏ, ÎÅ ifup_up0, Á ÆÕÎËÃÉÑ postup()
21 >>> šÄÏËÕÍÅÎÔÉÒÏ×ÁÎÁ Ó ÐÒÉÍÅÒÏÍ × net.example
22 >>>
23 >>> š--
24 >>> šîÉËÉÔÁ ëÉÐÒÉÑÎÏ×, ïïï "ò-ôÅÒÍÉÎÁÌ"
25 >>>
26 >>> šôÅÌ.: š š š +7 (4732) 271657, 404243, 747120
27 >>> šE-mail: š š merlin@×××××.ru
28 >>> šJabber ID: šmerlin@×××××.ru
29 >>
30 >> úÁ×ÉÓÉÔ ÏÔ baselayout. ÷ v2 + openrc ÜÔÏ ÔÁËÉ ifup_<ÉÍÑ_ÉÎÔÅÒÆÅÊÓÁ>
31 >
32 > ôÏÞÎÏ?
33 >
34 > sys-apps/baselayout: 2.0.1-r1
35 > sys-apps/openrc: 0.6.5
36 > ÷ /usr/share/doc/openrc-0.6.5/net.example ÄÏËÕÍÅÎÔÉÒÏ×ÁÎÙ ÔÏÌØËÏ postup() É ÐÏÄÏÂÎÙÅ, Á ÐÒÏ ifup_ÉÍÑ ÎÉ ÓÌÏ×Á.
37 >
38 > --
39 > Best Regards, MarSoft (óÅͣΠíÁÒØÑÓÉÎ) / xmpp:marsoft@××××××.ru
40 >
41 >
42
43 çÍ, × net.example ÄÅÊÓÔ×ÉÔÅÌØÎÏ ÎÅÔ :)
44
45 îÏ:
46
47 [ totem ] brezerk@pts/6:12 ~ $
48 equery f openrc | grep /etc/conf.d/net
49 /etc/conf.d/net
50 /etc/conf.d/network
51
52 [ totem ] brezerk@pts/6:13 ~ $
53 cat /etc/conf.d/network | grep ifup
54 # You also have ifup_eth0 and ifdown_eth0 to run other commands when
55 # /etc/ifup.eth0 is equivalent to ifup_eth0
56 #ifup_eth0="ip link set \$int mtu 1500"
57 #ifup_bond0="modprobe bonding; ifconfig \$int up; ifenslave \$int
58 bge0"
59 #ifup_tun0="tunctl -t \$int"
60 #ifup_br0="brctl addbr \$int; brctl add \$int eth1; brtctl add \$int
61 eth2"
62 #ifup_eth0="vconfig add \$int 2; vconfig add \$int 3; vconfig add
63 \$int 4"
64 #ifup_wlan0="iwconfig \$int key s:secretkey enc open essid foobar"
65
66 èÏÔÑ ÄÁ, ÜÔÉ ÐÒÉÍÅÒÙ ÎÅ ÒÁÂÏÔÁÀÔ É ÓËÏÒÅÅ ×ÓÅÇÏ ÜÔÏ ÍÕÓÏÒ :)

Replies

Subject Author
Re: [gentoo-user-ru] disable IPv6 "Семён Марьясин" <MarSoft@××.ru>