Windows Thread, When pinging by hostname, returns weird ipv6? address? in Technical; When i ping my machines on my network by hostname it gets replies but resolves it to fe80::4b7:3785:3f57:fee2%18 for example ...
-
3rd October 2012, 10:46 PM #1
- Rep Power
- 0
When pinging by hostname, returns weird ipv6? address?
When i ping my machines on my network by hostname it gets replies but resolves it to fe80::4b7:3785:3f57:fee2%18 for example rather than 192.168.1.56 address for example. Is it an ipv6 address and whether or not it is how can i fix this to give me the ip. Assume its a DNS issue somewhere along the line...
-
-
IDG Tech News
-
3rd October 2012, 10:48 PM #2 I found it happens quite often when ISPs play with their dns servers replacing your own with theirs etc.
If you want to cheat just type "ping hostname -4" and it'll force it to show IPv4 version.
Steve
e.g.
Code:
C:\Users\steve>ping steve
Pinging steve [fe80::f8c6:39d:****:****: from fe80::f8c6:39d:****:****: wit
h 32 bytes of data:
Reply from fe80::f8c6:39d:****:****: time<1ms
Reply from fe80::f8c6:39d:****:****: time<1ms
Reply from fe80::f8c6:39d:****:****: time<1ms
Reply from fe80::f8c6:39d:****:****: time<1ms
C:\Users\steve>ping steve -4
Pinging steve [192.168.1.106] with 32 bytes of data:
Reply from 192.168.1.106: bytes=32 time=8ms TTL=128
Reply from 192.168.1.106: bytes=32 time=3ms TTL=128
Reply from 192.168.1.106: bytes=32 time=4ms TTL=128
Reply from 192.168.1.106: bytes=32 time=2ms TTL=128
Last edited by Steve21; 3rd October 2012 at 10:50 PM.
-
-
3rd October 2012, 10:48 PM #3 Yes ipv6 not an issue tbh.
Ben
-
-
3rd October 2012, 10:49 PM #4
- Rep Power
- 0
ah figured it out, add '-4' after the ping hostname and returns ipv4 addresses. anyway i can get ti to return ipv4 by default without the -4?
-
-
3rd October 2012, 10:55 PM #5 
Originally Posted by
AndyCan
ah figured it out, add '-4' after the ping hostname and returns ipv4 addresses. anyway i can get ti to return ipv4 by default without the -4?
It depends if it's set to default to it by whatever you're using as your default dns etc.
Generally if this is a once off occurance doing an "ipconfig /flushdns" will get rid of any cached address, but if it's defaulting to it it'll just get the same one again next time you look up an address.
Steve
-
SHARE: 
Similar Threads
-
By AndyD in forum Windows
Replies: 14
Last Post: 26th November 2008, 10:10 AM
-
By tomscaper in forum Wireless Networks
Replies: 16
Last Post: 1st May 2008, 02:29 PM
-
Replies: 3
Last Post: 9th May 2007, 12:31 PM
-
By SimpleSi in forum Windows
Replies: 15
Last Post: 29th September 2006, 01:42 PM
-
By mrforgetful in forum Wireless Networks
Replies: 13
Last Post: 8th July 2006, 10:03 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules