From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 02:02:18 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A09B16A4CE for ; Sun, 1 Feb 2004 02:02:18 -0800 (PST) Received: from webmail.kent.edu (webmail.kent.edu [131.123.74.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CCF43D2D for ; Sun, 1 Feb 2004 02:02:16 -0800 (PST) (envelope-from sdavo@cs.kent.edu) X-WebMail-UserID: sdavo@cs.kent.edu Date: Sun, 1 Feb 2004 05:20:43 -0500 Sender: Sandeep kumar Davu From: Sandeep kumar Davu To: freebsd-net@freebsd.org X-EXP32-SerialNo: 00002334 Message-ID: <401EE394@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.51.06 Subject: Strange routing configuration problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 10:02:18 -0000 I have 3 machines running freebsd 4.5. I want to configure one of as a router. One machine (A) has a IP of 131.123.36.65 (dc0). This needs to be connected to another machine (B) 131.123.36.102 (ed1)through a machine (R) that has two network cards 131.123.36.98(dc0) and 131.123.36.101(dc1). The netmask for the every ip is 255.255.255.192 (CANT CHANGE THIS). I am able to ping A to R, R to A. Firstly I could not ping B to R. I figured out that B was unable to find the lladdr or R and added a static route in R. $route add 131.123.36.102 -interface dc1 $arp -s 131.123.36.102 _ll_addr_ Doing so I could ping from R to B. Now heres the problem >From B I can ping to one interface of R dc1. But I cannot get to the other interface dc0 nor to A. I have configured the machine R to be a router. gateway_enable="YES" router_enable ="YES" Even this did not help at all. I dont know where I am doing a mistake. There is something that needs to be filled in. Can anyone please help me here. I am stuck in this for days. Regards sandeep