From owner-freebsd-current@FreeBSD.ORG Thu Sep 11 14:02:33 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 325F716A4BF for ; Thu, 11 Sep 2003 14:02:33 -0700 (PDT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6405143FEA for ; Thu, 11 Sep 2003 14:02:32 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id MUA74016; Thu, 11 Sep 2003 14:02:30 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 471115D04; Thu, 11 Sep 2003 14:02:30 -0700 (PDT) To: jesse@wingnet.net In-Reply-To: Message from Jesse Guardiani of "Thu, 11 Sep 2003 16:19:42 EDT." Date: Thu, 11 Sep 2003 14:02:30 -0700 From: "Kevin Oberman" Message-Id: <20030911210230.471115D04@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: route problems in 5.1-RELEASE 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: Thu, 11 Sep 2003 21:02:33 -0000 > From: Jesse Guardiani > Date: Thu, 11 Sep 2003 16:19:42 -0400 > Sender: owner-freebsd-current@freebsd.org > > Howdy list, > > I'm having major problems with the route command today. > My machine is an IBM Thinkpad A30p laptop, running FreeBSD > 5.1-RELEASE. > > I have two interfaces. wi0 and fxp0 > > Normally, if I want to swap from wi0 to fxp0, all I > have to do is: > > killall dhclient > ifconfig wi0 down > ifconfig fxp0 up > dhclient fxp0 > > And I'm done. However, ocassionally this backfires, > like it did today: Jesse, Try changing your list of commands to: killall dhclient ifconfig wi0 down route flush ifconfig fxp0 up dhclient fxp0 That should fix it up. I've been trying to get Lars Eggert's netswitch running with current. It will do all of the above, but it's probably over-kill for you case. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634