From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M2PLn-0008U5-KV for garchives@archives.gentoo.org; Fri, 08 May 2009 12:38:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB84AE031E; Fri, 8 May 2009 12:38:49 +0000 (UTC) Received: from smtp.hotchilli.net (mta3.th.hotchilli.net [62.89.140.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D948E031E for ; Fri, 8 May 2009 12:38:49 +0000 (UTC) Received: from static-87-243-200-80.adsl.hotchilli.net ([87.243.200.80] helo=[10.0.1.253]) by smtp.hotchilli.net with esmtp (Exim 4.63) (envelope-from ) id 1M2PLk-0006ky-ON for gentoo-user@lists.gentoo.org; Fri, 08 May 2009 13:38:48 +0100 Message-ID: <4A0427D2.2090206@shic.co.uk> Date: Fri, 08 May 2009 13:38:42 +0100 From: Steve User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] A networking question... References: <4A00A266.9070102@shic.co.uk> <4A017DA0.7010802@anferny.me.uk> <4A032AC0.6000801@shic.co.uk> <200905072335.00108.michaelkintzios@gmail.com> In-Reply-To: <200905072335.00108.michaelkintzios@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: fbfb31f4-b518-40e2-9b5f-605a1b5390c4 X-Archives-Hash: 47ebdfb4cf602a9519b6595b2f961b13 Mick wrote: > An adaptor can have more than one public IP address (multi-homing) and you can > use something like: ifconfig eth0:0 192.168.0.2 netmask 255.255.255.0 up to > set them up (increment eth0:1, eth0:2, etc accordingly). However, if your > SSL vhost is listening on a random port you don't need binding of many > addresses to one NIC. You can use the same ip address. > This is the essential bit I was missing, I think. I knew it was possible to set up "multi-homing" (as I'd seen it on other systems) but I'd forgotten what it was called... and that made searching for documentation, erm, hard... though even knowing the term hasn't given me a slam-dunk search result through google. I presume I need to fiddle with /etc/conf.d/net - somehow - in order to convince /etc/init.d/net.eth0 to do what I need. > Other than vhost I guest you can run a second instance by reading section 5 > here (but I'm not sure you need to do that anyway): > > http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml That's all helpful material - suggesting, at least, that there's no neat gentoo-specific one-liner to achieve the two instances I need... plus it highlights specific problems I might have with interactions between PHP in my two instances. Hmmm... I hadn't anticipated that... frustrating. I guess the other route I could consider would be virtualisation - establishing a completely separate installation... at least that way I could be sure that no aspect of my 'alive' system could impact the configuation of my development system... allowing me maximum confidence that I know what's needed when I come to deploy. Somewhat frustratingly, this seems to be morphing into a considerably more involved problem than I'd envisaged. ;)