[274] in linux-net channel archive

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

Re: multiple IP# for one IF ?

daemon@ATHENA.MIT.EDU (Russell Nelson)
Sat May 6 11:21:28 1995

Date: Sat, 6 May 95 10:58 EDT
From: nelson@crynwr.com (Russell Nelson)
To: linux-activists@niksula.hut.fi
CC: linux-net@vger.rutgers.edu, herp@wildsau.idv.uni-linz.ac.at
In-reply-to: <95May5.170140eet_dst.55420-3@niksula.hut.fi> (linux-activists@niksula.hut.fi)

   From: "Linux Activists" <linux-activists@niksula.hut.fi>
   From: Herbert Rosmanith <herp@wildsau.idv.uni-linz.ac.at>
   Subject: multiple IP# for one IF ?
   Date: Thu, 4 May 1995 16:57:39 +0100 (GMT+0100)

     is there a way to assign more than one IP address to an network
     device ?

     e.g.:

       eth0   193.160.50.2

    and

       eth0   193.160.50.3

Not a problem.  Use Robert Sander's ipalias patch.  Works great for me.

Date: Sun, 30 Apr 1995 18:56:23 -0400
From: Robert Sanders <rsanders@interbev.mindspring.com>
To: alias-people@interbev.mindspring.com
Subject: ifconfig aliases

You can get the first version of the 'ifconfig alias' patch from
ftp://ftp.mindspring.com/users/rsanders/ipalias.  Check out the 00index
and README.alias files there.  If you don't have FTP capability, let
me know.

  -- Robert

P.S. The documentation doesn't mention this, but netstat needs read access
to /dev/kmem to print out the alias list for an interface.  You can
probably do something like this:

    chgrp kmem /dev/kmem netstat
    chmod 664 /dev/kmem
    chmod 2755 netstat

-- 
-russ <nelson@crynwr.com>    http://www.crynwr.com/~nelson
Crynwr Software   | Crynwr Software sells packet driver support | ask4 PGP key
11 Grant St.      | +1 315 268 1925 (9201 FAX)  | What is thee doing about it?
Potsdam, NY 13676 | Help Phil Zimmerman!  http://www.netresponse.com/zldf

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