From: Henry N. <Hen...@Ar...> - 2007-08-20 14:34:38
|
Dave Coventry wrote: > >What coLinux version you are using? > Cooperative Linux Daemon, 0.8.0 > Compiled on Wed Apr 25 22:19:16 2007 Ok. Is good. There no such problems known. I can give some hints, hope one of will help you. Please check, that TAP dosn't have an gateway. TAP and your real Ethernet card should have different networks (192.168.4.0 and 192.168.0.0 in my example). Here you can see an example from XP, where coLinux is running: C:\>ipconfig Windows-IP-Konfiguration Ethernetadapter TAP-Colinux: Verbindungsspezifisches DNS-Suffix: IP-Adresse. . . . . . . . . . . . : 192.168.4.71 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : Ethernetadapter LAN-Connection: Verbindungsspezifisches DNS-Suffix: terminal IP-Adresse. . . . . . . . . . . . : 192.168.0.71 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : 192.168.0.4 In my case slirp use the default gateway (german: "Standardgateway") 192.168.0.4 for all outgoings. If SLiRP is not working, then try "tracert.exe www.google.com" on Windows. Does this work? C:\>tracert www.google.com traceroute to www.google.com (209.85.129.147), 30 hops max: 1 <1 ms <1 ms <1 ms nameserver.local [192.168.0.4] ... In the example should see your current gateway as first router (my 192.168.0.4). If slirp not working, then it's working with ipaddresses instead the names? This can be a problem with DNS. For example inside coLinux try to get www.google.com page (adress seen on windows side from tracert): cd /tmp wget 209.85.129.147 An fixed "HWaddr" in the coLinux config is mutch better for DHCP clients. Configure this in the coLinux config as follow: eth0=slirp,00:11:22:33:44:55 An other problem is perhaps the losing packets from dhcp. You would see the difference from working and non working by "ifconfig eth0" inside colinux, and compair all numbers in the line "inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0". If some are different, then setup slirp inside coLinux with static address http://colinux.wikia.com/wiki/Network#SLiRP_with_Static_IP_Address Be carefully to have netmask 255.255.255.0 and broadcast 10.0.2.255 for slirp. SLiRP use non standard netmask. -- Henry |