Re: two Ethernet cards
I'm not sure the cards would have IP addresses.
I want to capture all the packets in promiscuous mode
from each card. Do I just give them random IPs?
Scott McPhillips [MVP] wrote:
bob@xxxxxxxxxxxxxx wrote:
Is there any way to handle two Ethernet cards in VC++?
I want to write a program that reads a packet from one, delays 250ms,
and spits the packet out the other.
After creating a socket you can specify which card to use (by IP) in the
call to bind. (Or, in MFC, the last argument of CAsyncSocket::Create()).
--
Scott McPhillips [VC++ MVP]
.
Relevant Pages
- Re: Promiscuous Mode
... promiscuous mode is a configuration of a network card ... Each packet includes the hardware address. ... a network card receives a packet, it checks if the address is its own. ... (Pen-Test) - Re: Udp sending performance in Gbit Ethernet
... > saw a sudden drop of perfromance for certain packet sizes. ... > there can be just so many reasons like interrupts and DMA. ... > such as the maximum DMA block size or alike, which forces the driver to ... Try different versions of the driver for the card. ... (microsoft.public.development.device.drivers) - Re: Udp sending performance in Gbit Ethernet
... >> saw a sudden drop of perfromance for certain packet sizes. ... >> such as the maximum DMA block size or alike, which forces the driver to ... >> split frames into several DMA transfers. ... Try different versions of the driver for the card. ... (microsoft.public.development.device.drivers) - Re: ath0 timeout problem - again
... when we track the oversized packages they we found they are coming from ... So the packet is real and it's being dropped at the 802.3 layer as it ... the problem is that the ath card stops working rendering the machine useless ... I do not get this problem with a wi prism card, when I switch to a wi card I ... (freebsd-stable) - Re: vr speed issues
... I get about 30-50% packet loss. ... I've got a VIA Rhine III card that I can dig out and put in if the data would be of any use/interest etc - FWIW I seem to recall being able to get reasonably close to wire speed when I was using it. ... I've had the vr hosts going through three different switches, patch cables, the in-house cabling, and the issue remains the same. ... device = 'VT6105M/LOM Rhine III PCI Fast Ethernet Controller' ... (freebsd-stable) |
|