Announcement

Collapse
No announcement yet.

Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hosts

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hosts

    Hi All,

    I am facing a peculiar problem. Let me briefly describe it:

    --> I installed VMWare server on my desktop (OS is Win XP Home) and installed RHEL 4 as the Guest OS within VMWare.

    This VM has 2 Virtual NIC Cards.

    --> I am planning to install another Virtual Server with RHEL 4 again as the Guest OS for installing Oracle Database (10g Real Application Cluster, to be precise).

    --> When I modify /etc/hosts of the first VM to include the second VM (yet to be installed), I find that I am unable to ping the first VM from the Actual OS (Win XP Home).

    However, if I remove all the entries, except the localhost and the IP Address of the Guest OS, from /etc/hosts file of the first VM, then I am able to ping the first VM successfully from the Actual OS.

    This is preventing me from proceeding with the Oracle 10g RAC Installation.

    Any suggestions?

    Thanks in advance,

    Regards,

    Praveen

  • #2
    Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

    Originally posted by sunpraveen View Post
    Hi All,

    I am facing a peculiar problem. Let me briefly describe it:

    --> I installed VMWare server on my desktop (OS is Win XP Home) and installed RHEL 4 as the Guest OS within VMWare.

    This VM has 2 Virtual NIC Cards.

    --> I am planning to install another Virtual Server with RHEL 4 again as the Guest OS for installing Oracle Database (10g Real Application Cluster, to be precise).

    --> When I modify /etc/hosts of the first VM to include the second VM (yet to be installed), I find that I am unable to ping the first VM from the Actual OS (Win XP Home).

    However, if I remove all the entries, except the localhost and the IP Address of the Guest OS, from /etc/hosts file of the first VM, then I am able to ping the first VM successfully from the Actual OS.

    This is preventing me from proceeding with the Oracle 10g RAC Installation.

    Any suggestions?

    Thanks in advance,

    Regards,

    Praveen
    Very odd since on *nix systems /etc/hosts only deals with name resolution and should have nothing to do with ICMP responses.

    Out of curiosity, can you post both /etc/hosts versions and note which one seemingly allows a ping reply, and which one does not.

    Jas
    VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+
    boche.net - VMware Virtualization Evangelist
    My advice has no warranties. Follow at your own risk.

    Comment


    • #3
      Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

      Hi Jason,

      Pingable /etc/hosts
      __________________________________________________ __

      # Do not remove the following line, or various programs
      # that require network functionality will fail.
      127.0.0.1 localhost.domain localhost
      192.168.1.10 bkp1.myhome.com bkp1
      #10.10.0.10 bkp1-priv.myhome.com bkp1-priv
      __________________________________________________ __

      Unpingable /etc/hosts
      __________________________________________________ __

      # Do not remove the following line, or various programs
      # that require network functionality will fail.
      127.0.0.1 localhost.domain localhost
      192.168.1.10 bkp1.myhome.com bkp1
      192.168.1.20 bkp1-vip.myhome.com bkp1-vip
      10.10.0.10 bkp1-priv.myhome.com bkp1-priv
      192.168.1.11 bkp2.myhome.com bkp2
      192.168.1.21 bkp2-vip.myhome.com bkp2-vip
      10.10.0.11 bkp2-priv.myhome.com bkp2-priv
      __________________________________________________ __

      Regards,

      Praveen

      Comment


      • #4
        Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

        first of all
        Code:
        service iptables stop
        or
        Code:
        /sbin/iptables -F
        after that, make sure your routing table is correct
        ________
        Honda Pilot specifications
        Last edited by DYasny; 6th March 2011, 18:21.
        Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

        BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

        Comment


        • #5
          Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

          I tried both but to no avail.

          The sad part is that now I am UNABLE to ping the first VM with Linux from the host OS (Win XP Home).



          Help! Help!

          Regards,

          Praveen

          Comment


          • #6
            Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

            Strange. Are you still facing same problem?

            Just to confirm you are just putting new entries in hosts file and then machine becomes unpingable from other machines or hosts?

            Thanks.

            JK
            MCSE 2003, CCNA, VCP, ITIL Foundation

            Comment


            • #7
              Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

              Is firewall running in your Windows XP Home Edition ?
              Also are you using McAfee Antivirus in your Windows XP Desktop ?
              MCSE : Windows Server 2003

              Comment


              • #8
                Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                what kind of networking do you have set up for the VM?
                ________
                TOP PORTABLE VAPORIZER
                Last edited by DYasny; 6th March 2011, 18:29.
                Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                Comment


                • #9
                  Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                  Hi All,

                  I have installed Symantec (NAV Version - 10.1.6.600) on my desktop.

                  The OS is Win XP Home. I have disabled the firewall on the machine too.

                  Right now, I am unable to ping to the Linux OS on VMWare, irrespective of whether I modify the /et/hosts or not.

                  Thanks in advance,

                  Regards,

                  Praveen

                  Comment


                  • #10
                    Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                    ipconfig /all from your windows machine

                    ifconfig from the linux VM
                    ________
                    VAPORIZER AFFILIATE
                    Last edited by DYasny; 6th March 2011, 18:30.
                    Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                    BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                    Comment


                    • #11
                      Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                      O/P of ipconfig /all on Windows


                      Windows IP Configuration

                      Host Name . . . . . . . . . . . . : bsk
                      Primary Dns Suffix . . . . . . . :
                      Node Type . . . . . . . . . . . . : Unknown
                      IP Routing Enabled. . . . . . . . : Yes
                      WINS Proxy Enabled. . . . . . . . : No

                      Ethernet adapter VMware Network Adapter VMnet8:

                      Connection-specific DNS Suffix . :
                      Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
                      VMnet8
                      Physical Address. . . . . . . . . : 00-50-56-C0-00-08
                      Dhcp Enabled. . . . . . . . . . . : No
                      IP Address. . . . . . . . . . . . : 192.168.93.1
                      Subnet Mask . . . . . . . . . . . : 255.255.255.0
                      Default Gateway . . . . . . . . . :

                      Ethernet adapter VMware Network Adapter VMnet1:

                      Connection-specific DNS Suffix . :
                      Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for
                      VMnet1
                      Physical Address. . . . . . . . . : 00-50-56-C0-00-01
                      Dhcp Enabled. . . . . . . . . . . : No
                      IP Address. . . . . . . . . . . . : 192.168.235.1
                      Subnet Mask . . . . . . . . . . . : 255.255.255.0
                      Default Gateway . . . . . . . . . :

                      Ethernet adapter Local Area Connection 6:

                      Connection-specific DNS Suffix . :
                      Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
                      ernet NIC #2
                      Physical Address. . . . . . . . . : 00-16-76-66-C7-65
                      Dhcp Enabled. . . . . . . . . . . : No
                      IP Address. . . . . . . . . . . . : 192.168.1.36
                      Subnet Mask . . . . . . . . . . . : 255.255.255.0
                      Default Gateway . . . . . . . . . : 192.168.1.1
                      DNS Servers . . . . . . . . . . . : 61.1.96.69
                      61.1.96.71
                      Attached Files

                      Comment


                      • #12
                        Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                        Networking on the Desktop: 2 NIC Cards of which one is currently connected to a DSL Modem!

                        Networking on the VMWare: 2 NIC Cards - one bridged and the other Host only.

                        Comment


                        • #13
                          Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                          if you ping .1.36 from the linux box, what do you get?
                          ________
                          Atlas honda cg 125 specifications
                          Last edited by DYasny; 6th March 2011, 18:31.
                          Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                          BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                          Comment


                          • #14
                            Re: Guest OS (Linux) not pingable from HOST OS (Win XP Home) after modifying /etc/hos

                            The result is the same. Unable to ping from Linux (Guest OS) to Windows XP Home (Host OS) or vice-versa.

                            Comment

                            Working...
                            X