Results 1 to 3 of 3

Thread: Networking issue on CentOS 6.4 hyper-v Virtual Machine

  1. #1
    Junior Member
    Join Date
    Nov 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Unhappy Networking issue on CentOS 6.4 hyper-v Virtual Machine

    I have just installed a CentOS 6.4 hyper-v Virtual Machine. For some reason networking is not working. There is a red X on the networking icon and ifconfig does not show the static IP address I entered.

    Here is ifcfg-eth0 file:

    DEVICE=eth0
    HWADDR=
    TYPE=Ethernet
    UID=
    ONBOOT=yes
    BOOTPROTO=static
    IPADDRESS=192.168.1.6
    NETMASK=255.255.255.0

    I have setup GW in /etc/sysconfig/netwok file and nameserver in /etc/resolv.config.
    Had executed "service network restart", but no ip address. Seems something went wrong during guest installation related to networking component!!

    Note: Network Connection applet under System/Preferences also does not show any network connection. I tried to add a dhcp connection but no use!!

    I am Linux newbie and will greatly appreciate any help!

  2. #2
    Junior Member
    Join Date
    Nov 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Partially resolved

    Googled it and someone had suggested to disable Network Manager.
    I did that and enabled dhcp in ifconfig-eth0 file and networking is working. I can ping and browse internet but static ip still not working. After i edit ifconfig-eth0 with static IP it wont show up in ifconfig command?
    Thanks

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default wrong parameter

    i think you should use:
    IPADDR=x.x.x.x instead of IPADDRESS=x.x.x.x
    and you should set the right MAC address for the nic, you can find it under /etc/udev/rules.d/70-persistent-net.rules .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 24th October 2011, 11:43 AM
  2. Remote ssh access to virtual machine in office
    By bastianvs in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 28th May 2011, 03:37 PM
  3. core multiplexing vs virtual machine
    By sunils1973 in forum Linux hardware
    Replies: 4
    Last Post: 24th October 2010, 11:12 AM
  4. Can we mount Xen virtual disk on windows machine?
    By rakeshbaldha in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 23rd June 2009, 06:42 PM
  5. virtual machine detection
    By nikale in forum Getting started tutorials
    Replies: 1
    Last Post: 4th March 2008, 03:37 AM

Posting Permissions

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