Bug 24238

Summary: First physical interface always has IPv6 link local address.
Product: Base System Reporter: Leo Bicknell <bicknell>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description Leo Bicknell 2001-01-11 02:30:00 UTC
	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.

Fix: 

Unknown.  Suspect something in the kernel initialization, as
making /etc/rc.network6 an empty file does not change the behavior.
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
Comment 1 ashp freebsd_committer freebsd_triage 2002-01-16 22:46:13 UTC
State Changed
From-To: open->feedback

I can't reproduce that here with 4.5-RC.  Is this still a problem for you 
with the latest -STABLE?
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2003-01-09 16:09:37 UTC
State Changed
From-To: feedback->closed

ashp changed this to feedback almost a year ago.  He cannot reproduce this 
and I can't either.  Closed.