From owner-freebsd-questions@FreeBSD.ORG Tue Dec 11 14:52:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6179916A419 for ; Tue, 11 Dec 2007 14:52:48 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2859B13C442 for ; Tue, 11 Dec 2007 14:52:48 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id D8175142155; Tue, 11 Dec 2007 16:52:46 +0200 (EET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from iris (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 69257142277; Tue, 11 Dec 2007 16:52:43 +0200 (EET) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 11 Dec 2007 16:55:23 +0200 User-Agent: KMail/1.9.7 References: <2949641c0712110529t102170c2u833fef022d4d37ae@mail.gmail.com> In-Reply-To: <2949641c0712110529t102170c2u833fef022d4d37ae@mail.gmail.com> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712111655.24339.nvass@teledomenet.gr> Cc: Alaor Barroso de Carvalho Neto Subject: Re: Connecting networks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2007 14:52:48 -0000 On Tuesday 11 December 2007 15:29:29 Alaor Barroso de Carvalho Neto wrote: > Hi guyz, it's me again. I think I don't know what I'm doing, so I ask > for help. I have three private networks(192.168.1, 10.10.0, 192.168.2) > and a link to the external world 200.212.X, what I want to do is that my > FreeBSD connect all the networks to the external world and the 192.168.1 > to the 10.10.0, so a machine in 192.168.1 would ping to a machine in > 10.10.0. I have a brand new copy of freebsd in my machine, I just > configured the four interfaces in rc.conf, that's all I did. > gateway_enable is set to true. The interfaces are connected to each > network. What's the next step? It should be OK. Did you do "/etc/rc.d/netif restart" & "/etc/rc.d/routing restart"? Keep in mind that the private networks are for private use. And that the next hop router(the one thats connects to the internet) will probably drop the packets on the floor, if configured correctly? Your wording was not very clear on the private network subject, so I am clarifying a bit. You do not mention NAT or some other mechanism that will allow you IP communication with other hosts external to your network. Please post more info... Nikos