PDA

View Full Version : CentOS 7 OpenVZ template on the old vzkernel 2.6.32-042stab - Networking issue



Fli
05-18-2017, 04:39 PM
Hello,

how to make networking work on the OpenVZ CentOS 7 template while i am on the OpenVZ CentOS 6 node with older kernel 2.6.32-042stab ?

After VPS was built i could successfully ping from the node to the VPS IP. But could not ping outside of the VPS or traceroute away.

I googled and tried to run command:
ifup ifcfg-venet0

it returned:

arping: Device venet0 not available.
RTNETLINK answers: File exists

and then i can ping out of the VPS. Unsure if this was the fix, i wanted to ask how to make the networking working in this case?

I thinked if i can add that command into /etc/rc.local to make networking work on boot?