NEED help with NEtworking , PLEASe!!

SaintTigurius

Senior member
Apr 3, 2003
332
0
0
Have my linux router/firewall set up.. its using NAT for internet access and everything is peachy.. MSN is even working perfectly.
Anyway, only problem i'm having is name resolution. My local hostnames aren't resolving to IP's.... even the router cant do it correctly.
Any clue?
thank you :


please help!!!
 

ToxicWaste

Member
Dec 6, 2003
115
0
0
I'm assuming you don't have a DNS server for you lan. Nor do I recommend one. I could be way undersimplfying this, but all you need to do is add entries for each of your machines into the local hosts file on each machine. On you linux box, you should find /etc/hosts and it should have at least 1 entry, probably 2. You just need to add one for each other machine on your net. Windows XP hides the file at:
C:\WINDOWS\system32\drivers\etc\hosts

The file will have examples, but basically its IP address then a few spaces or a tab and the hostname:

127.0.0.1 localhost
192.168.0.1 server

Hope that helps...