From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 00:17:29 2011 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 C59C01065676 for ; Mon, 5 Dec 2011 00:17:29 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id AB1738FC28 for ; Mon, 5 Dec 2011 00:17:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=g1Pe+z1FHMc7QarYotV4PUxTeZTyLhk/9U0jEvHHYb4=; b=AFwR1TRsnE2aL5e6nwtGwAks531A2Q2+dUH48fOM+6JmY2I12edHQVoz1Qn+MRkIvzV1tfjE39h706qGaC59TXJqEaF9MxYdc0FakJDdMgWDEzfXa9BfVnJ+9vak2NmN0ApdoNuboRr309QGNvWS8iKDBG5X776BsbZPZgTLJng= Received: from [192.168.1.100] ([120.29.64.39]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 4 Dec 2011 16:17:29 -0800 Message-ID: <4EDC0D97.4010201@a1poweruser.com> Date: Mon, 05 Dec 2011 08:17:27 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: APseudoUtopia References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Dec 2011 00:17:29.0676 (UTC) FILETIME=[467C18C0:01CCB2E3] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Gateway, Crossover 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: Mon, 05 Dec 2011 00:17:29 -0000 APseudoUtopia wrote: > Hello, > > I'm trying to setup a small home network, It consists of my FreeBSD > 9.0-RC2 box connected to my modem (just a modem, not modem/router) and > two other systems connected directly via ethernet to the freebsd box. > I'm able to connect to the internet with the FreeBSD box. I can get an > IP via DHCP from my ISP. However, I can't seem to figure out how to > setup the gateway routes and the IP addresses for the other system. > > I'd like to have the internal network be on 192.168.1.0/24. I have 2x > 2-port NICs in the freebsd box. > > em0 - Internet - 1.2.3.4 > em1 - System1 - 192.168.1.1 > em2 - System2 - 192.168.1.2 > > I'm kindof lost here. I've played with it a bit, trying to set > 192.168.1.0/24 on em1 and em2, then setting the specific IP address on > system1 and system2 respectively. I've also tried manually adding > routes from 192.168.1.0/24 to 1.2.3.4 (my external IP) to no avail. > The system1/2 boxes cannot ping the freebsd box, nor vise-versa. That > implies it's not a routing problem, but a problem with the systems > getting a proper IP address. > > Anyone have any tips? > > Thanks. > > www.a1poweruser.com web site has details instructions on how to do it. Check it out.