CentOS virtual machine NETWORK Config Oracle

 CentOS virtual machine NETWORK Config Oracle

Problem: CentOS 6 doesn't connect the eth interfaces by default.

Options:
  • Run ifup eth0 to try to bring the connection online.
  • Run system-config-network to configure the interface.
  • Configure the interface manually at /etc/sysconfig/network-scripts/ifcfg-eth0..
 1.Create this file: /etc/sysconfig/network-scripts/ifcfg-eth0 containing these lines
DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="dhcp"

2.sudo service network restart'


3. ping 8.8.8.8

0 pensamientos:

Post a Comment

feedback!