From owner-freebsd-questions@FreeBSD.ORG Sat Nov 11 01:17:57 2006 Return-Path: X-Original-To: questions@freebsd.org 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 F06DC16A407 for ; Sat, 11 Nov 2006 01:17:57 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C01D743D4C for ; Sat, 11 Nov 2006 01:17:57 +0000 (GMT) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-109-167-24.lsanca.dsl-w.verizon.net [71.109.167.24]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id kAB1HsXK051296 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 10 Nov 2006 17:17:56 -0800 (PST) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <720B687A-66B6-497A-9F16-9D01B7B1441A@lafn.org> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: questions@freebsd.org From: Doug Hardie Date: Fri, 10 Nov 2006 17:17:50 -0800 X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: ClamAV 0.88/2185/Fri Nov 10 03:04:49 2006 on zoot.lafn.org X-Virus-Status: Clean Cc: Subject: Network Setup Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 01:17:58 -0000 I have a bit of an unusual network setup situation. I have a machine that is only used to store backups. It gets moved around to different locations occasionally so it has to be able to live on a 192.168.1.x or a 10.0.1.x network without reconfiguration. I also need a fixed last address byte so I can connect to it remotely. I initially set it up with DHCP and then used an alias for the .250 address on both networks. That worked, but caused problems for the local network in one location. The particular user couldn't understand why sometimes his computer got different IP addresses. So I tried to establish the 192.168.1.250 as the primary address and added an alias of 10.0.1.250. That works in both environments except that there is no default route. Is there a way to negotiate just a default route via DHCP and not an IP address? or is there a way to set the default route based on which IP address is in use? Thanks.