Re: route problems in 5.1-RELEASE

From: Kevin Oberman <oberman_at_es.net>
Date: Thu, 11 Sep 2003 14:02:30 -0700
> 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
Received on Thu Sep 11 2003 - 12:02:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC