[Winpcap-users] winpcap and ip change

Fish" (David B. Trout fish at infidels.org
Sat Sep 25 00:47:40 PDT 2010


Use two adapters? :)

(normal case; both NIC's have same IP...)

Open NIC #1, read...

...
...
...

When it's time to change IP address, do the following:

Open NIC #2, read...

(you're now reading from BOTH adapters...)

Change IP on NIC #1...

(still reading from BOTH adapters...)

Wait 5 seconds...

(still reading from BOTH adapters...)

Change IP on NIC #2

(still reading from BOTH adapters...)

Wait 5 seconds...

(still reading from BOTH adapters...)

Close NIC #2.

Now you're back to reading from only NIC #1, but with the new IP, and you
*shouldn't* have lost any IP packets during the change.

Tell me again WHY the IP address has to be changed? Why do you have to be
dynamically changing the IP address all the time? Why can't you choose and
IP, configure your adapter with it, and then continue to use that IP from
then on... FOREVER?

Why do you have to keep changing your NIC's IP addresses?

-- 
"Fish" (David B. Trout) 
 fish at softdevlabs.com



More information about the Winpcap-users mailing list