From owner-freebsd-questions Mon May 15 19:53:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 3360C37B986 for ; Mon, 15 May 2000 19:53:16 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA55784; Mon, 15 May 2000 22:52:25 -0400 (EDT) (envelope-from cjc) Date: Mon, 15 May 2000 22:52:25 -0400 From: "Crist J. Clark" To: "Ing. Ramon F. Tecolt G." Cc: Brennan W Stehling , "freebsd-questions@FreeBSD.ORG" Subject: Re: Help with NAT! Message-ID: <20000515225225.E55458@cc942873-a.ewndsr1.nj.home.com> Reply-To: cjclark@home.com References: <39202963.5DA8E727@uiagc.pue.uia.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <39202963.5DA8E727@uiagc.pue.uia.mx>; from rtecolt@uiagc.pue.uia.mx on Mon, May 15, 2000 at 11:44:19AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 15, 2000 at 11:44:19AM -0500, Ing. Ramon F. Tecolt G. wrote: > Here is my configuration: [snip] > ifconfig_xl0_alias0="inet 10.1.0.1 netmask 0xffffffff" # Acnet-Adnet > ifconfig_xl0_alias1="inet 10.2.0.1 netmask 0xffffffff" # Labs-Informatica > ifconfig_xl0_alias2="inet 10.3.0.1 netmask 0xffffffff" # CIA-CAADI > ifconfig_fxp0="inet 192.100.196.254 netmask 255.255.255.0" # Red Valida > ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. [snip] > > > May 15 11:16:25 chido /kernel: arplookup 10.2.0.3 failed: host is not on > > > local network > > > > > > anyone knows why is happening this!? some misconfigration with the NAT? Your problem has nothing to do with NAT. It looks like you have messed up the netmasks on your xl0 interface. According to the entry, ifconfig_xl0_alias1="inet 10.2.0.1 netmask 0xffffffff" The only address reachable on the 10.2.0.1 network is 10.2.0.1. Thus, 10.2.0.3 is not on the local network. You need to enter the actual netmask for that net. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message