From owner-freebsd-questions@FreeBSD.ORG Tue Nov 14 10:08:21 2006 Return-Path: X-Original-To: freebsd-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 E31E516A416 for ; Tue, 14 Nov 2006 10:08:21 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E791943D75 for ; Tue, 14 Nov 2006 10:08:20 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.13.7/8.13.3) with ESMTP id kAEA8IJ5055291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Nov 2006 10:08:18 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <4559958A.6090400@unsane.co.uk> Date: Tue, 14 Nov 2006 10:08:10 +0000 From: Vince User-Agent: Thunderbird 1.5.0.7 (X11/20061017) MIME-Version: 1.0 To: jekillen References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: FreeBSD Mailing List Subject: Re: [OT]two networks, one nic 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: Tue, 14 Nov 2006 10:08:22 -0000 Its certainly possible. In fact on FreeBSD you can only have multiple addresses in one interface if they are in different broadcast domains (although one can be a subset (say /32) of the other. I have 10.0.0.1/25 and 10.10.10.1/24 on my wireless interface at home. Its often a good idea to separate networks physically but by no means a requirement. Vince jekillen wrote: > Hello FreeBSD users, > I have been operating under the assumption that > the same network interface card cannot handle two > different networks. But then I seem to have seen > an example in one of the OReillĄ books on networking > that had one interface with one assigned inet address > and also aliased with another address that could only > be on another network. If I understood that right, it > seems to imply that I can use one Network interface > card for at least two different networks, like so; > 192.168.1. and > alias 172.0.0. > or; > 192.168.1. > alias 192.168.2. > If this is possible is it accomplished via a special routing? > My concern is that I have a laptop with one network > interface, built in, but would like to access it both at > a public static address and a private network address. > Is this possible? > > Thanks in advance for time and attention; > Jeff K > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"