From owner-freebsd-questions Thu Jul 22 0:25:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 37E9414D8B for ; Thu, 22 Jul 1999 00:24:04 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id KAA87683; Thu, 22 Jul 1999 10:19:51 +0300 (EEST) (envelope-from ru) Date: Thu, 22 Jul 1999 10:19:51 +0300 From: Ruslan Ermilov To: Wayne Cuddy Cc: FreeBSD Questions Subject: Re: natd won't alias?? What the deal? Message-ID: <19990722101951.D78891@relay.ucb.crimea.ua> Mail-Followup-To: Wayne Cuddy , FreeBSD Questions References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Wayne Cuddy on Wed, Jul 21, 1999 at 11:59:55PM -0400 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Could you please send me the output of the following commands: ifconfig -a netstat -rn ipfw list On Wed, Jul 21, 1999 at 11:59:55PM -0400, Wayne Cuddy wrote: > I have 2 ip addresses bound to one NIC card and I am attempting to use NATD to > route addresses from my private network to the internet with little success. > > Addresses: > 207.196.47.5 mask 0xfffffff0 (public iface) > 10.0.0.20 mask 0xffffff00 > > When I run natd in debug mode it sees packets from my internal hosts but does > not translate their addresses for some reason. Here is the output from natd > -v -a 207.196.47.5 > > In [ICMP] [ICMP] 10.0.0.1 -> 209.70.120.131 8(0) aliased to > [ICMP] 10.0.0.1 -> 209.70.120.131 8(0) > Out [ICMP] [ICMP] 207.196.47.5 -> 10.0.0.1 3(1) aliased to > [ICMP] 207.196.47.5 -> 10.0.0.1 3(1) > > Here is what I would expect: > In [ICMP] [ICMP] 10.0.0.1 -> x.x.x.x 8(0) aliased to > [ICMP] 207.196.47.5 -> x.x.x.x 8(0) > Out [ICMP] [ICMP] 207.196.47.5 -> x.x.x.x 3(1) aliased to > [ICMP] 10.0.0.20 -> 10.0.0.1 3(1) > > All help is greatly appreciated. > > Wayne -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message