Date: Tue, 23 Jan 2001 11:10:56 -0600 (CST) From: Joshua Delong Thomas <jdt2101@ksu.edu> To: freebsd-questions@freebsd.org Subject: NAT under pppoe Message-ID: <Pine.GSO.4.21L.0101231059040.11209-100000@unix1.cc.ksu.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21L.0101231059040.11209-100000>