route problems in 5.1-RELEASE

Kevin Oberman oberman at es.net
Thu Sep 11 14:02:33 PDT 2003


> From: Jesse Guardiani <jesse at wingnet.net>
> Date: Thu, 11 Sep 2003 16:19:42 -0400
> Sender: owner-freebsd-current at 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 at es.net			Phone: +1 510 486-8634


More information about the freebsd-current mailing list