Click to See Complete Forum and Search --> : Routing tables...
Kraton
05-05-2001, 07:25 AM
Is there any file/config that works the way hosts does in windows?
I would like to specify a few names with specific IP addresses on my local lan.
Thanks.
ltrain
05-05-2001, 04:59 PM
If I understand you correctly...you are looking to associate ip addresses to hosts on your linux system/network -- look to the /etc/hosts file. Add an entry for each system you want to lookup. i.e.,
IP Address FQDN NetBIOS name
192.168.1.1 server.com server
Hope this helps?
Kraton
05-05-2001, 06:56 PM
That was what I was looking for - thanks.
Also, what is the syntax for the ping comnand so it doesn't run for ever?
ping -c number of packets to sendwill terminate ping after the specified # of packets have been sent.