From owner-freebsd-questions Mon Oct 11 14:17:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from wallace.extrateam.com (c72059-c.plstn1.sfba.home.com [24.5.30.186]) by hub.freebsd.org (Postfix) with ESMTP id 4DCEF15751 for ; Mon, 11 Oct 1999 14:17:23 -0700 (PDT) (envelope-from tim@extrateam.com) Received: by wallace.extrateam.com with Internet Mail Service (5.5.2650.21) id <444TJJ7K>; Mon, 11 Oct 1999 14:17:24 -0700 Message-ID: <60E0E1111B35D311989C00105ACE723C087F8E@wallace.extrateam.com> From: Tim Sammut To: 'Zachary Drew' Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Microsoft sharing over a natd box Date: Mon, 11 Oct 1999 14:17:23 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If your win98 box works when it is one the same network as the file servers, what you label LAN, then try a "net use * \\xx.xx.xx.xx\share" from the private network where xx.xx.xx.xx is the IP of the server. If that works and you cannot see the servers in network neighborhood, you need to use WINS or setup a lmhosts file on your win98 machine. I use an NT machine behind my freebsd firewall (w/ nat) to connect to fileservers accross the internet without problem, with the help of an lmhosts file. Until you config WINS or a lmhosts file your machine has no way to resolve the server name into an IP. It works on a local subnet via broadcasts, but your firewall stopping those local broadcasts, as it should. tim -----Original Message----- From: Zachary Drew [mailto:drew0054@tc.umn.edu] Sent: Monday, October 11, 1999 12:03 PM To: Tim Sammut Subject: RE: Microsoft sharing over a natd box On Mon, 11 Oct 1999, Tim Sammut wrote: > It is more than likely a browsing issue. Make sure you have a lmhosts file > or are using WINS. I'm not using samba here, i'm just trying to make the natd box 'transparent' to file sharing. > > > hope that helps > tim > > > -----Original Message----- > From: Zachary Drew [mailto:drew0054@tc.umn.edu] > Sent: Monday, October 11, 1999 9:47 AM > To: freebsd-questions@freebsd.org > Subject: Microsoft sharing over a natd box > > > > I have 2 machines sharing 1 ip address. > One machine is a natd box with 2 NIC's running freebsd 3.3 and natd. > > xl0 is connected to a LAN, xl1 is connected to a windows 98 box. How can a > get the windows 98 box to see the file shares availible on the LAN? > > i've tried running natd like this: > > /sbin/natd -redirect_port tcp 192.168.2.2:137-139 137-139 -redirect_port > udp 192.168.2.2:137-139 137-139 -n xl0 > > but that doesn't seem to work. > > the network looks a like this: > > (win98 box) 192.168.2.2---192.168.2.1 (fbsd 3.3 box) static ip---LAN > > > any suggestions? > > thanks, Zach > > > > 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