Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed two identical versions of CentOS using VirtualBox. The first instance works fine and has ipv4 configuration automatically working, but the second instance doesn't; it only comes with ipv6 and no ipv4. How can I manually add ipv4 support?

share|improve this question

Have a look in /etc/sysconfig/network and see if NETWORK=yes is set on the machine without ipv4. That is normally what turns on netowrking if the appropriate packages are installed.

if it is missing add it and run service network restart . I think that will help.

See /usr/share/doc/initscripts-9.03.31 for docco.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.