Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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?
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'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.