From owner-freebsd-questions Mon May 22 8: 0:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ntdub0e.trintech.com (gatekeeper.trintech.com [212.120.150.50]) by hub.freebsd.org (Postfix) with ESMTP id 336B737B556 for ; Mon, 22 May 2000 08:00:09 -0700 (PDT) (envelope-from daniel.brady@trintech.com) Received: by ntdub0e.trintech.com with Internet Mail Service (5.5.2448.0) id ; Mon, 22 May 2000 16:00:46 +0100 Message-ID: From: Daniel Brady To: "'gws@silliman.net'" , freebsd-questions@freebsd.org Subject: RE: Natd & Samba - not so happy together Date: Mon, 22 May 2000 16:00:45 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi have you looked at the output from tcpdump on the tun0 i/face. I think the windoze boxes are broadcasting netbios-ns packets to 255.255.255.255 which will cause the dialer to activate. Maybe try filtering this traffic and setting your samba config to act as a wins server. Daniel -----Original Message----- From: Guy Silliman [mailto:gws@silliman.net] Sent: 22 May 2000 15:41 To: freebsd-questions@freebsd.org Subject: Natd & Samba - not so happy together I am using freebsd machines for lan gateways to the internet. One of the things I would like to do in addition to just maintaining the dialup connection for the LAN is use the free disk space on the gateway machine for file serving. To do this, Samba is running and works fine for the most part. My problem is that whenever a computer on the network attempts to access files on the gateway machine, the dialup connection is activated and must connect completely prior to samba answering the win95 box's requests. Now I have attempted to restrict the Samba server to the ethernet interface only, but I suspect because I am using natd and issuing a ipfw divert statement, it is pushing that traffic over to the tun0 device and kicking the dialup. My question... how do I keep samba from initiating the PPP connection? It doesn't really need it... but it triggers it and waits for it all the same. Thanks in advance for any suggestions Guy Silliman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message