MATLAB: Am I unable to establish a connection between the host and target machines while using an external Ethernet card in xPC Target 3.3 (R2007b)

carddualethernetportSimulink Real-Time

I have a host and target machine connected using a Ethernet crossover cable. Even though my target machine has an inbuilt Ethernet card, I am using the supported PCI Ethernet card which is supplied with xPC Target.
I am able to connect the two machine over the network when the target machine is booted via Windows, but I am unable to ping the target machine from the host machine when I have xPC running on the target machine.
I get the following error when I run XPCTEST:
### xPC Target Test Suite 3.3
### Host-Target interface is: TCP/IP (Ethernet)
### Test 1, Ping target system using standard ping: ... FAILED
### Test 2, Ping target system using xpctargetping: ... FAILED
Both standard Windows ping and xPC Target ping have failed.
There may be a problem with your TCP/IP connection.

Best Answer

One possible reason for this issue is that the onboard Ethernet has an xPC Target supported chipset. xPC Target queries the motherboard in order to find a supported Ethernet chipset. If xPC Target finds a supported Ethernet chipset, it does not query to see if there are other Ethernet boards present.
A workaround for this issue is to connect the xPC target machine's onboard Ethernet port to the host machine via the crossover Ethernet cable and run XPCTEST to confirm that the host and target machines are able to communicate properly.