TCPIP/NDIS driver issue
-
Im developing an NDIS adapter driver, to pass standard TCP/IP traffic over a nonstandard medium, and am having problems with ICMP echo request/replies. With the driver set up on 2 machines (IPs 1.2.3.4 and 1.2.3.5), I can drop to a command prompt on 1.2.3.4 and ping 1.2.3.5. An ARP is given to my driver, which is sent to the broadcast address, and 1.2.3.5 sends an ARP reply back to 1.2.3.4. An ICMP echo request is then transmitted from 1.2.3.4 to 1.2.3.5, and it is sent through my driver to 1.2.3.5. It appears to be successful in transmission, as the packet is packaged up in an NDIS_PACKET, and sent up to NDIS, and NDIS calls my MiniportReturnPacket function, however 1.2.3.5 never generates an ICMP reply. I have verified that the IPs and subnet masks are set up correctly, and that even though Im using the same driver on both machines, the MAC address's are unique. Anyone have any ideas as to what could be wrong? Thanks in advance. Jesse Rosalia