RE: NIC dropping data until IP is reset
- From: Hannes <hannes.news@xxxxxxxxxxxxxxxx>
- Date: Mon, 3 Mar 2008 01:11:02 -0800
I meant to ask _what_ the mask values are, in order to see if they together
with the IP addresses describe overlapping networks. In that case, it will be
tricky for Windows to decide which adapter to send out traffic, as both
adapters are equally good candidates.
Perhaps you can configure one as "primary" and the other as "secondary"? For
instance try setting a higher metric (cost) on one of the adapters, making it
the secondary choice for Windows.
Anyway, that's pretty much what I have to offer. Good luck!
/ Hannes.
"Joel Finkel" wrote:
Hannes,.
Thank you. Yes, the Net Mask is identical on the two interfaces. Everything
is identical, actually, except the IP address (and, of course, the MAC).
My current workaround is this:
1) I created a BAT file that contains two NETSH Interface IP Set Address
commands, the first to set the interface IP to a bogus value and the second
to set it back to its correct value.
2) I created a BAT file that issues SysInternals' PSExec command to run the
first BAT file on the server.
In this way, when I am working (on my networked workstation) and the
internet comnnection disappears, I can simply invoke the second BAT file,
which resets things on the server.
I never had any problems with Windows Server 2003. This began when I did a
clean install of Windows 2003 R2.
Thanks again.
/Joel
"Hannes" wrote:
What are the masks for N1 and N2? (If both NICs cover the same network, you
may confuse Windows' routing, why it may behave randomly.)
When you click OK on the dialog, a message is sent to the TCP/IP stack to
reconfigure, with the new IP address. This probably flushes caches, etc, and
makes things work again for a while for you.
The stack is not constantly polling the registry for changes, so by only
changing the registry values, nothing will happen. The TCP/IP stack has to be
told to read its new configuration, and clicking OK on the dialog is one way
of triggering this to happen.
I suggest you run a sniffer (e.g. Wireshark) to find out what is happening
to your traffic when it is in the "broken" state. I am guessing that requests
come in one adapter, and are sent out the other, possibly due to the
overlapping of networks.
/ Hannes.
"Joel Finkel" wrote:
I am still trying to solve a problem about which I posted and entry in
December.
I have a Windows 2003 R2 server with three NICs. The first connects to my
local LAN. The other two connect to an ADSL modem; each has its own IP
address.
The problem is that, periodically, the connection to the ADSL modem fails. I
can restablish it by changing the IP address assigned to EITHER NIC!
Consider this configuration:
NIC IP Address Metric
N1 222.222.222.001 10
N2 222.222.222.111 30
I have internet connectivity through N1 for a while (30 mins to 20 hours).
When it fails, I can change the IP address of N2 to, say, 222.222.222.222,
and data will immediately begin to flow again over N1. I can also change the
IP address of N1 to anything and then back to its assigned value, and data
will begin to flow. In other words, modifying the IP address of EITHER NIC
will restart data flow.
Note: I use the GUI to change the IP addresses, namely Network Connections
| Status | Properties | Internet Protocol.
I have several questions:
1) Why is this happening?
2) How can I fix it?
3) Can someone tell me EXACTLY what happens when I close out of the Network
Connection dialog? In other words, what are all the actions that are
initiated. I know that one thing is that a registry key value is modified
(HKLM\System\ControlSet001\Services\Tcpip\Parameters\Interfaces\{xxxx}:IPAddress
now holds the current IP address. But simply changing this value with
Regedit does not fix the problem, so obviously other things are happening.
4) Failing to fix the root cause, is there some way I can automate (perhaps
with Powershell), the process of modifying the IP address in a manner that
triggers the same actions(s) that the GUI triggers?
5) Is there another newsgroup I should be using to ask this question?
Thanks in advance for all suggestions!
- Follow-Ups:
- RE: NIC dropping data until IP is reset
- From: Joel Finkel
- RE: NIC dropping data until IP is reset
- References:
- RE: NIC dropping data until IP is reset
- From: Hannes
- RE: NIC dropping data until IP is reset
- From: Joel Finkel
- RE: NIC dropping data until IP is reset
- Prev by Date: RE: NIC dropping data until IP is reset
- Next by Date: RE: Get IPv6 header from raw IPv6 socket?
- Previous by thread: RE: NIC dropping data until IP is reset
- Next by thread: RE: NIC dropping data until IP is reset
- Index(es):
Relevant Pages
|
Loading