Hostname not resolving to local IP address

后端 未结 4 1735
别跟我提以往
别跟我提以往 2021-01-22 08:02

I am running a Windows 8 VM inside of vmware Fusion. It runs inside a Mac running OSX 10.10 (Yosemite). The VM has a computer name of \"Proud\". When I ping the VM from within i

相关标签:
4条回答
  • 2021-01-22 08:41

    You need to check on your own /etc/host file. See if you might have done any changes to this file, to indicate the machine "Proud" comes as 192.168.0.138 or x.x.x.130? Next thing to ensure (user3666197 is actually right), you need to check on ifconfig to check if you have any connection have the IP address pointing to x.x.x.130 or x.x.x.138.

    Last but not least, is there any virtual appliance or instance running of "proud" which might have caused confusion as it is possible for any virtual appliance or instance to get a IP address from the same segment as well, hence having "two" machines on the network?

    Hope this helps. Check on your WINS config too...

    0 讨论(0)
  • 2021-01-22 08:45

    First, test and check with IP_address typed for ping from OSX 10.10 <host> terminal, so as to be independent of any DNS-service, that is responsible for a hostname translation of your <hostname> to a pre-configured IP_adress

    Second, You say bridged -- thus check, that the VM has the very same network-part of the IP_address ( boundary is given by non-zero bits in subnet-mask

    Check details with ifconfig resp. ipconfig

    -------------------------|-----------------------------|||--------|||.|||.|||.|||
    VM/w8  connected to VMnet? has IP_address := 192.168.0.??? subnet ???.???.???.???
    RM/OSX connected to VMnet? has IP_address := 192.168.0.??? subnet ???.???.???.???
    

    EDIT#12014-08-20 15:30 [UTC+0000]:

    -------------------------?-----------------------------???--------255.255.255.0
    -------------------------|-----------------------------|||
    

    Best to post PrintScreens from {OSX|w8} terminals {ping|ipconfig|ifconfig} and the setup of VMnet

    0 讨论(0)
  • 2021-01-22 08:47

    This seems to be a 'feature' of Mac OS. If I attempt to ping any hostname it will return the ping from this IP address - even if the hostname is fictional. I do not know why OS X does this.

    0 讨论(0)
  • 2021-01-22 08:58

    This is called DNS hijacking and is done by a lot of ISPs out there to redirect you on incomplete or wrong browser address inputs and show you these custom pages with advertisment 'Hey, we couldn't find your webpage Aple.com but maybe you look for Apple.com?'

    Maybe this is whats happening here. Btw, ISPs break RFCs here.

    0 讨论(0)
提交回复
热议问题