From owner-freebsd-net@FreeBSD.ORG Sun Feb 1 05:18:48 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 5C0D816A537 for ; Sun, 1 Feb 2004 05:18:48 -0800 (PST) Received: from phuket.psconsult.nl (ps226.psconsult.nl [213.222.19.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id E066943D6B for ; Sun, 1 Feb 2004 05:18:09 -0800 (PST) (envelope-from paul@phuket.psconsult.nl) Received: from phuket.psconsult.nl (localhost [127.0.0.1]) by phuket.psconsult.nl (8.12.6p3/8.12.6) with ESMTP id i11DHtGB046114; Sun, 1 Feb 2004 14:17:55 +0100 (CET) (envelope-from paul@phuket.psconsult.nl) Received: (from paul@localhost) by phuket.psconsult.nl (8.12.6p3/8.12.6/Submit) id i11DHse2046113; Sun, 1 Feb 2004 14:17:54 +0100 (CET) Date: Sun, 1 Feb 2004 14:17:54 +0100 From: Paul Schenkeveld To: freebsd-net@freebsd.org, Sandeep kumar Davu Message-ID: <20040201131754.GA44597@psconsult.nl> Mail-Followup-To: freebsd-net@freebsd.org, Sandeep kumar Davu References: <401EE394@webmail.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <401EE394@webmail.kent.edu> User-Agent: Mutt/1.5.4i Subject: Re: 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 13:18:48 -0000 On Sun, Feb 01, 2004 at 05:20:43AM -0500, Sandeep kumar Davu wrote: > 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). Given your netmask, both IP addresses of R are in the same subnet as machine B. The card in R which is on the same subnet as A should have an IP address between 131.123.36.66 and 131.123.36.94. > 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 Regards, Paul Schenkeveld, Consultant PSconsult ICT Services BV