I'm trying to set up two network adapters on portable ubuntu remix, which is based on colinux; one slirp for outgoing access, and one tap for fast communication with the host. The slirp host works just fine, but I can't communicate between the host and colinux using the tap interface.
I added the tap interface by downloading http://www.henrynestler.com/colinux/tools/netdriver-tap84.zip and running
tapcontrol.exe install OemWin2k.inf TAP0801co
. I renamed it to coLinux_Tap, so that it would be easy to differentiate between this and the Tap adapter I have for OpenVPN. I configured it with a static IP, 192.168.3.1/255.255.255.0, no gateway.
to my portable_ubuntu.conf file, and added a static config to /etc/networking/interfaces which reads:
auto eth1 iface eth1 inet static address 192.168.3.2 network 192.168.3.0 netmask 255.255.255.0 broadcast 192.168.3.255
When I boot Portable Ubuntu, the device remains disconnected, and no packets are seen in windows as being either sent or received. Ping from Windows returns "request timed out". Ping from Linux also times out, although there at least ifconfig indicates packets being sent (but not received) on eth1.
I've also tried forcing the "media connected" option in Windows to Always instead of Application Controlled, with no change. Any ideas?
EDIT: I think my routes are OK(ish).
If the device is not set to always connected, then no route exists for 192.168.3.anything, and it can't be added. If I force the coLinux_Tap device to be connected, it has a route set already:
c:\>route print | grep 192.168.3 192.168.3.0 255.255.255.0 192.168.3.1 192.168.3.1 20 192.168.3.1 255.255.255.255 127.0.0.1 127.0.0.1 20 192.168.3.255 255.255.255.255 192.168.3.1 192.168.3.1 20 22.214.171.124 240.0.0.0 192.168.3.1 192.168.3.1 20 255.255.255.255 255.255.255.255 192.168.3.1 192.168.3.1 1