+ Post New Thread
Results 1 to 5 of 5
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 ...
  1. #1

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6

    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...

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    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.

  3. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,713
    Thank Post
    667
    Thanked 1,636 Times in 1,462 Posts
    Rep Power
    424
    Yes ipv6 not an issue tbh.

    Ben

  4. #4

    Join Date
    Mar 2012
    Location
    Canada
    Posts
    117
    Thank Post
    2
    Thanked 2 Times in 1 Post
    Rep Power
    6
    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?

  5. #5

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,698
    Thank Post
    335
    Thanked 516 Times in 484 Posts
    Rep Power
    180
    Quote Originally Posted by AndyCan View Post
    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:
+ Post New Thread

Similar Threads

  1. Replies: 14
    Last Post: 26th November 2008, 10:10 AM
  2. Machines returning same IP address
    By tomscaper in forum Wireless Networks
    Replies: 16
    Last Post: 1st May 2008, 02:29 PM
  3. Replies: 3
    Last Post: 9th May 2007, 12:31 PM
  4. DNS - can't ping by computer name
    By SimpleSi in forum Windows
    Replies: 15
    Last Post: 29th September 2006, 01:42 PM
  5. Ping an IP address and log results
    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
  •