From owner-freebsd-questions Wed Jul 21 21: 4:28 1999 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 1F9E914FA0 for ; Wed, 21 Jul 1999 21:04:24 -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.8.8) id AAA10123; Thu, 22 Jul 1999 00:05:01 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199907220405.AAA10123@cc942873-a.ewndsr1.nj.home.com> Subject: Re: natd won't alias?? What the deal? In-Reply-To: from Wayne Cuddy at "Jul 21, 99 11:59:55 pm" To: wayne@crb-web.com Date: Thu, 22 Jul 1999 00:05:01 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. You do have firewalling enabled and up right? Have you made changes to your rc.firewall? Your rc.conf is set up right too? -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message