From owner-freebsd-questions Tue Jan 23 9:11:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.cns.ksu.edu (grunt.ksu.ksu.edu [129.130.12.17]) by hub.freebsd.org (Postfix) with ESMTP id 6202537B400 for ; Tue, 23 Jan 2001 09:11:02 -0800 (PST) Received: from unix1 (jdt2101@unix1.cc.ksu.edu [129.130.12.3]) by mailhub.cns.ksu.edu (8.9.1/8.9.1/mailhub+tar) with SMTP id LAA27938 for ; Tue, 23 Jan 2001 11:10:59 -0600 (CST) Received: from localhost by unix1 (SMI-8.6/1.34) id LAA19412; Tue, 23 Jan 2001 11:10:56 -0600 Date: Tue, 23 Jan 2001 11:10:56 -0600 (CST) From: Joshua Delong Thomas X-Sender: jdt2101@unix1.cc.ksu.edu To: freebsd-questions@freebsd.org Subject: NAT under pppoe Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have been trying for awhile to get NATD running under a PPPoE connection. Device dc0 is the internal network gateway, and de0 is the outside network card. As of right now, my rc.firewall is supposed to be tunneling everything: /sbin/ipfw -f flush /sbin/ipfw add divert natd all from any to any via dc0 /sbin/ipfw add pass all from any to any /sbin/natd -f /etc/natd.cf I have the ip set to 10.0.0.10 for device dc0, de0 (the network card to the dsl modem) is 10.0.0.1, I tried putting device tun0 in natd.cf as the interface to be aliased, but when I did that, neither the NAT machine nor the inside machines could do anything. Additionally, when I was using ifconfig to set the ip of dc0 I get this error: ifconfig: ioctl (SIOCAIFADDR): File exists However, the ip of the interface does change to whatever I entered. But...even though the ip does change, the internal machines cannot ping the gateway ip number (10.0.0.10). I'm very confused and neither the natd man page, or any tutorial I've seen are terribly helpful. I thought the whole process would be pretty intuitive, but I'm having trouble. Thanks -Josh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message