From owner-freebsd-bugs Wed Jan 10 18:30:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EC76037B402 for ; Wed, 10 Jan 2001 18:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0B2U0e72472; Wed, 10 Jan 2001 18:30:00 -0800 (PST) (envelope-from gnats) Received: from ussenterprise.ufp.org (unknown [209.249.106.101]) by hub.freebsd.org (Postfix) with ESMTP id CEA6F37B402 for ; Wed, 10 Jan 2001 18:20:53 -0800 (PST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id f0B2KqI04671; Wed, 10 Jan 2001 21:20:52 -0500 (EST) (envelope-from bicknell) Message-Id: <200101110220.f0B2KqI04671@ussenterprise.ufp.org> Date: Wed, 10 Jan 2001 21:20:52 -0500 (EST) From: bicknell@ufp.org Reply-To: bicknell@ufp.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/24238: First physical interface always has IPv6 link local address. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24238 >Category: conf >Synopsis: First physical interface always has IPv6 link local address. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 10 18:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Leo Bicknell >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: FreeBSD ussenterprise.ufp.org 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Jan 5 14:05:35 EST 2001 root@ussenterprise.ufp.org:/usr/src/sys/compile/USSENTERPRISE i386 Kernel compiled for IPv6/IPSec. >Description: The first physical interface (fxp0 in my case on a box with fxp0 and fxp1) always gets an IPv6 link local address, even if IPv6 is disabled in /etc/rc.conf. Note, this causes big issues when trying to configure the first interface (fxp0) as IPv4 only and the second interface (fxp1) as IPv6 only. >How-To-Repeat: Try this config in /etc/rc.conf: network_interfaces="fxp0 lo0" ifconfig_fxp0="inet 209.249.106.101 netmask 255.255.255.240" defaultrouter="209.249.106.97" ipv6_enable="NO" hostname="ussenterprise.ufp.org" After booting, ifconfig fxp0 will show an IPv6 link local address, like this: fxp0: flags=8843 mtu 1500 inet 209.249.106.101 netmask 0xfffffff0 broadcast 209.249.106.111 inet6 fe80::2e0:18ff:fe02:6f07%fxp0 prefixlen 64 scopeid 0x1 ether 00:e0:18:02:6f:07 media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP >Fix: Unknown. Suspect something in the kernel initialization, as making /etc/rc.network6 an empty file does not change the behavior. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message