From owner-freebsd-questions Tue Dec 19 00:10:24 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA29744 for questions-outgoing; Tue, 19 Dec 1995 00:10:24 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA29698 for ; Tue, 19 Dec 1995 00:09:24 -0800 (PST) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id JAA18020; Tue, 19 Dec 1995 09:10:02 +0100 Message-Id: <199512190810.JAA18020@gilberto.physik.rwth-aachen.de> Subject: Re: router/gateway problem - Part 0 of 1 To: jesus.rodriguez@abaforum.es Date: Tue, 19 Dec 1995 09:10:02 +0100 (MET) Cc: freebsd-questions@freefall.FreeBSD.org (user alias) In-Reply-To: <000.8B73052.00A6012B7A.uuout@abaforum.es> from "JESUS RODRIGUEZ" at Dec 19, 95 01:22:00 am From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG Precedence: bulk > > > Hi every body. I have little time using Freebsd 2.0.5 and Unix based systems > (i've used IRIX from Silicon Graphics too). I've a web server and an uucp > e-mail server in a machine with freebsd. In this box, i have two ethernet cards > conected at two different networks (network A=192.0.1.0 and network > B=192.0.2.0, these IP's are for local use and they don't go out to Internet, If it's a private network which doesn't appear on the Internet you should use one of the reserved numbers for this purpose: 192.168.x.x > don't worry). > Well, my problem is that i can't configure freebsd for comunicating both > networks. I want a bridge, gateway, router???, (you can name it like you want), A router (aka gateway), not a bridge. > for comunicating the networks. > I've tried to configure it, i have turned on the ipforwarding with: > > sysctl -nw net.inet.ip.forwarding=1 This is correct if you are running 2.1.0R. For 2.0.5 you need the kernel option options "GATEWAY" and build a new kernel > > but i can't (and don't know) how to do it. I've readed man pages,free bsd hand > book, doc's and a book about networks (Unix Networking), i've tried a lot of > different configurations, add route commands, etc, but it's impossible. > > I think that maybe it's trivial for some people of this list, but not for me. > please, ¿Can You Help Me?????. Where can i get information????. > Thank's in advance... > > ¿There is more people using Free BSD in Spain???. Contact me, please... > La informatica es cosa de locos > e-mail: jesusr#abaforum.es ; eb3eyh#abaforum.es > packet: eb3eyh@eb3eyh.eab.esp.eu When you are stup up with the above and still have problems configuring the interfaces you can come back with private email. > ___ > * UniQWK #2263* > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de