Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 14:02:30 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        jesse@wingnet.net
Cc:        freebsd-current@freebsd.org
Subject:   Re: route problems in 5.1-RELEASE 
Message-ID:  <20030911210230.471115D04@ptavv.es.net>
In-Reply-To: Message from Jesse Guardiani <jesse@wingnet.net>  of "Thu, 11 Sep 2003 16:19:42 EDT." <bjqld0$86r$1@sea.gmane.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Jesse Guardiani <jesse@wingnet.net>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911210230.471115D04>