From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 02:06:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35BB16A4CE for ; Sat, 21 Feb 2004 02:06:00 -0800 (PST) Received: from mail003.syd.optusnet.com.au (mail003.syd.optusnet.com.au [211.29.132.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCDA943D39 for ; Sat, 21 Feb 2004 02:05:59 -0800 (PST) (envelope-from tfrank@optushome.com.au) Received: from marvin.home.local (c211-28-241-189.eburwd5.vic.optusnet.com.au [211.28.241.189])i1LA5sE17216; Sat, 21 Feb 2004 21:05:54 +1100 Received: by marvin.home.local (Postfix, from userid 1001) id B27D93DA; Sat, 21 Feb 2004 21:05:53 +1100 (EST) Date: Sat, 21 Feb 2004 21:05:53 +1100 From: Tony Frank To: Jim Pazarena Message-ID: <20040221100553.GG98919@marvin.home.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: DHCP access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 10:06:00 -0000 Hi, On Fri, Feb 20, 2004 at 04:05:54PM -0800, Jim Pazarena wrote: > I have a wireless home network with an 802.11B router which assigns > IPs via DHCP. > > what method is appropriate to access one fbsd box from another when > I don't actually know the IP which has been assigned to any given > box. > > May sound rookie, but presently I go to each box and determine it's > IP directly and then I "know" the IP (at least for this session). > > There has gotta be a better way. > > suggestions please. Does you router/dhcp support static assignment? Basically you program fbsd 1 MAC address to always be assigned IP 1 and so forth. Otherwise you might consider using static address on your fbsd system? Ie if router is doing dhcp from 192.168.0.100-192.168.0.150 you should be able to static configure fbsd 1 as 192.168.0.1 for example. Just dont use the address of the router/gateway. Another option is dynamic dns updates - if your router/dhcp also provides dns you can either configure dhcp server or client to update dns with new address. Finally another idea is to use something like dyndns.org with each fbsd box. ddclient from ports will hook into DHCP and submit whatever address you get to dyndns.org. Works great for the public address, not sure if it will do private addresses but worth a shot. Then you'd give each box a name and register it on dyndns (or one of the many other equivalent sites) To talk to the other box you then just need to use the name which is updated. Hope there's something there for you, Tony