Hi,
I have 2 machines on my network and a router.
my router is 192.168.1.1 and my machines are:
darkstar 192.168.1.15 (Ubuntu)
dazlaptop 192.168.1.16 (WXP)
These two machines share files and work, and when i am in windows XP i can go to the folder directory \\darkstar\ and it opens.
But when i type ping darkstar it says this:
Pinging darkstar [172.16.142.1] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
This is stupid because i can ping darkstar (192.168.1.15) and it works.
But i cant use the hostname.
So i tried flushing the dns.
ipconfig /flushdns
and it still does the same thing, I have no idea where it got this 172 B class network address from.
If I try it vice versa it still wont ping.
daz@darkstar:~$ ping dazlaptop
^C
daz@darkstar:~$ ping 192.168.1.16
PING 192.168.1.16 (192.168.1.16) 56(84) bytes of data.
64 bytes from 192.168.1.16: icmp_seq=1 ttl=128 time=1.48 ms
64 bytes from 192.168.1.16: icmp_seq=2 ttl=128 time=1.23 ms
^C
--- 192.168.1.16 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.231/1.355/1.480/0.129 ms
So it works Via IP, and for some reason samba works fine, but I have no clue why it wont let me flush the dns and let me use the hostname.
Also it only does this sometimes after the machines have been restarted.
Any ideaS?