Link to home
Start Free TrialLog in
Avatar of sharingsunshine
sharingsunshineFlag for United States of America

asked on

Mac VMWare fusion 6 Centos 6 Network Problem

I recently had to change my static ip address on my desktop and now I can't do any yum updates on my vmware centos guest.  With the old ip address it worked great.  I had it setup as a dhcp client.

[root@localhost network-scripts]# ifup eth0

Determining IP information for eth0... failed; no link present.  Check cable?

Open in new window


[root@localhost network-scripts]# yum install epel
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base

Open in new window


[root@localhost network-scripts]# if -a
> ^C
[root@localhost network-scripts]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0C:29:82:00:45  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1537 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1537 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1227144 (1.1 MiB)  TX bytes:1227144 (1.1 MiB)

pan0      Link encap:Ethernet  HWaddr 82:CA:BA:85:49:7E  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Open in new window


DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp

HWADDR=00:0C:29:82:00:45
TYPE=Ethernet
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
LAST_CONNECT=1443734490
NM_CONTROLLED=no

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sharingsunshine

ASKER

I changed to bridged and the network came up, thanks.
Thanks for the quick reply to my question.
Thanks for the update and I was happy to help. I am glad you got networking working for you.