Question
Virtual machines no longer can access the network. How can I check the configuration?
Environment
OnApp 5.x / 6.x
Answer
You can use the attached script to check for iptables rules for your VMs. If the rules do not exist, then you should perform a "rebuild network" task on affected VMs from the web interface.
Login to your control panel server through SSH.
Switch to the onapp user.
Copy or download the script.
Run the script:
bash checknics.sh
The output will tell you which VMs need to have their networks rebuilt.
Additional Info
This is not a comprehensive check for VM networking, though it is a useful one.
You may also need to check the bridges on the HVs (brctl show), or check the network switch and VLANs.