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 currently trying to share files on my linux box (Red hat 9). I know I want to use Samba, but first I must get my DNS correct on the network that all my windows machines are on. Correct?
Environment is as follows.
1. DNS server set as static gateway and DNS.
2. All machines are set as static and point to the server mentioned above.
3. Red hat machine can browse by name all windows machines on network and can access the Internet
4. Windows machines can ping red hat by ip, but not by name I gave it.
I do not want to go any further with a Samba setup until i have my windows machines pinging the red hat machine by name.
I don't know much about configuring a DNS server, but since they're static IPs, you can just specify in a file called "hosts" the IP and the assigned name of the computer. This works for BOTH windows and linux. In linux the file is in /etc. In windows I can't remember where it is but search for the file and it should be the only one called that. It's not the best solution but it is a solution.
ping and file sharing are seperate issues, netbios is not the same as dns.
Anyway if you have a dns server configured with the proper configuration for your lan then you need to configure the windows machines to use it, preferably with a proper dhcp server configuration.
I would recommend just adding the ip and hostname to the windows hosts file as stated above instead of using dns, unless you really need it for some other reason. pinging by name has nothing to do with microsoft network file sharing.
Last edited by DavidPhillips; 11-05-2003 at 12:56 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.