Hi there
I am new to network using linux.
i have two pc's at home. I connected them together and did the following:
on the linux box named kro.intnet.mu after doing hostname kro.intnet.mu:
1. ifconfig lo 127.0.0.1
2. route add 127.0.0.1
3. ifconfig eth0 192.168.10.1 netmask 255.255.255.0 up
4. route add -net 192.168.10.0
5. In the /etc/hosts.conf i added the following:
192.168.10.1 kro.intnet.mu kro
192.168.10.2 amd.intnet.mu amd
on the windows machine
i did :
in the windows directory i looked of the hosts file and add the two lines
as above
My problem is that I cannot telnet doing the following from the windows
box:
telnet kro.intnet.mu but can do so only with telnet 192.168.10.1
I wonder why i cannot use the hostname of the linux machine cause on the
linux box i can do a ping 192.168.10.2 or ping amd or ping amd.intnet.mu
and it associates the name with the ip address.
Further more, why does i have to configure the eth0 everytime i reboot my
linux box?
Thanks
Patrick Ng
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]