Dropping Netbios over TCP?

From: Paul Kraemer (PaulKraemer_at_discussions.microsoft.com)
Date: 10/25/04

  • Next message: Yor Suiris: "Re: Dropping Netbios over TCP?"
    Date: Mon, 25 Oct 2004 12:49:03 -0700
    
    

    Hi,

    I have a Win2k pc with two network cards (NIC's). The first NIC is used to
    connect me to the Internet through a DSL router. I have it setup to receive
    it's IP address/DNS info automatically. It receives an IP address in the
    range 192.168.1.x. The automatically assigned default gateway for this NIC
    is always 192.168.1.1 and the automatically assigned DNS server is always
    192.168.1.2. My internet connection through this NIC works perfectly.

    The second network card is used to connect me to my office LAN. I have
    assigned it a static IP address of 192.168.3.1 (where all of the pc's on the
    LAN also have static IP addresses in the 192.168.3.x range). I did not
    assign a default gateway or DNS server for this NIC because I want the other
    NIC to be used for getting on the internet.

    Anyway, when I start this pc, I run the following command in a .bat file to
    map a drive letter (w:) to a share on my 192.168.3.x LAN...

    net use w: \\MyServer\MyShare /user:MyServer\netuser password /persistent:NO

    ...MyServer is another PC on my 192.168.3.x LAN. This command works, but
    the log file in my software firewall shows that this command generates both a
    DNS query to my DNS server (192.168.1.2) and some netbios traffic.

    Please correct me if I am wrong, but what I think is happening is this...My
    'net use' command causes the pc to try to resolve the name \\MyServer. It
    tries to use DNS, but this can't work because the DNS server (192.168.1.2)
    knows nothing about my 192.168.3.x LAN. This causes it to fall back on
    netbios for name resolution.

    If I am correct in my description of what is happening, then my question is
    this....I thought I read somewhere that netbios name resolution in not
    necessary in a purely Win2k/XP environment (which mine is). Should I be able
    to do away with it in this situation? Is there anything I can do to allow
    DNS to resolve names on my 192.168.3.x LAN if I still want to be able to use
    the 192.168.1.x NIC to get on the internet?

    Any advice will be much appreciated.

    Thanks,
    Paul

    -- 
    Paul Kraemer
    

  • Next message: Yor Suiris: "Re: Dropping Netbios over TCP?"

    Relevant Pages

    • External/Internal Resolution
      ... I have two internet ISP connections, ... ISPis our internal LAN Internet connection. ... LANs NT4 domain. ... should I have one DNS server for INTERNAL ...
      (microsoft.public.windows.server.dns)
    • Re: fail to join domain
      ... If you use LAN internal the firewwalls you have to open the ports according to this one: ... Also make sure to use only the domain DNS server on all client machines, no externals like the ISP's DNS server. ... I got a local LAN domain not connection to internet, ...
      (microsoft.public.windows.server.networking)
    • Linux to XP, "net send" messenger possible?
      ... Thank you all for the help with iptables to block a LAN ... Internet and then to restore the Internet. ... up a bit" by sending a windows messenger service message to the LAN ... run in a command prompt window as such: ...
      (comp.os.linux.networking)
    • Re: Dropping Netbios over TCP?
      ... Move the Local Area Connection for the NIC with ... > is always 192.168.1.1 and the automatically assigned DNS server is always ... My internet connection through this NIC works perfectly. ... > The second network card is used to connect me to my office LAN. ...
      (microsoft.public.win2000.networking)
    • DNS within a domain question
      ... I have a W2000 DNS server in a NT4 domain. ... So for example if I ping a name that is ... not on the LAN but is on the Internet, I get a response from the Internet, ...
      (microsoft.public.windows.server.dns)