From owner-freebsd-questions Thu Jul 25 11:18:10 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 47F0D37B400 for ; Thu, 25 Jul 2002 11:18:07 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D178F43E4A for ; Thu, 25 Jul 2002 11:18:06 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id LAA26464; Thu, 25 Jul 2002 11:18:04 -0700 Message-ID: <3D4040DB.1040507@owt.com> Date: Thu, 25 Jul 2002 11:18:03 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Eric Dedrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: another question References: <20020725124719.Q96489-100000@dsl-146-127.resnet.purdue.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Eric Dedrick wrote: >>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. > Do you have 192.168.0.1 as your default router on the other machines? Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message