From owner-freebsd-isp Wed May 28 04:52:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA07952 for isp-outgoing; Wed, 28 May 1997 04:52:46 -0700 (PDT) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA07945 for ; Wed, 28 May 1997 04:52:40 -0700 (PDT) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id NAA17023; Wed, 28 May 1997 13:15:31 +0200 From: Luigi Rizzo Message-Id: <199705281115.NAA17023@labinfo.iet.unipi.it> Subject: Re: a routing problem... To: kneel@dot.ishiboo.com Date: Wed, 28 May 1997 13:15:30 +0200 (MET DST) Cc: isp@FreeBSD.ORG In-Reply-To: <19970528111735.15242.qmail@dot.ishiboo.com> from "kneel@dot.ishiboo.com" at May 28, 97 05:17:16 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Hi, > > > > I would like to place a router on a /24 net as follows: > > > > X.Y.Z.0/24 X.Y.Z.208/28 > > > > --+---.....---+------+- -+----+-----+ > > | | | | | | > > H1 ..... H3 +--[router]----+ H4 H5 > > > > ed2: X.Y.Z.26 netmask 0xffffff00 on the /24 side > > de0: X.Y.Z.218 netmask 0xfffffff0 on the /28 side > > > > I would like the router to do proxyarp on the /24 side for machines on > > the /28 side. ppp has a simple way to allow this, but I haven't found a > > suitable solution now. Any idea ? > How about: > > arp -s H4 auto pub > arp -s H5 auto pub not sure it can work because: 1) the netmasks for the two interfaces are overlapping, and am not sure which one is used for the "auto" address; 2) the arp table would be used for both interfaces (I think), so the router would be unable to communicate with the machines on the /24 side. I think a real proxyarp thing is needed. Cheers Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________