| | |
cant ping hostname
![]() |
•
•
Join Date: Oct 2009
Posts: 4
Reputation:
Solved Threads: 0
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?
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?
•
•
Join Date: Oct 2009
Posts: 3
Reputation:
Solved Threads: 0
You have no common DNS server to translate the name. It may be possible to add the IPs to the individual hosts file on each PC if you really need to use names. If you are just mapping you can use the IP\share....
•
•
•
•
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?
•
•
Join Date: Oct 2009
Posts: 4
Reputation:
Solved Threads: 0
0
#3 Oct 13th, 2009
I dont mind, i know how to add it to the linux one /etc/hosts but how do you add it in windows?
0
#5 Oct 13th, 2009
The windows host file is located in
%systemroot%\system32\drivers\etc which translates to C:\WINDOWS\system32\drivers\etc\hosts on 32bit versions of windows. Last edited by sknake; Oct 13th, 2009 at 3:38 am.
![]() |
Similar Threads
- Ping Returns 'Destination Host Unreachable' (Networking Hardware Configuration)
- Cannot ping by hostname (Domains and DNS)
- Unable to ping to one machine on network (Windows NT / 2000 / XP)
- Can some one please help me? (Windows NT / 2000 / XP)
- qusac: Cannot ping by hostname (Networking Hardware Configuration)
Other Threads in the Domains and DNS Forum
- Previous Thread: appraise my own domain name?
- Next Thread: Country Associated with Domain: How/Where?
| Thread Tools | Search this Thread |
2010 apps brands broadband business copyright country cybersquatting dns dnsservers domain domain-name domainname domains economy flake gay google government hacker hacking icann intellectual internet ip ipv6 kaminsky legal mapping marketing measurment microsoft networking news payperclick phishing property registration rural security securityflaw size strider terrorism top10 trademark typo-squatting verisign web zone






