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.
I am trying to set up a network between two machines one running red hat 7 and the other running Win 98. What I really want is to be able to serve web pages from the linux box using apache to the win box. I have the network cards installed and there is a green light on both the nics and the hub. The nic card is configured in the linux box and and ifconfig shows that it is functioning.
The Problem is:
I have not been able to ping from one computer to the next. I also have sendmail hanging on boot. I have listed below the networking settings for the two computers
Linux box
primary name + domain localhost.localdomain
ip 10.0.0.24
Net mask 255.0.0.0
eth0
Tulip
Windows
ip 10.0.0.25
The computers can ping themselves but not each other. I have heard that a problem in the resolv.conf file is responsible for the sendmail hang. When I look at most how to pages it says to contact my sys admin for some setting of another. In this situation I am the sys admin. Where do I come up with all of the IP and dns info?
Hi,,now I am a really really really fresh Linux Newbie (installed it yesterday) but i was under the impression that eth0 had to be the loopback 127.0.0.1 and the first device should be eth1. Then to add to that, I was told something today about the eth1 settings,,,hmm had something to do with gateway settings but cant remember now. I know I have not really helped, but my pathetic attempt to join the Linux comunnity may stir some othe Gurus into a reply (I hope so,,cos I have the same problem ;-))
J295, your IP address look fine. just make sure that you have the same subnet mask on both machines. I don't see why it shouldn't be working. You have good hardware connectivity. You really don't need a resolv.conf file unless you have connectivity to the internet. If you do, then you want to put the DNS host addresses in the file.
As for J2k, the eth0 interface is not the loopback device. eth0 on my machine is external, eth1 internal and lo is loopback. Here is the output of ifconfig on my machine (address have been masked to protect the innocent.)
I think that you have me confused with one of the other posters. I only have one ethernet card and it is the only one that the cable is connected to. Any other ideas.
I meant that I only have one card in the linux box and one in the windows machine. I am also using a hub. I have already changed the cables with no effect.
I finally got my computers to see each other. After replacing both the nics, the hub, cables, and reinstalling windows and linux about ten times the problem turned out to be an irq conflict in the Windows machine. I also knew that the problem was not in Linux to Windows protocols because I had also tried to network my laptop running Win Me to the Win 98 machine.
I noticed on another post that there was a guy who mentioned that to ensure that there were no irq conflicts make sure that the pnp os selection in the bios was set to no. I went in and changed that setting and amazingly everything worked. File sharing and internet connection sharing the whole nine yards. Hope that this helps someone else out there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.