Re: How to DNAT the only NetBios broadcast traffic (03:00:00:00:00:01)??

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

 



On Mon, 2004-06-14 at 00:08, Bassam A. Al-Khaffaf wrote:
>
> In fact I got stuck on how to forward ONLY and ONLY the NETBIOS
> broadcast traffic (03:00:00:00:00:01) from any machine on LAN2 to the
> domain controller on LAN1. Take note that the NETBIOS traffic is
> carried on IEEE 802.3 Ethernet.

I think you are confused. _NetBEUI_ transmits to 3:0:0:0:0:01, not
NetBIOS/IP. These are NetBEUI _multicasts_, not broadcasts.

If you are actually using NetBEUI your options are:
1) bridge the traffic
2) Upgrade to NetBIOS/IP or SMB/IP

If you are actually using NetBIOS/IP already, your options are:
1) setup a WINS server
2) create lmhosts entries on the client

> I wrote the following iptable rule, but here all the traffic will be
> directed from LAN2 to the domain controller on LAN1
> 
> Iptables –t nat –A PREROUTING –I eth1 –j DNAT –to-destination
> 192.168.1.231

If you are using NetBEUI, your problem is not iptables. Your problem is
you are using a non-routable protocol. As mentioned above, you need to
use a bridge or switch over to something IP based.

HTH,
Chris





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux