Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 23
Hello, I have Linux server with VMware Server 1.0.8 . When I creating a virtual machine, I can not "send" a PING to the virtual machine . In the virtual ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18

    Question Linux - VMware Server 1.0.8 (Network)

    Hello,

    I have Linux server with VMware Server 1.0.8 .


    When I creating a virtual machine, I can not "send" a PING to the virtual machine .

    In the virtual machine, I have installed CentOS 5.3 (32bit).

    In the virtual machine I have defined the addresses IP.

    So, whey I can't "sent" a ping to the virtual machie?
    I have to set something on the Linux server?


    If something unintelligible tell me please.

    Thanks!

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    what type of network connection did you give to the guest VM? What is the IP address you assigned it and what is the IP address of the host?

    Post contents of the /etc/sysconfig/network-scripts/ifcfg-eth0 file on the guest.

  3. #3
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18
    Quote Originally Posted by coopstah13 View Post
    what type of network connection did you give to the guest VM? What is the IP address you assigned it and what is the IP address of the host?

    Post contents of the /etc/sysconfig/network-scripts/ifcfg-eth0 file on the guest.
    OK,
    The ip in the host is: 199.203.51.57
    The ip in the virtual machines is: 194.90.188.16-23

    /etc/sysconfig/network-scripts/ifcfg-eth0 :

    Code:
    # Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
    DEVICE=eth0
    BOOTPROTO=none
    HWADDR=00:14:5e:55:68:8e
    ONBOOT=yes
    NETMASK=255.255.255.0
    IPADDR=199.203.51.57
    GATEWAY=199.203.51.1
    TYPE=Ethernet
    I hope that I understood you

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    its on a separate network and it doesn't know how to route to the host, you need to add a route or make sure its on the same network...

  5. #5
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18
    Quote Originally Posted by coopstah13 View Post
    its on a separate network and it doesn't know how to route to the host, you need to add a route or make sure its on the same network...

    Bay a router is the only solution???

  6. #6
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    No, dont buy a router.

    As coopstah13 said: set the routes.
    So that the networks of the host and VMs know the way to each other.

  7. #7
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18
    Quote Originally Posted by Irithori View Post
    No, dont buy a router.

    As coopstah13 said: set the routes.
    So that the networks of the host and VMs know the way to each other.
    Can you tell me please how can i set the router?

  8. #8
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    That depends.

    Are the VMs
    - NATed,
    - bridged
    - or HostOnly?

    Which physical interface are the vmnets bound to?
    Can the VMs ping each other?

    That will have influence on the needed routes.
    Other than that, have a look at
    Code:
    man route

  9. #9
    Just Joined!
    Join Date
    Nov 2009
    Posts
    18
    Quote Originally Posted by Irithori View Post
    That depends.

    Are the VMs
    - NATed,
    - bridged
    - or HostOnly?

    Which physical interface are the vmnets bound to?
    Can the VMs ping each other?

    That will have influence on the needed routes.
    Other than that, have a look at
    Code:
    man route
    - bridged

    eth0
    yes

  10. #10
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    It's been a while, since I configured VMware.
    Can you please do a
    Code:
    ifconfig -a
    on the host, so that I dont mixup the VMnet devices.
    Bridge should be VMNET0, if memory serves.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...