Re: turning off IPv6 in my wlan0 interface

From: Matthias Apitz <guru_at_unixarea.de>
Date: Mon, 11 Mar 2024 10:30:20 UTC
El día lunes, marzo 11, 2024 a las 10:16:48a. m. +0000, freebsd.tug890@passmail.net escribió:

> Hello,
> 
> Adding this in /etc/rc.conf should work:
> ip6addrctl_enable="NO"
> 
> More information can be found in the man page:
> https://man.freebsd.org/cgi/man.cgi?query=rc.conf&apropos=0&sektion=5&manpath=FreeBSD+14.0-RELEASE+and+Ports&arch=default&format=html
> 

Thanks! I applied the suggested change:

wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
ip6addrctl_enable="NO"

But the interface still has IPv6 addrs after reboot:


wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=0
	ether 90:48:9a:92:9e:43
	inet 10.49.211.209 netmask 0xffffff00 broadcast 10.49.211.255
	inet6 fe80::9248:9aff:fe92:9e43%wlan0 prefixlen 64 scopeid 0x2
	groups: wlan
	ssid OCLCvisitor channel 6 (2437 MHz 11g ht/20) bssid a2:46:9d:32:bd:cf
	regdomain 108 indoor ecm authmode WPA2/802.11i privacy ON
	deftxkey UNDEF AES-CCM 2:128-bit txpower 20 bmiss 7 scanvalid 60
	protmode CTS ampdulimit 64k ampdudensity 2 shortgi -uapsd wme burst
	roaming MANUAL
	parent interface: ath0
	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
	status: associated
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

	matthias


-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub