Not able to access internet on linux VM, windows host

Issues related to configuring your network
User avatar
TrevorH
Forum Moderator
Posts: 26942
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Not able to access internet on linux VM, windows host

Post by TrevorH » 2017/07/28 13:08:07

So you edited /etc/sysconfig/network-scripts/ifcfg-$whateveryourinterface and add a line to it saying e.g

DNS1=8.8.8.8

and restarted the network?

Reverting to a static ip is as simple as changing BOOTPROTO=dhcp to none.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

pdk
Posts: 22
Joined: 2015/01/20 13:00:36

Re: Not able to access internet on linux VM, windows host

Post by pdk » 2017/07/31 07:43:28

Thanks a lotTrevor, but will try this option again and see may be when i take my laptop again for homeoffice where i use the NAT, in couple of days. Hope everything will work again, otherwise trouble you in case of issues.

Thanks,
Pdk

Post Reply

Return to “CentOS 6 - Networking Support”