From owner-freebsd-questions@FreeBSD.ORG Sun Jan 20 17:12:45 2008 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 AEEE916A420 for ; Sun, 20 Jan 2008 17:12:45 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep12-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0115313C465 for ; Sun, 20 Jan 2008 17:12:44 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from [192.168.2.175] (really [80.99.169.3]) by viefep12-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080120171242.NQRB22769.viefep12-int.chello.at@[192.168.2.175]>; Sun, 20 Jan 2008 18:12:42 +0100 Message-ID: <4793810B.1090901@shopzeus.com> Date: Sun, 20 Jan 2008 18:12:43 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Steve Bertrand References: <478F64CF.7000603@shopzeus.com> <478F7142.8040506@ibctech.ca> <478F731B.5050201@shopzeus.com> <478F8732.4040208@shopzeus.com> In-Reply-To: <478F8732.4040208@shopzeus.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: routing question 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: Sun, 20 Jan 2008 17:12:45 -0000 Laszlo Nagy írta: > >>> - ping from pc on 0.0 network to 192.168.2.138 >>> >> Well, I cannot do this from here. Those computers are X terminals, >> they do not run inetd nor sshd. I cannot login from here and I cannot >> leave now, but I can do it later if necessary. >> >>> - sysctl -a net.inet.ip.forwarding (on the GatewayComp) >>> >> cassiopeia# sysctl -a net.inet.ip.forwarding >> net.inet.ip.forwarding: 1 >> cassiopeia# >> >> >> I can answer the missed question in about an hour. > > I'm sorry, not today. I'll try tomorrow. I did it. It was not working: could not ping 192.168.2.138 from 192.168.0.114. Then I added a static route -net 192.168.2.0 192.168.0.1 255.255.255.0 and it started to work. But here is something I still do not understand. The given gateway 192.168.0.1 was already the default gateway. Why do I need to add another gateway to the routing table to make it work? I have similar installations and specifing one default gateway did the work so far. Thanks, Laszlo