LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   TurboLinux-WinXp via crossed TP cable (https://www.linuxquestions.org/questions/linux-networking-3/turbolinux-winxp-via-crossed-tp-cable-424960/)

TheRockster 03-15-2006 12:50 AM

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

:study:

camh 03-15-2006 05:54 PM

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.

TheRockster 03-15-2006 11:46 PM

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

camh 03-16-2006 12:38 AM

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..


All times are GMT -5. The time now is 11:45 PM.