ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Отключить ipv6
@ 2018-12-10  6:39 Максим Васюк
  2018-12-10  8:46 ` Sergey
  0 siblings, 1 reply; 3+ messages in thread
From: Максим Васюк @ 2018-12-10  6:39 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Привет, Всем!

Чтобы убрать inet6 из выхлопа 'ip address show' пришлось добавить в конец /etc/net/sysctl.conf:
#disable ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Так и надо или у нас есть свои крутилки?
Пришлось гуглить интернет. На нашей вики по EtcNet этого нет.
---
Васюк Максим


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Отключить ipv6
  2018-12-10  6:39 [Comm] Отключить ipv6 Максим Васюк
@ 2018-12-10  8:46 ` Sergey
  2018-12-10 12:23   ` Mikhail Efremov
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey @ 2018-12-10  8:46 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Monday 10 December 2018, Максим Васюк wrote:

> Чтобы убрать inet6 из выхлопа 'ip address show' пришлось 
> добавить в конец /etc/net/sysctl.conf: 

> #disable ipv6
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1
> net.ipv6.conf.lo.disable_ipv6 = 1
> 
> Так и надо или у нас есть свои крутилки?

Где-то ещё писалось, что можно сделать в /etc/modprobe.d/ какой-нибудь
blacklist-ipv6.conf и там написать "blacklist ipv6", но я не проверял.

> Пришлось гуглить интернет. На нашей вики по EtcNet этого нет.

Оно, как таковое, к etcnet не относится. Хотя можно и написать, всё
же сеть.

-- 
С уважением, Сергей.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] Отключить ipv6
  2018-12-10  8:46 ` Sergey
@ 2018-12-10 12:23   ` Mikhail Efremov
  0 siblings, 0 replies; 3+ messages in thread
From: Mikhail Efremov @ 2018-12-10 12:23 UTC (permalink / raw)
  To: community

On Mon, 10 Dec 2018 12:46:24 +0400 Sergey wrote:
> On Monday 10 December 2018, Максим Васюк wrote:
> 
> > Чтобы убрать inet6 из выхлопа 'ip address show' пришлось 
> > добавить в конец /etc/net/sysctl.conf:   
> 
> > #disable ipv6
> > net.ipv6.conf.all.disable_ipv6 = 1
> > net.ipv6.conf.default.disable_ipv6 = 1
> > net.ipv6.conf.lo.disable_ipv6 = 1
> > 
> > Так и надо или у нас есть свои крутилки?  

Нет, насколько я знаю.
Еще можно добавить в kernel command line ipv6.disable=1.

> Где-то ещё писалось, что можно сделать в /etc/modprobe.d/ какой-нибудь
> blacklist-ipv6.conf и там написать "blacklist ipv6", но я не проверял.

Этого не достаточно, модуль может загрузиться по зависимостям.

-- 
WBR, Mikhail Efremov


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-10 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10  6:39 [Comm] Отключить ipv6 Максим Васюк
2018-12-10  8:46 ` Sergey
2018-12-10 12:23   ` Mikhail Efremov

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