From owner-freebsd-stable Mon Apr 5 4:55: 6 1999 Delivered-To: freebsd-stable@freebsd.org Received: from muffin.highwire.local (pool-1-p12.innotts.co.uk [212.56.33.12]) by hub.freebsd.org (Postfix) with ESMTP id 25F1714D21; Mon, 5 Apr 1999 04:54:55 -0700 (PDT) (envelope-from robmel@innotts.co.uk) Received: from [172.16.17.20] (robsmac.highwire.local [172.16.17.20]) by muffin.highwire.local (8.9.2/8.9.2) with ESMTP id MAA11638; Mon, 5 Apr 1999 12:52:13 +0100 (BST) (envelope-from robmel@innotts.co.uk) X-Sender: robmel@muffin.highwire.local Message-Id: In-Reply-To: <011d01be7f56$a7fad060$2100a8c0@oma> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 5 Apr 1999 12:50:03 +0100 To: "andrea" , , , , "freebsd-questions" From: Robin Melville Subject: Re: arp. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 12:22 pm +0100 5/4/99, andrea wrote: >I have to add a gateway to my net for experimental reasons. >Actually there are : a main-router that works as interface to the Internet, >and some hosts on my sub net. > > Internet-----MyRouter----MySubNet > >NOw i need to configure one host of MYSubNet to act as a gatway for the >secondary subnet. >Both the 1SubNet and 2 SubNEt share the same ip-range. > > Internet-----MyRouter----MySubNet-----My2SubNet > >All the sub.net have to be seen from the Internet so I'll need to add a >route to MainRouter in order to route the Secondary Subnet. >The problem is that i cannot change configuration of the mainroute,so i >wonder if is possible to configure the new gateway to do a sort of "proxy >arp" for my secondary Subnet. >But arp-tables are system-wide so if i change arp entry to cacth request on >PrimaryNet the 2subnet dont'works anymore. >Is possible to catch arp request only on a single subnet,without broke any >other subnet connected to the same host.? >thank you! Assuming that these are IP routers and not ethernet switches, the arp tables aren't particularly relevent. If the main router is running 'routed' or some other RIP routing daemon, all you need to do is run a similar daemon and your new subnet route will be propagated. Alternatively, or essentially if you are using unregistered IP, you could use 'natd' on 'MyRouter' to masquerade the internal addresses onto the external interface. The handbook pages on natd make it very easy to set up. Good luck Robin. ---------------------------------------------------------------------- Robin Melville, Addiction Information Services Nottingham Alcohol & Drug Team Tel: +44 (0)115 952 9478 Fax: +44 (0)115 952 9421 work: robmel@nadt.org.uk home: robmel@innotts.co.uk Pages: http://www.innotts.co.uk/~robmel (home page) http://www.innotts.co.uk/nadt (substance misuse pages) ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message