There's never 2 default route... it's always a single default route. Since 
route monitor shows nothing, I guess it's the same route that gets its gateway 
changed for some reason... I guess the effective and appearing change could be 
due to a pointer changing somewhere or the memory space where is located the 
default gateway is replaced with new stuff... I don't know how it's coded but 
it looks like that kind of stuff since nothing is triggered on the route 
monitor radar...

The default route always exists and there's no trace of it deleted prior to 
what my script does so we may be quite sure it's the same route that's 
brutalized ;)

Since mpd creates new interfaces for each new connection I see some route being 
added/replaced from time to time. I first thought it was mpd's fault because it 
was the only thing playing with routes but Krzysztof Barcikowski doesn't use 
MPD and shares the use of IPFW and PF like me and has the same default route 
gateway changing behaviour...


--



-----Message d'origine-----
De : John-Mark Gurney [mailto:j...@funkthat.com] 
Envoyé : 4 octobre 2012 12:03
À : Alexander V. Chernikov
Cc : Dominic Blais; freebsd-net@freebsd.org
Objet : Re: Default route destination changing without warning follow-up

Alexander V. Chernikov wrote this message on Mon, Oct 01, 2012 at 01:07 +0400:
> On 01.10.2012 00:59, Dominic Blais wrote:
> >It's all about IPv4 in my case.
> 
> It will be great to supply some more details (e.g. like FreeBSD 
> version, interfaces configuration, netstat -rn output).
> 
> How often does this happen ?
> (e.g. while true; do echo -n `date` ; route -n get default | grep 
> gate; sleep 1; done can help)
> 
> If this is reproducible, what actions precedes this change?
> Maybe some ARP traffic on that interface, or interface 
> creation/deletion, or.. ?
> 
> Is route monitor completely silent when the change happens?

Just for refernece, Dominic brought this up in an earlier thread:
http://www.freebsd.org/cgi/mid.cgi?2de61b0869b7484997bca012845482c7ebe62dd...@win2008.domnt.abi.ca

and at least on other person seems to have the same issue...

quick question for you Dominic, do you see the correct number of routes, but a 
new wrong one appear?  or does the route just simply disapear? or does a new 
one seem to replace the old one?

The reason I ask is that if a new wrong one appears, it could be memory 
corruption, but if a new one replaces the old one, for some reason when 
allocating a new route, it could accidentatlly be replacing the default route...

Just some thoughts...

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to