|
From: <ch...@to...> - 2004-06-16 11:59:23
|
If you can ping coLinux from windows then you must be getting 2 way comunication because the reply needs to find its way back. Try pinging the windows machine from coLinux with the -v for verbose to see if that gives you any more info. Check on what Tim said is ping somehow blocked on your machine some firewall tools and possibly "policys" if a domain member block that to prevent ping based ddos. it would be nice to have a smarter option here that would block the port for 2 minutes after 5 pings were received instead of blocking this usefull tool all together. From the windows host can you ping 127.0.0.1 and 192.168.0.1 and your rea= l network interface ip address? Can you ping your windows outside ip from another real host on your lan? Get putty or some other ssh client and try to connect to coLinux from windows. XP home or pro? does it have a telnet and/or ftp server included or with cygwin or ssh server. or you can try smbclient or smbmount if you know samba just some other client to verify other than ping. Are you sharing your outside connection. can you get anything on the outside? view webpages etc. ( for ICS you should set the nameserver on linux to 192.168.0.1 not your real outside nameserver windows needs to proxy the requests in order for the reply to get back to the private address range.) also try changing the coLinux.default.xml file line to simply <network index=3D"0" type=3D"tap"></network> I do not think the mac and name are necessary and your problem might be here. I had a name=3D in my previous .xml file but had connectivity probl= ems when upgrading to coLinux-0.6.1 I removed the name and was ok. The wiki was written for older versions and I think the mac is only necessary for bridged networking. chris > Here is how look my colinux.default.xml > > <network index=3D"0" name=3D"coLinux" > mac=3D"00:0C:76:87:7D:49" type=3D"tap"></network> > > I can ping 192.168.0.40, which is network card under > coLinux, but I can't ping 192.168.0.1 which is gateway > under co Linux, and virtual network card under XP. > From XP I can ping 192.168.0.40. > --- ch...@to... wrote: >> I don't think the metric would make a difference >> (see man route if you >> havn't already) >> >> not shure why you don't have a loopback (127.0.0.1) >> but that should not >> matter for ping by address but may mess up other >> stuff. >> >> try Ilias's sugestion. but I think the index is >> supposed to corespond to >> the interface on the linux side ie: index=3D"0" for >> eth0 and index=3D"4" for >> eth4 >> I think I had a name=3D parameter in an older xml that >> I ended up removing >> to get it working with 0.6.1 >> >> chris >> >> > I get this: >> > # route >> > Kernel IP routing table >> > Destination Gateway Genmask >> > Flags Metric Ref Use Iface >> > 192.168.0.0 * 255.255.255.0 >> U >> > >> > 0 0 0 eth0 >> > default 192.168.0.1 0.0.0.0 UG >> > 0 0 0 eth0 >> > # >> > >> > As I see you have 1 at metric, and I have 0. >> > >> > --- ch...@to... wrote: >> >> run the route command on coLinux you should get >> >> something like this >> >> # route >> >> Kernel IP routing table >> >> Destination Gateway Genmask >> >> Flags Metric Ref Use Iface >> >> localnet * 255.255.255.0 U >> >> 0 0 0 eth0 >> >> loopback * 255.0.0.0 U >> >> 0 0 0 lo >> >> default 192.168.0.1 0.0.0.0 >> UG >> >> 1 0 0 eth0 >> >> # >> >> >> >> You may have not set the default gateway on the >> >> linux side. this can be >> >> done with the route command but will not persist >> >> across reboots. The way >> >> to do it so that it is set at boot is distro >> >> dependant. >> >> >> >> chris >> >> >> >> >> >> > I setup mz network as is in WiKi, and doesn't >> >> work. >> >> > I have WinXP and I can ping 192.168.0.40 from >> XP >> >> and >> >> > from coLinux. But I can't ping 192.168.0.1 from >> >> > coLinux I get a message Host unreachable ?? >> >> > I must say that I install Tap32-Win diver and >> it's >> >> > visible in Windows, but .... >> >> > >> >> > Windows IP Configuration >> >> > >> >> > >> >> > Ethernet adapter coLinux: >> >> > >> >> > Connection-specific DNS Suffix . : >> >> > IP Address. . . . . . . . . . . . : >> >> > 192.168.0.1 >> >> > Subnet Mask . . . . . . . . . . . : >> >> > 255.255.255.0 >> >> > Default Gateway . . . . . . . . . : >> >> > >> >> > Ethernet adapter Local Area Connection: >> >> > >> >> > Connection-specific DNS Suffix . : >> >> > IP Address. . . . . : *.*.*.*(not >> private >> >> > adress so I hide it) >> >> > Subnet Mask . . . . : 255.255.255.0 >> >> > Default Gateway . . : 212.102.130.1 >> >> > >> >> > >> >> > >> >> > __________________________________ >> >> > Do you Yahoo!? >> >> > Yahoo! Mail is new and improved - Check it out! >> >> > http://promotions.yahoo.com/new_mail >> >> > >> >> > >> >> > >> >> >> > >> > ------------------------------------------------------- >> >> > This SF.Net email is sponsored by The 2004 >> >> JavaOne(SM) Conference >> >> > Learn from the experts at JavaOne(SM), Sun's >> >> Worldwide Java Developer >> >> > Conference, June 28 - July 1 at the Moscone >> Center >> >> in San Francisco, CA >> >> > REGISTER AND SAVE! >> http://java.sun.com/javaone/sf >> >> Priority Code NWMGYKND >> >> > _______________________________________________ >> >> > coLinux-users mailing list >> >> > coL...@li... >> >> > >> >> >> > >> > https://lists.sourceforge.net/lists/listinfo/colinux-users >> >> > >> >> >> >> >> > >> > >> > >> > >> > __________________________________ >> > Do you Yahoo!? >> > Read only the mail you want - Yahoo! Mail >> SpamGuard. >> > http://promotions.yahoo.com/new_mail >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by The 2004 >> JavaOne(SM) Conference >> > Learn from the experts at JavaOne(SM), Sun's >> Worldwide Java Developer >> > Conference, June 28 - July 1 at the Moscone Center >> in San Francisco, CA >> > REGISTER AND SAVE! http://java.sun.com/javaone/sf >> Priority Code NWMGYKND >> > _______________________________________________ >> > coLinux-users mailing list >> > coL...@li... >> > >> > https://lists.sourceforge.net/lists/listinfo/colinux-users >> > >> >> > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKN= D > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |