public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] IP aliasing problem
@ 2010-10-06 18:02 Grant
  2010-10-06 21:52 ` Stroller
  0 siblings, 1 reply; 13+ messages in thread
From: Grant @ 2010-10-06 18:02 UTC (permalink / raw
  To: Gentoo mailing list

I'm trying to use a different SSL cert in apache2 for each of the two
domains on my server.  I don't want to use SNI or subjectAltName
because of lacking browser support and I want to use port 443 for both
domains.  I think this means I need to use separate IP addresses for
each of my domains.  I have 5 usable IPs from my host and I've defined
2 of them in /etc/conf.d/net like this:

config_eth0=(
        "1.2.3.1 netmask 255.255.255.0"
        "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      Link encap:Ethernet  HWaddr [removed]
          inet addr:1.2.3.1  Bcast:[removed]  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:46047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6131194 (5.8 MiB)  TX bytes:82568335 (78.7 MiB)
          Interrupt:40

eth0:1    Link encap:Ethernet  HWaddr [removed]
          inet addr:1.2.3.2  Bcast:[removed]  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:40

Does anyone know how to get this working?

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-10-09  8:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-06 18:02 [gentoo-user] IP aliasing problem Grant
2010-10-06 21:52 ` Stroller
2010-10-06 22:17   ` Grant
2010-10-06 23:12     ` BRM
2010-10-06 23:34     ` [gentoo-user] " walt
2010-10-07  1:48     ` [gentoo-user] " Michael Orlitzky
2010-10-07  3:02       ` Grant
2010-10-07  7:32     ` Stroller
2010-10-07 16:32       ` Grant
2010-10-07 17:51         ` BRM
2010-10-07 19:53           ` Stroller
2010-10-08 17:13             ` Grant
2010-10-09  8:50               ` Adam Carter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox