G
Guest
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
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