From owner-freebsd-questions Thu Jul 25 10:54:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18FD937B405 for ; Thu, 25 Jul 2002 10:54:50 -0700 (PDT) Received: from dsl-146-127.resnet.purdue.edu (dsl-146-127.resnet.purdue.edu [128.211.146.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DB0743E31 for ; Thu, 25 Jul 2002 10:54:49 -0700 (PDT) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Received: from dsl-146-127.resnet.purdue.edu (localhost [127.0.0.1]) by dsl-146-127.resnet.purdue.edu (8.12.5/8.12.5) with ESMTP id g6PHtWb5096509; Thu, 25 Jul 2002 12:55:32 -0500 (EST) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Received: from localhost (dedrick@localhost) by dsl-146-127.resnet.purdue.edu (8.12.5/8.12.5/Submit) with ESMTP id g6PHtVri096506; Thu, 25 Jul 2002 12:55:31 -0500 (EST) Date: Thu, 25 Jul 2002 12:55:31 -0500 (EST) From: Eric Dedrick To: Kent Stewart Cc: Subject: Re: another question In-Reply-To: <3D403861.8050904@owt.com> Message-ID: <20020725124719.Q96489-100000@dsl-146-127.resnet.purdue.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > It usually occurs when you have them all plugged into the same > circuit. My natd connection is connected to a switch connected to my > DSL modem. My internal NIC is connected to a switch where all of my > computers are connected. Natd works just fine. > > The messages with lo0 makes me wonder if you have a network_interfaces > line in your /etc/rc.conf for your NICs. network_interfaces="ep0 xl0 lo0" ifconfig_ep0="inet 128.211.146.127 netmask 255.255.255.0" ifconfig_xl0="inet 192.168.0.1 netmask 255.255.255.0" I checked and I did have one extra wire that was making them all one circuit. With that removed I don't get any more problems. Something is still not right, though. xl0 is internal, ep0 is external. My internal network machines can connect ping xl0 but not ep0 or any other external ip's. Gateway is enabled, running /sbin/natd -n ep0, $ ipfw show 00100 205618 118632642 divert 8668 ip from any to any via ep0 00200 0 0 allow tcp from me to me 515 00300 0 0 allow udp from me to me 515 00400 0 0 deny tcp from any to me 515 00500 0 0 deny udp from any to me 515 00600 0 0 allow tcp from me to me 3306 00700 0 0 allow udp from me to me 3306 00800 0 0 deny tcp from any to me 3306 00900 1 108 deny udp from any to me 3306 01000 235306 124127773 allow ip from any to any 65535 0 0 allow ip from any to any and I've just restarted the daemons. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message