Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2005 16:15:41 +0100
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        Yuan Jue <yuanjue02@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Wireless NIC in FreeBSD 6.0 ?
Message-ID:  <43AEB79D.9030200@locolomo.org>
In-Reply-To: <200512252205.33644.yuanjue02@gmail.com>
References:  <200512251530.21898.yuanjue02@gmail.com> <200512252047.35934.yuanjue02@gmail.com> <43AE95ED.9040407@locolomo.org> <200512252205.33644.yuanjue02@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuan Jue wrote:

> one more question
> since I use a fixed IP address in my dormitory and a dynamic IP address
> in the classroom or library, i need to change my local NIC configure from
> time to time. In fact, I use the fixed IP address as my default setting, which
> is as follows:
> 
> what is the right way to do it? or is there any better solution for my 
> situation? 

Try to take a look at dhclient.conf(5) and dhclient(8) and set all 
interfaces to be configured with dhcp. I think it should be posible to 
configure default values so there is something to fall back on if a 
lease is not obtained.

Note that dhclient is new in FBSD 6, this is also why you had to take 
down the other interface. The old dhclient would reset all dhcp 
configured interfaces, the new doesn't, which is quite neat because 
usually you would have the two interfaces connected to /different/ networks.

Cheers, Erik
-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2



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