From owner-freebsd-isp Tue Nov 11 03:38:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16621 for isp-outgoing; Tue, 11 Nov 1997 03:38:58 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from dab.iit.uni-miskolc.hu (dab.iit.uni-miskolc.hu [193.6.4.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16549 for ; Tue, 11 Nov 1997 03:35:41 -0800 (PST) (envelope-from rutz@dab.iit.uni-miskolc.hu) Received: (from rutz@localhost) by dab.iit.uni-miskolc.hu (8.8.7/8.8.5) id MAA11590; Tue, 11 Nov 1997 12:25:28 +0100 (CET) Date: Tue, 11 Nov 1997 12:25:28 +0100 (MET) From: Antal Rutz To: V Gatut Harijoso cc: freebsd-isp@FreeBSD.ORG Subject: Re: Gateway question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 10 Nov 1997, V Gatut Harijoso wrote: > Using gated or routed maybe solve the problem. Simple way is > a. at default router > route add -net <193.6.9.box1-address> They all (router, box1, box2) are on the same (193.6.4.9.0/255.255.255.0) net. > or > route add <193.6.9.box1-address> > b. at box2 > route add -net default > > I think that is newbie-isp question.. ;-) I think it, too, but if I don't have any access to the default router the problem gets a bit more complex. I tried proxy-arp on box1 and started routed but the machines on the net were not able to ping box2. Traceroute went in the direction of box1 but not further. --rutz > > On Mon, 10 Nov 1997, Antal Rutz wrote: > > > Hi! > > > > I want to build a little network that way: > > > > Ethernet:193.6.9.0/255.255.255.0 > > <-------------------------------------> > > | | > > --------- ------- (193.6.9.7) > > |default| |FBSD | 'box1' > > |router | |Box | > > --------- ------- (193.6.9.8) > > (193.6.9.254) | > > | IP through lp0 > > | > > ------- (193.6.9.9) > > |FBSD | 'box2' > > |Box | > > ------- > > How do I configure 'box1' to be able to act as a router between > > the ethernet and 'box2'. > > Addresses: both (box1|box2) 193.6.9.0/255.255.255.0 . > > I enabled ipforwarding but it didn't seem to work. > > Thanks for your help. > > > > > > --rutz > > > --rutz