[1868] in linux-net channel archive

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

Re: new ip-alias in 1.3.59

daemon@ATHENA.MIT.EDU (Bernd Eckenfels)
Tue Feb 6 19:21:59 1996

To: submit-linux-dev-net@ratatosk.yggdrasil.com
From: ukd1@rzstud1.rz.uni-karlsruhe.de (Bernd Eckenfels)
Date: 	6 Feb 1996 21:26:21 GMT

Michael Brennen (mbrennen@fni.com) wrote:
> > _If_ the new alias belongs to the same eth0 logical network (eg a.b.c.0
> > through eth0) when you send a pkt to a.b.c.d, it will be handled by
> > eth0. This will result in an ARP request, and the ARP layer will complain
> >  "ARP request for own IP address".
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Is there a reasonable way around this?  In particular it makes reviewing a
> virtual Web site impossible from the same machine that the hosting is
> done.  That is the only place I can run lynx to check how it looks in a
> text browser. 

It should be enough to route the logical host not to the alias interface:

route add -host second.ip.number.s dev lo

Anyone can confirm?

Greetings
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy


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