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 1P3tPo-00022e-V2 for garchives@archives.gentoo.org; Thu, 07 Oct 2010 16:33:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C38C1E07E3; Thu, 7 Oct 2010 16:32:28 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 9DEC1E07E3 for ; Thu, 7 Oct 2010 16:32:28 +0000 (UTC) Received: by yxh35 with SMTP id 35so21417yxh.40 for ; Thu, 07 Oct 2010 09:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=93I/t7dU+YWFcmS2cOM5QgDlhhZIKD+mrPqojXVta9A=; b=m8Yhm7nDckuzO8BcswXtywyM+DsJAXxIPcJA4P8vkHBWhyCMOVBt5DwH+gXhK+Kj1U teTNbYNQ3Hq6XUU9dzSnlPRF/+vusH2CnNRv1c2eRKGQE04U3jiI0mdEJtQQI/DzAG9d XEmNG6JdTTOEPlFIYpNpYW6cdI61OsoMrTko4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FcuylwCBSyYVaqaZhjMbxWWmeReQhM/DcjEufUhEkKP5aNp+XR+JuT8vMNtWwD4sw7 +Wt3s+mf22gzCMJjVSXxTkE54nfD/duu2x/Qxk6t8q/qsuZ+h3dtjh86wlwjXU0Sis3f IsswiQNJQsXL2dXnKqh+viUwQ9Eyok03Kg6K4= 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 Received: by 10.42.244.68 with SMTP id lp4mr752951icb.148.1286469147882; Thu, 07 Oct 2010 09:32:27 -0700 (PDT) Received: by 10.42.6.130 with HTTP; Thu, 7 Oct 2010 09:32:27 -0700 (PDT) In-Reply-To: <3F408658-08E1-4D30-A7DA-4663CFEEC9B3@stellar.eclipse.co.uk> References: <83278B16-B7CE-4C16-8695-08F4E4051690@stellar.eclipse.co.uk> <3F408658-08E1-4D30-A7DA-4663CFEEC9B3@stellar.eclipse.co.uk> Date: Thu, 7 Oct 2010 09:32:27 -0700 Message-ID: Subject: Re: [gentoo-user] IP aliasing problem From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 640c9df2-0cbf-496b-9b7f-1d9182a854d0 X-Archives-Hash: 94eff215cbcd5a9e9d47fe50b46b5a28 >>>> ...I have 5 usable IPs from my host and I've defined 2 of them in /etc= /conf.d/net like this: >>>> >>>> config_eth0=3D( >>>> =A0 =A0 =A0 =A0"1.2.3.1 netmask 255.255.255.0" >>>> =A0 =A0 =A0 =A0"1.2.3.2 netmask 255.255.255.0" >>>> ) >>>> >>>> My apache2 config is not working as expected and I think its due to a >>>> networking problem because eth0:1 reports no RX or TX stats: >>>> >>>> # ifconfig >>>> eth0 =A0 =A0 =A0Link encap:Ethernet =A0HWaddr [removed] >>>> =A0 =A0 =A0 =A0 =A0inet addr:1.2.3.1 =A0Bcast:[removed] =A0Mask:255.25= 5.255.0 >>>> =A0 =A0 =A0 =A0 =A0UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri= c:1 >>>> =A0 =A0 =A0 =A0 =A0RX packets:46047 errors:0 dropped:0 overruns:0 fram= e:0 >>>> =A0 =A0 =A0 =A0 =A0TX packets:65703 errors:0 dropped:0 overruns:0 carr= ier:0 >>>> =A0 =A0 =A0 =A0 =A0collisions:0 txqueuelen:1000 >>>> =A0 =A0 =A0 =A0 =A0RX bytes:6131194 (5.8 MiB) =A0TX bytes:82568335 (78= .7 MiB) >>>> =A0 =A0 =A0 =A0 =A0Interrupt:40 >>>> >>>> eth0:1 =A0 =A0Link encap:Ethernet =A0HWaddr [removed] >>>> =A0 =A0 =A0 =A0 =A0inet addr:1.2.3.2 =A0Bcast:[removed] =A0Mask:255.25= 5.255.0 >>>> =A0 =A0 =A0 =A0 =A0UP BROADCAST RUNNING MULTICAST =A0MTU:1500 =A0Metri= c:1 >>>> =A0 =A0 =A0 =A0 =A0Interrupt:40 >>> >> ... >> Thank you for taking the time to write Stroller. =A0This has really got >> my head spinning. =A0First of all, you're right about the netmask. =A0It >> is 255.255.255.248. =A0I didn't have a good understanding of what a >> netmask is so I thought it would be smart to change it for a public >> message. >> >> The server is remote and hosted so I don't have any control over the >> router or network. =A0I've gone back and forth with the host but they >> insist that everything is fine on their end. >> >> I'm confused because I have in apache2 config: >> >> >> ... >> SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt >> SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key >> ... > > Suggest you first establish you can ping *both* IPs. Thanks Stroller. It's working now. I needed to define apache2's ServerName differently for each VirtualHost. Strangely though, I still don't get stats for RX/TX from ifconfig: eth0 Link encap:Ethernet HWaddr [removed] inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:923677 errors:0 dropped:0 overruns:0 frame:0 TX packets:1444212 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:124904402 (119.1 MiB) TX bytes:1880087116 (1.7 GiB) Interrupt:40 eth0:1 Link encap:Ethernet HWaddr [removed] inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.248 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:40 - Grant