Win2K and Linux Connection!
-
Hello, the CPians around the world.;) Today, I got $20 DSL Router, and did some experiment between Win2K and RedHat Linux. X| So far, I succeeded in the peer-to-peer connection between Linux with DHCP Server and Win2k with 2 NICs by DHCP Client. However, I failed in the peer-to-peer connection between Linux with a static IP address and Win2k with a static IP address by Hub.:(( (Actually, does anyone do this?):confused: Since today, I got the router, I set this one between Linux and Win2k. Well, I didn't use WAN connection with this router, and only use this inside LAN. Anyway, it works without Linux DHCP Server.:cool: Only problem is that ping command from Linux to Win2k start too slowly since I guess that ping packet try to find the target to WAN connection which doesn't exist.:confused: But, now I don't have the problem with Linux DHCP Server to reboot my Win2k when I want to use Linux Box.:-D Sometimes, I feel that Network issue is more difficult than the programming.:~ -Masaaki Onishi (eCoolSoft)- ASP.NET and Windows Development by C# and MFC. http://www.ecoolsoft.com
-
Hello, the CPians around the world.;) Today, I got $20 DSL Router, and did some experiment between Win2K and RedHat Linux. X| So far, I succeeded in the peer-to-peer connection between Linux with DHCP Server and Win2k with 2 NICs by DHCP Client. However, I failed in the peer-to-peer connection between Linux with a static IP address and Win2k with a static IP address by Hub.:(( (Actually, does anyone do this?):confused: Since today, I got the router, I set this one between Linux and Win2k. Well, I didn't use WAN connection with this router, and only use this inside LAN. Anyway, it works without Linux DHCP Server.:cool: Only problem is that ping command from Linux to Win2k start too slowly since I guess that ping packet try to find the target to WAN connection which doesn't exist.:confused: But, now I don't have the problem with Linux DHCP Server to reboot my Win2k when I want to use Linux Box.:-D Sometimes, I feel that Network issue is more difficult than the programming.:~ -Masaaki Onishi (eCoolSoft)- ASP.NET and Windows Development by C# and MFC. http://www.ecoolsoft.com
Masaaki Onishi wrote: I feel that Network issue is more difficult than the programming. You're quite right about that! Programming is child's play compared to making a mixed-host network perform properly. Although I find it difficult to fully understand what you describe, it sounds like an interesting experiment. If I understand correctly, you have a Win2K host, a Linux host, and a router all on the same peer-to-peer network. Any and all of the three can provide DHCP service, but you can only have one active DHCP Server on a segment. Pick one, and disable the other two. Personally, I'd let the router do it, in addition to providing an Internet gateway. Shut down the DHCP service on your Win2K and Linux boxes, and set them both to use the router's internal IP address as the default gateway. Make sure the PCs and the router are all on the same subnet - you do that by setting the scope on the router's DHCP service to a fixed range - then make both the PCs accept automatic settings in the TCP/IP configuration. The only other setting I can think of that might need adjustment is in the Router's routing table; you might need to tell it which addresses are local, and which are on the Internet. Nobody wants to read a diary by someone who has not seen the shadow of Bubba on the prison shower wall in front of them!
Paul Watson, on BLOGS and privacy - 1/16/2003 -
Masaaki Onishi wrote: I feel that Network issue is more difficult than the programming. You're quite right about that! Programming is child's play compared to making a mixed-host network perform properly. Although I find it difficult to fully understand what you describe, it sounds like an interesting experiment. If I understand correctly, you have a Win2K host, a Linux host, and a router all on the same peer-to-peer network. Any and all of the three can provide DHCP service, but you can only have one active DHCP Server on a segment. Pick one, and disable the other two. Personally, I'd let the router do it, in addition to providing an Internet gateway. Shut down the DHCP service on your Win2K and Linux boxes, and set them both to use the router's internal IP address as the default gateway. Make sure the PCs and the router are all on the same subnet - you do that by setting the scope on the router's DHCP service to a fixed range - then make both the PCs accept automatic settings in the TCP/IP configuration. The only other setting I can think of that might need adjustment is in the Router's routing table; you might need to tell it which addresses are local, and which are on the Internet. Nobody wants to read a diary by someone who has not seen the shadow of Bubba on the prison shower wall in front of them!
Paul Watson, on BLOGS and privacy - 1/16/2003Roger Wright wrote: Programming is child's play compared to making a mixed-host network perform properly. I vote understatement of the year on that one! I agree hardware routers tend to cause issues with Static IP Configs -:suss:Matt Newman / Windows XP Activist:suss:
"Well, the guy that's giving you a hard time is a f***in moron, and you can tell him thats straight from another Linux user." - John Simmons on Linux Users
Just do the American thing and shoot him... - Jim Crafton on Linux Users
...no matter where you wear your towel, the law is the law... - Christian Graus on the law