From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Unterkircher Date: Fri, 16 Dec 2005 19:43:41 +0000 Subject: Re: [LARTC] routing in the same subnet Message-Id: <43A318ED.2030602@netshadow.at> List-Id: References: <43a30e38accb2@wp.pl> In-Reply-To: <43a30e38accb2@wp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Any ugly trick is to active proxy_arp on the interfaces of the router=20 (/proc/sys/net/ipv4/conf/*/proxy_arp). Then the external interface will scream "i have it!" on all of the arp=20 requests for the other ip addresses (as soon as the router has the other machines in his arp-table). if you have=20 ip_forward enabled and your clients using the internal interface address of the router as gateway you have=20 what you want. Adam Gawda schrieb: > Hi, > > I have IP 64.10.12.64/26 (example) > and there's gateway 64.10.12.65 and I want doing something like this: > > -------------------------------------64.10.12.65 GW =20 > =20 > --------------------------- ROUTER ----------- -----------------= ---clients=20 > eth0 64.10.12.66 eth1 64.10.12.66 = from 64.10.12.67 to 126 > 255.255.255.192 255.255.255.192 = 255.255.255.192 > = GW 64.10.12.65 > > I want have all clients behind router (traffic shaper, firewall , etc). = May I do it other method than subneting ? - because now doesn't work > > > > ---------------------------------------------------- > Pami=EAtaj o wszystkich/ -im w te =B6wi=EAta! > Zajrzyj na swieta.wp.pl i wygraj aparaty cyfrowe Panasonic! > Kliknij: http://klik.wp.pl/?adr=3Dwww.swieta.wp.pl&sidY9 > > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > =20 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc