Take the 2-minute tour ×
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.

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

1 Answer 1

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

 
discard

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.