[4184] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Virtual hosts (was Re: Virtual Machines, 2.x kernel...)

daemon@ATHENA.MIT.EDU (Eric Smith)
Wed Nov 13 06:31:33 1996

Date: 13 Nov 1996 12:29:51 -0000
From: Eric Smith <eric@brouhaha.com>
To: redhat-list@redhat.com
Cc: afrancom@numedics.transport.com
In-reply-to: <Pine.LNX.3.91.961113011357.17991B-100000@numedics.transport.com>
	(message from Allen Francom on Wed, 13 Nov 1996 01:14:07 -0800 (PST))
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Previously I wrote:

> The biggest problem I am having with IP aliasing is that sockets that are
> bound to INADDR_ANY (or aren't explicitly bound) wind up bound to the last
> IP alias I've configured.

I finally discovered that this isn't a problem with the kernel, but rather
with the way I set up my /etc/sysconfig/network-scripts on Red Hat 2.1
to make aliases work.  The problem was that for every alias, a network route
and a default route were being added, and they were replacing the previous
ones.  I've since changed my ifup-eth script to only add a host route if
NETWORK is not defined (in the ifcfg-eth? script).

In Red Hat 4.0 IP aliases are officially supported, so presumably you won't
have to worry about this.  I haven't tried it yet though.

Cheers,
Eric


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post