Solving connectivity to container problem for openVZ

From Notes_Wiki
Revision as of 07:00, 11 January 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Troubleshooting_openVZ_issues|Troubleshooting openVZ issues</yambe:breadcrumb> =Solving connectivity to container problem for openVZ= If some of the contain...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Troubleshooting_openVZ_issues|Troubleshooting openVZ issues</yambe:breadcrumb>

Solving connectivity to container problem for openVZ

If some of the containers have interfaces added using '--netif_add' and such containers are started without adding the corresponding 'veth<n>.<m>' interface to a software bridge then complete networking of containers that use venet0 based network stops. To solve this problem use 'vzlist -a' to list all the containers which do not have IP address column and then use 'brctl addif <bridge> <interface>' command to add interface to appropriate bridge.