LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2006, 12:50 AM   #1
TheRockster
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
TurboLinux-WinXp via crossed TP cable


Hi

Im trying to get my TurboLinux to work as a server for me to take care of downloads,the dsl line goes from the modem, and into my winxp machine, out from the xp via a crossed tp cable and into the linux machine but so far i have no luck to get it to work.

when i run a networking diagnostic on turbolinux everything seems to be fine there, it finds the host and ip adress, but im not able to get contact with xp or the web. on the winxp machine, i dont know if i have contact with the linux machine, but the "network has limited or no connection" message goes away when i hook up the cable between the machines.

is there anyone that knows what i need to do, exactly what adresses the put in and so on, im very greatfull for any help

thanks in advance

 
Old 03-15-2006, 05:54 PM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Windows XP doesn't do internet sharing by default. You would have to either enable this, or change your setup around so that the linux machine does the internet sharing (Linux IP Masquerading). There are various threads that have info on this.
 
Old 03-15-2006, 11:46 PM   #3
TheRockster
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hi

Thanks for ur answers.

I have enabled internett sharing in winxp, so normally it should be ok, it seems like the linux machine can ping the windows, but not the other way around.

if i try using the web browser on the linux machine i get the message, connection not accepted.

Im not sure about what to put in on the second ethernetcard thats in the windows machine, the one connecting to the linux, so far this is what i have set up;

win ether 1 (connects to the net via dsl modem) everything on auto, but got the ip 192.168.0.1

win ether 2 from win to linux, ip 192.168.0.2, subnett 255.255.255.0, gateway none.

linux ether, eth0 ip 192.168.0.3, subnett 255.255.255.0, gateway 192.168.0.1

on the linux machine there is also a connection called lo, or loopback, wich has ip 127.0.0.1 or something like that, should this be configured to something too?

again im greatfull for any help
 
Old 03-16-2006, 12:38 AM   #4
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Quote:
linux ether, eth0 ip 192.168.0.3, subnett 255.255.255.0, gateway 192.168.0.1
Since they're connected via a crossover cable, you would need to set the gateway to 192.168.0.2, since 192.168.0.3 and 192.168.0.1 don't have a direct path to each other.

However, I think your problem is most likely because you are using the same ip subnet, since you say the Linux machine can ping the Windows machine but not the other way around. The routing is 'confused'.

I would try setting it up more like:

DSL Modem -> WinNic1 (192.168.0.1) -> WinNic2 (192.168.1.1) -> LinuxNic (192.168.1.2 gateway 192.168.1.1)

You might have to set up the internet sharing again, but I think that a model like that would work better.

Give it a shot and post the results..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crossover cable for linux and winxp stanley_shilov Linux - Networking 26 11-20-2005 11:13 PM
TurboLinux Donald_McM Linux - Distributions 1 06-22-2005 06:08 PM
Sb5100 Cable Modem Slow In Mandrake Fast In Winxp camapa Mandriva 3 03-24-2005 07:22 AM
turbolinux laxmichawla Linux - Newbie 0 02-18-2005 02:09 AM
Thanks Turbolinux concoran Linux - General 3 08-21-2002 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration