From owner-freebsd-questions Fri Jun 16 0:47:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merlin.prod.itd.earthlink.net (merlin.prod.itd.earthlink.net [207.217.120.156]) by hub.freebsd.org (Postfix) with ESMTP id 4650F37BA70 for ; Fri, 16 Jun 2000 00:47:11 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from dialin-client.earthlink.net (pool0142.cvx21-bradley.dialup.earthlink.net [209.179.192.142]) by merlin.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id AAA17638; Fri, 16 Jun 2000 00:47:09 -0700 (PDT) Received: (from cjc@localhost) by dialin-client.earthlink.net (8.9.3/8.9.3) id AAA00368; Fri, 16 Jun 2000 00:45:45 -0700 (PDT) Date: Fri, 16 Jun 2000 00:45:44 -0700 From: "Crist J. Clark" To: Nathaniel G H Cc: freebsd-questions@FreeBSD.ORG Subject: Re: HELP! natd question Message-ID: <20000616004544.F287@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <200006151646.JAA20190@mail15.bigmailbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006151646.JAA20190@mail15.bigmailbox.com>; from bsd_appliance@bemail.org on Thu, Jun 15, 2000 at 09:46:23AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Jun 15, 2000 at 09:46:23AM -0700, Nathaniel G H wrote: > Hi folks, > > I'm running FreeBSD 3.3 RELEASE. I have a NIC (ed0) with two > addresses (or aliases). I need to specify the first alias to natd, > through its '-n interface' argument. I don't know the IP address > assigned to this alias because it's assigned through DHCP, so I can't > use natd's '-a address' argument instead. How do I specify the first > alias of ed0? > > (I do, however, know the address assigned to the second alias -- it > is always 192.168.0.254 and I was looking at the -reverse argument. > Would it work correctly if I specified '-a 192.168.0.254 -reverse'?) It sounds like you are running natd(8) with only one interface. natd(8) has been known to be flaky under such conditions. > I'm asking because this firewall ran Linux with so-called IP- > Masquerading with two addresses on one NIC, If you have only one NIC, there is no firewall. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message