From owner-freebsd-questions Wed May 22 13:26:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA23945 for questions-outgoing; Wed, 22 May 1996 13:26:46 -0700 (PDT) Received: from ns.ge.com (ns.ge.com [192.35.39.24]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA23937 for ; Wed, 22 May 1996 13:26:42 -0700 (PDT) Received: from thomas.ge.com ([3.47.28.21]) by ns.ge.com (8.7.5/8.7.3) with ESMTP id QAA16758; Wed, 22 May 1996 16:26:18 -0400 Received: from salem.ge.com (carsdb.salem.ge.com [3.29.7.15]) by thomas.ge.com (8.7.5/8.6.12) with SMTP id QAA08220; Wed, 22 May 1996 16:04:26 -0400 Received: from combs.salem.ge.com by salem.ge.com (4.1/SMI-4.1) id AA06163; Wed, 22 May 96 16:26:05 EDT Received: from localhost (steve@localhost) by combs.salem.ge.com (8.7.5/8.6.11) with SMTP id QAA21951; Wed, 22 May 1996 16:26:05 -0400 (EDT) Date: Wed, 22 May 1996 16:25:48 -0400 (EDT) From: "Stephen F. Combs" Reply-To: CombsSF@salem.ge.com To: Gestur A Grjetarsson Cc: questions@freebsd.org Subject: Re: linux overriding Default Gateway In-Reply-To: <199605221727.RAA14799@hummer.islandia.is> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -----BEGIN PGP SIGNED MESSAGE----- We've seen this symptom here at GE Drive Systems. It's usually caused by someone running routed in the 'advertise routes' mode. IF they run routed with the '-q' switch the problem goes away! It appears to be a bug in the Linux networking software, because no matter WHAT we set the system up for it will take the FIRST ARP packet and advertise itself as the 'route of last resort' to that IP address/MAC address. If you just run routed in quiet mode the problem appears to go away (altho' I've told our informal Linux community they shouldn't be running routed AT ALL but just insert a default route to our master router.). - ---- Stephen F. Combs Internet: CombsSF@Salem.GE.COM GE DS&TC Voice: 540.387.8828 Network Services Home: CombsSF-Home@Salem.GE.COM 1501 Roanoke Blvd FAX: 540.387.7106 Salem, VA 24153 LapTop: CombsSF-Mobile@Salem.GE.COM On Wed, 22 May 1996, Gestur A Grjetarsson wrote: > Date: Wed, 22 May 1996 17:27:45 GMT > From: Gestur A Grjetarsson > To: questions@freebsd.org > Subject: linux overriding Default Gateway > > Hello everyone, > > I'm running my 2.1 rel. now, have been in the past 40 days now, the system > has been smooth and stable on my p5/133, 65Mb RAM, 4.3 Gig Scsi on AHA2940, > > the resoun for this letter is because on one system here we run Linux PRE-206, > and have been for a brief time now, two days ago we had an error on our system > here wich was that we couldn't ping our 2nd DNS server, or should I say backbone > to our system domain wich is (isgate.is) ,, our domain is of course > (islandia.is) > well, when we were trying to see what happened to the system we saw one > fault had > occured, and it was that way that the linux system had somehow overrided our DNS > server and made it'self the Default Gateway,, > here below is a summary of netstat, where I show how it should look appropriate > where the Default Gateway is 194.144.233.254 > > default isnet-gw UGSc 70 27727 ep0 > > but the changes/error wich we found was that the when the linux system is/was > started, it took over default gateway: > > default bonus.is > > I don't know why this happened, and would like to know if someone else out there > has had same problems, and if there is known routing error on FreeBSD or the > linux > os wich we can fix ? > > > here is the netstat wich we consider, status ok: > > ~# netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default isnet-gw UGSc 70 27727 ep0 > localhost localhost UH 0 773 lo0 > 194.144.233 link#1 UC 1 0 > hummer 0:20:af:cf:67:b8 UHLW 3 11997 lo0 > hlunkur 0:80:ad:6:3e:80 UHLW 1 60397 ep0 727 > isnet-gw 0:0:c0:35:9:ba UHLW 70 0 ep0 298 > 194.144.233.255 link#1 UHLW 1 315 > BASE-ADDRESS.MCA link#1 > > > I'm sorry to say I don't have the netstat of when the linux had overrided the > default gateway, but in short, it changed from isnet-gw to bonus.is > > > Thanks in advance, > > > Mep kvepju, > Best regards, > > ----------------------------------------------------------- > Gestur A. Grjetarsson > kerfisstjori islandia.is sysadmin islandia.is > > Islandia, Grensasvegur 7, 2h.t.h., 108 Reykjavik > smmi 5884020, modem 5884120, fax 5884014 > > http://www.islandia.is > http://www.islandia.is/english.htm > http://www.islandia.is/skvopn > > -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMaN4UOnnD7stD95BAQFFpgP/V349JVCMlcb3hdVlzjsOkTml5u4b2UhB RvwnAlwX3U2DYIJc9DBjGu+/iDNwgXUvawQBUo7eSaz0q9Yhr2su+4QHxYt/LqPr UIpwvMofAXzA0TXurLQTybpYr2sunBn5Z/I34GySNZDFRbL0WxU2alKa0mE14ax5 Wp05cf876ws= =NOt2 -----END PGP SIGNATURE-----