Bug 21694

Summary: Multi network interface will not be work well in /etc/rc.network6.
Product: Base System Reporter: Masaru Yokoi <masaru>
Component: confAssignee: Hajimu UMEMOTO <ume>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1.1-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Masaru Yokoi 2000-10-02 10:40:01 UTC
In network6_pass1() in rc.network6 of shell script, it should do "ifconfig"
and "rtsol" for each network interfaces.
But now, it is using a variable (ipv6_network_interfaces) of whole of
IPv6 network interface. It should use valiable of each network interface
using with "for i in ${ipv6_network_interfaces}".

Fix: Please apply this patch.

How-To-Repeat: 
* Prepare 2 or more NIC.
* Configure in /etc/rc.conf
---
ipv6_gateway_enable="NO"
ipv6_network_interfaces="AUTO"
---
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-05 22:41:49 UTC
Responsible Changed
From-To: freebsd-bugs->ume

Over to IPv6 maintainer.
Comment 2 Hajimu UMEMOTO freebsd_committer freebsd_triage 2000-10-09 17:46:57 UTC
State Changed
From-To: open->analyzed

There is an assumption that IPv6 end node have only one interface.  If 
a host listen RAs from more than one interfaces, a host will confuse 
how to treat at least default route. 
However, we should provide the method to be able to treat the end host 
that has more than one interfaces.  I'm working on it and I'll commit 
it in near the future.
Comment 3 Hajimu UMEMOTO freebsd_committer freebsd_triage 2000-10-29 20:01:56 UTC
State Changed
From-To: analyzed->closed

I just committed new rc.network6.  It is expected to solve your problem. 
Thanks!