Re: forward NetBIOS broadcasts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon Aug 28 2000 at 14:45, "Mecachisenlamar" wrote:

> Hello world,
> 
> has anyone obtained success forwarding NetBIOS broadcasts through a Linux
> Box?

Yes.

> 	     WAN
> 		|
>  	    Router
> 		|
> 	/-----------\
> 	| LinuxBOX	|
> 	| RH 2.2.16	|
> 	\-----------/
> 	   |	   |
> 	   |	   | <-------- LANs: Ethernet 10/100
> 	   |	   |
> 	   |	   \---------- 192.168.0.0 Network (Win9X)
> 	   |
> 	   |
>    	   \---------------- 172.24.0.0 Network (Win9X)

That's nothing unusual.  Simply make sure that your samba server is
configured to listen ONLY on those two interfaces (and localhost) in
/etc/smb.conf

        interfaces = 192.168.2.4/24 172.24.0.4/24 127.0.0.1/24
	bind interfaces only - true

It works.  I have at least 30 examples of this here around our
network.

  BTW, 172.24.0.0 is a PUBLIC network address range!  The private
  addresses are 172.16.0.0/12 - that is, 172.16.0.0 ->
  172.31.255.255.

  10.0.0.0/8 and 192.168.0.0./16 are the other two private address
  ranges.

> I have red "Routing NetBIOS with Linux" article
> (http://www.linuxplanet.com/linuxplanet/tutorials/1159/1/) but i always get
> the same error msg: "Packet accepted from bacjend to outside but we don`t
> forward for that netbios name"

Never seen that article until now.  It's hopeless, very thin and
hardly enough to get you anywhere.  There are much better resources
out there for samba.  It is also incorrect in that it states these
as valid parameters in /etc/smb.conf when the man page makes no
mention of them and doing something like "strings /usr/sbin/smbd |
grep -i nbfw" reveals no such string in the binary.  Treat with
suspicion...

    nbfw backend hosts = 192.168.1.2 192.168.1.3
    nbfw deny hosts =
    nbfw netbios names = "DOMAIN" BACKEND-2 BACKEND-3 USER-2 USER-3

Make sure that both subnets are using the SAME workgroup name - if
not, then the two netbios subnets will never talk with each other.
(Mind you, the router is also the netbios server and master domain
browser for both networks, and we only have one netbios workgroup
for each, not multiple).

Good luck.

Cheers
Tony
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux