Hello, I submit this problem : I have a local network connected to the ISP through a Nexland Internet Sharing Box. On each machine, I have to set the default route (=> IP adress of the sharing box) and also provide the DNS adresses. Next, consider a Win95 (machine A) having a permanent connection to a printer located on another Win95 (machine B). If machine A starts while machine B is not alive, machine A makes a DNS lookup to find machine B. I watched this with tcpdump : 13:18:50.402972 machineA.netbios-ns > ISPprimaryDNS.domain : 48+ A? machineB (34) This triggers the modem located on the sharing box. Bad thing ! :-( My question is : can a Samba server help avoiding this problem (wins server, /etc/hosts including machine A and machine B, ...) ? Thanks in advance Loic, Toulouse/France
Loic, On Mon, 25 Sep 2000 14:28:10 +0200, Loic Mahe' wrote:>I have a local network connected to the ISP through >a Nexland Internet Sharing Box. On each machine, I have >to set the default route (=> IP adress of the sharing box) and >also provide the DNS adresses. > >Next, consider a Win95 (machine A) having a permanent >connection to a printer located on another Win95 (machine B). >If machine A starts while machine B is not alive, machine A >makes a DNS lookup to find machine B. I watched this with >tcpdump : >13:18:50.402972 machineA.netbios-ns > ISPprimaryDNS.domain : 48+ A? >machineB (34) >This triggers the modem located on the sharing box. Bad thing ! :-( > >My question is : can a Samba server help avoiding this problem >(wins server, /etc/hosts including machine A and machine B, ...) ?It may help, but you don't need to: Just edit C:\WIN95\HOSTS on machineA and add a line like xxx.xxx.xxx.xxx machineB with xxx.xxx.xxx.xxx being the IP address of machineB If this is not sufficient, also edit C:\WIN95\LMHOSTS and add a line xxx.xxx.xxx.xxx machineB #PRE Look at HOSTS.SAM / LMHOSTS.SAM in the same directory for further explanations. You may have to reboot to get it working ... Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 ---------------------------------------------------------------
Hello,> If it's posible route the network traffic thrue your Linux box, then > apply all your filtering rules. I assume that the ISB has just a > ethernet connection?Yes and (as I said in my first mail) the Win9x machines have their default route to the ISB.> Win95 <----> Linux <-----------------------> ISB ---- modemThat's a lot of work and a significant change in my network's topology.> Is the ISB capable of doing some packet filtering? Maby just deny all > name serving requests.Yes, but only for "classical" protocols (HTTP, FTP, SMTP, ...). Denying DNS requests (if it were possible) would be quite harmful for browsers ... Thanks anyway. Loic
> Yes, but only for "classical" protocols (HTTP, FTP, SMTP, ...). > Denying DNS requests (if it were possible) would be quite harmful > for browsers ...You right about that but.... Maby this will work.... 1) Setup a caching DNS server on your linux box. 2) Make you packet filter on your ISB so that it only forwards DNS requests from you Linux box. (Assuming your Linux box has static IP) 3) Setup your Win95 boxes so that they only request DNS info from your linux box and not using a DNS on the net anymore. Is this posible you think? Comments? Ries