From owner-freebsd-questions@FreeBSD.ORG Fri Apr 13 14:33:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69D2716A403 for ; Fri, 13 Apr 2007 14:33:59 +0000 (UTC) (envelope-from gumbo_2007@bsdmail.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.freebsd.org (Postfix) with ESMTP id 5291B13C480 for ; Fri, 13 Apr 2007 14:33:59 +0000 (UTC) (envelope-from gumbo_2007@bsdmail.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id DE4E41800120 for ; Fri, 13 Apr 2007 14:33:58 +0000 (GMT) X-OB-Received: from unknown (205.158.62.131) by wfilter.us4.outblaze.com; 13 Apr 2007 14:33:58 -0000 Received: by ws5-1.us4.outblaze.com (Postfix, from userid 1001) id D34854408A; Fri, 13 Apr 2007 14:33:58 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 From: "rick norman" To: freebsd-questions@freebsd.org Date: Fri, 13 Apr 2007 22:33:58 +0800 Received: from [24.6.146.31] by ws5-1.us4.outblaze.com with http for gumbo_2007@bsdmail.com; Fri, 13 Apr 2007 22:33:58 +0800 X-Originating-Ip: 24.6.146.31 X-Originating-Server: ws5-1.us4.outblaze.com Message-Id: <20070413143358.D34854408A@ws5-1.us4.outblaze.com> Subject: Re: route 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: Fri, 13 Apr 2007 14:33:59 -0000 If I understand your problem, you have three pc's that you would like to be= able to route between. For your 192.168.1.33 box to be able to talk to your 10.0.0.15 box, it need= s to have an ip address on the 10.0.0 subnet. This could be accomplished by adding an alias in the rc.conf, ifconfig_lnc0= _alias0=3Dinet 10.0.0.16 netmask 255.255.255.0,=20 for instance if your nic is named lnc0. Your 192.168.1.33 box already share= s subnet 192.168.1 with your 192.168.1.34 box. You don't actually need to run a router so you don't need the router_enable= option. You need a gateway_enable option to allow the box to do ip forwarding. Both the 10.0.0.15 box and the 192.168.1.34 b= ox need to be told their default router via a defaultrouter option such as, defaultrouter=3D"192.168.1.33" in the 192.168.1.34 box. The 10.0.= 0.15 option looks like defaultrouter=3D"10.0.0.16". Assuming there is connectivity between the three boxes, they should all be able to p= ing each other. > ----- Original Message ----- > From: "Miguel Alc=C3=A1ntara" > To: faqfreebsd > Subject: route > Date: Thu, 12 Apr 2007 21:55:04 +0000 >=20 > hello all the people, i want to configure a freebsd 6.2 as a router, in > rc.conf added this line >=20 > router_enable=3D"YES" >=20 > it's ip is 192.168.1.33 >=20 > then i have two PCs, one with freebsd(10.0.0.15) and another with debian( > 192.168.1.34), but i can't realize if I must configure something in the > others two machines > the pourpose of this is to get communicated the freebsd(10.0.0.15) with > debian(192.168.1.34). >=20 > thanks in advance for your help. >=20 >=20 > -- $ miguel_alc=C3=A1ntara $ >=20 > "=E2=80=A6 empiezo ac=C3=A1 con la idea de ir all=C3=A1 en un experimento= para aumentar, por > ejemplo, la velocidad del cable interoce=C3=A1nico del Atl=C3=A1ntico; pe= ro cuando he > llegado en parte a la meta, me encuentro con un fen=C3=B3meno que me empu= ja en > otra direcci=C3=B3n [...] hacia algo completamente inesperado". >=20 > Thomas A. Edison. >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20 _______________________________________________ Get your free email from http://bsdmail.com