From owner-freebsd-questions Tue Nov 6 2:40:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13305.mail.yahoo.com (web13305.mail.yahoo.com [216.136.175.41]) by hub.freebsd.org (Postfix) with SMTP id DD28537B405 for ; Tue, 6 Nov 2001 02:40:40 -0800 (PST) Message-ID: <20011106104040.34138.qmail@web13305.mail.yahoo.com> Received: from [193.174.9.99] by web13305.mail.yahoo.com via HTTP; Tue, 06 Nov 2001 11:40:40 CET Date: Tue, 6 Nov 2001 11:40:40 +0100 (CET) From: =?iso-8859-1?q?m=20p?= Subject: Re: NT-Unix network To: wash@wananchi.com, rjhalljr@starpower.net Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Odhiambo Washington wrote: > > * Bob Hall [20011106 10:02]: writing on the subject 'NT-Unix network' > | I've got a small home LAN with a FreeBSD box serving as Internet > | gateway, DNS, and print server for another FreeBSD host and a Win2000 > | host. Now I'm trying to set up an NT host to use the same services, > | but I've come to a problem I can't solve. > | > | I've got the 3Com Ethernet card working properly. I can ping e.g. > | www.freebsd.org from the NT host via the Unix gateway. DNS works; > | I can nslookup www.freebsd.org from the NT host, or nslookup the > | NT host from another host on the LAN. Traceroute and tracert work > | fine. However, I can't use the > | Unix host as an Internet gateway (e.g. for http) > > Install a proxy server (Squid) on the Unix box, then tell Microsuck > Internet Explorer to use that box as proxy on port 3128 (default). > > | or as a print > | server from the NT host. > | C:\>lpq -S sten.alder.net -P lp > | returns > | sten.alder.net: lpd: hostname for your address (7.7.7.4) unknown: > | no address associated with hostname > | sten is the server at 7.7.7.1. lp is the print queue. gylne is the > | NT host at 7.7.7.4. > > Did you setup the file called /etc/hosts ?? > > There is a sample - just add entries for your LAN machines. > > Also you have to setup Samba on that box so that you can share any > printers attached to it with Winblows boxes. He has not to do this. He is using the TCP/IP-Print Services from Windows NT which call directly the Unix lp-tools. > > You may also wish to run a caching DNS server on that box, maybe. > > -Wash Hi, first of all: Do you own the subnet 7.7.7.x? Please use for private networks IPs from the ranges defined at RFC 1918. It will keep you out of problems. Your problem: Every request to resolve an name to an IP is answered by your DNS-Server. He asks the DNS-Servers of your provider (i assume). They say "non-existent domain". You have to set up your DNS-Server to answer *.alder.net for internal requests with the IPs from your subnet. That done the name will resolve to your internal computer. Or you can use the /etc/hosts file (under Windows in %SYSTEMROOT%\system32\drivers\etc ) to manually add every host in your network. Hope that helps. Marc __________________________________________________________________ Gesendet von Yahoo! Mail http://mail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message