From owner-freebsd-current@FreeBSD.ORG Sat May 10 09:03:41 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C367537B401 for ; Sat, 10 May 2003 09:03:41 -0700 (PDT) Received: from remt24.cluster1.charter.net (remt24.cluster1.charter.net [209.225.8.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9893C43F93 for ; Sat, 10 May 2003 09:03:40 -0700 (PDT) (envelope-from glennpj@charter.net) Received: from [24.158.214.251] (HELO gforce.johnson.home) by remt24.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 24274478; Sat, 10 May 2003 12:03:39 -0400 Received: from gforce.johnson.home (localhost [127.0.0.1]) by gforce.johnson.home (8.12.9/8.12.9) with ESMTP id h4AG3cQa001935; Sat, 10 May 2003 11:03:38 -0500 (CDT) (envelope-from glenn@gforce.johnson.home) Received: (from glenn@localhost) by gforce.johnson.home (8.12.9/8.12.9/Submit) id h4AG3crN001934; Sat, 10 May 2003 11:03:38 -0500 (CDT) From: Glenn Johnson Date: Sat, 10 May 2003 11:03:38 -0500 To: Chris BeHanna Message-ID: <20030510160338.GA1837@gforce.johnson.home> Mail-Followup-To: Chris BeHanna , current@freebsd.org References: <20030510035315.GA1812@node1.cluster.srrc.usda.gov> <20030510053529.GA42125@pit.databus.com> <20030510063236.GA36282@gforce.johnson.home> <200305101005.55721.chris@pennasoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305101005.55721.chris@pennasoft.com> User-Agent: Mutt/1.4.1i cc: current@freebsd.org Subject: Re: strange network interface problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 16:03:42 -0000 On Sat, May 10, 2003 at 10:05:55AM -0400, Chris BeHanna wrote: > On Saturday 10 May 2003 02:32, Glenn Johnson wrote: > > > On Sat, May 10, 2003 at 01:35:29AM -0400, Barney Wolff wrote: > > > > > On Fri, May 09, 2003 at 10:53:15PM -0500, Glenn Johnson wrote: > > > > > > > This is a weird one but hopefully someone can help. I have > > > > two software programs that I frequently use and they each use > > > > licensing software that depends on the Ethernet interface. > > > > One uses FlexLM and the other a node locked scheme. They are > > > > both Linux programs, which may be important. The machine in > > > > question is a dual homed machine with one xl interface and one > > > > fxp interface. The xl interface is on a 192.168.1.0 network > > > > and the fxp is on the corporate LAN. The hostname points to > > > > the 192.168.1.1 address. The license keys were generated from > > > > the MAC address of the xl interface. This worked fine as of a > > > > couple of days ago but because of the ffs bug I am not about to > > > > back my sources back in time. > > > > > > > > After updating to a recent -CURRENT, > > > > > > > > FreeBSD 5.1-BETA #0: Thu May 8 12:42:08 CDT 2003 > > > > root@node1.cluster.srrc.usda.gov:/usr/obj/usr/src/sys/CLUSTER-FW > > > > > > > > the programs in question are getting the interfaces mixed > > > > up. For the program that uses the node locked scheme I was > > > > able to get another license generated and so am okay for that > > > > one. However, the program that uses FlexLM is locked to the > > > > 192.168.1.0 network. The problem is the software is seeing the > > > > dual homed machine on the wrong interface and so thinks it is > > > > not on the network. > > Is it possible that someone at corporate mucked with DNS so that > the software that needs the license from FlexLM is resolving to the > wrong address? No, I maintain my own DNS for my machines. > > > In what order does ifconfig print the interfaces? > > > /var/run/dmesg.boot? > > > > xl0 is first. > > > > [...attempts to reorder ifconfig if listing via juggling in rc.conf > > didn't work...] > > > > It does not seem like that would help as they are in the desired > > order. FlexLM is in fact using the correct interface for the ether > > address but the software that needs the license from FlexLM is > > getting the IP address from the other interface. As I said, the > > software license checking worked just a few days ago. Something > > has changed with -CURRENT, or something weird is happening with the > > system. > > Is the software that needs the license running on your box, or on > some other box in the corporate LAN? It is running on several boxes on the 192.168.1.0 network. It is the dual homed machine that is the problem because the software all of a sudden started picking up the IP address on the secondary interface rather than on the primary interface. > > > If all else fails, switch the nics around in their slots. Hard to > > > do if either is on the motherboard, I know. > > > > The fxp interface is on the motherboard. > > That is probably part of your answer as to why the software finds > it first. But it is configured second by the OS and I can not seem to stress this enough, it was working fine just a few days ago. The software _was_ getting the IP address of the xl interface just a few days ago. The only thing that changed was the update of -current. -- Glenn Johnson glennpj@charter.net