Subject: $flushroutes
To: None <tech-net@netbsd.org>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/02/2001 15:59:46
	hello, there seem to be some problem with "flashroutes" rc.conf
	directive.  it now calls
		route -n flush
	and it nukes some of the important IPv6 routes.

	do people object if we change the meaning as follows?

	current:
	$flushroutes: nuke all routes (route -n flush)

	new behavior:
	$flushroutes: nuke IPv4 routes, YES by default (route -n flush -inet)
	$flushroutes6: nuke IPv6 routes, NO by default (route -n flush -inet6)

itojun


------- Forwarded Message

	by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id PAA08326
	for <itojun@coconut.itojun.org>; Mon, 2 Apr 2001 15:56:22 +0900 (JST)
	by orange.kame.net (8.9.3+3.2W/3.7W/smtpfeed 1.06) id PAA39332;
	Mon, 2 Apr 2001 15:56:21 +0900 (JST)
	by orange.kame.net (8.9.3+3.2W/3.7W) id PAA39326;
	Mon, 2 Apr 2001 15:56:20 +0900 (JST)
Date: Mon, 2 Apr 2001 15:56:20 +0900 (JST)
From: JINMEI Tatuya <jinmei@kame.net>
Message-Id: <200104020656.PAA39326@orange.kame.net>
To: cvs-kame:;
Subject: kame cvs commit: kame/netbsd INSTALL
Reply-to: core@kame.net

jinmei      2001/04/02 15:56:20 JST

  Modified files:
    netbsd               INSTALL 
  Log:
  E-5. /etc/rc.d/network executes "route -n flush" by default, which removes
       preinstalled IPv6 routes, specifically, a route for fe80::%lo0/64.
       Although this would not be so harmful for daily use, you might want to
       change the line as follows:
       route -n flush -inet
       so that only IPv6 routes would be removed, or add the following
       line in /etc/rc.conf:
       flushroutes=NO
       Note that the latter approach suppresses the flush of IPv4
       routes.
  
  Revision  Changes    Path
  1.15      +12 -1     kame/netbsd/INSTALL

------- End of Forwarded Message