Date: Tue, 6 Nov 2001 11:40:40 +0100 (CET) From: =?iso-8859-1?q?m=20p?= <sumirati@yahoo.de> To: wash@wananchi.com, rjhalljr@starpower.net Cc: freebsd-questions@freebsd.org Subject: Re: NT-Unix network Message-ID: <20011106104040.34138.qmail@web13305.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
Odhiambo Washington wrote: > > * Bob Hall <rjhalljr@starpower.net> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106104040.34138.qmail>