Search

Language:  
Search for:

Available article translations:

How to set up network for containers on node with two NICs

Article ID: 115346, created on Dec 25, 2012, last review on Aug 13, 2014

APPLIES TO:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Symptoms

A Hardware Node has two or more physical NICs plugged in to the same network switch. Containers on such network are not accessible over the assigned IP addresses.

Cause

Such configuration is not preferred, unless physical NICs are placed in VLANs or teamed into the bonding interface.

Resolution

Avoid such configurations when several physical NICs are plugged in to a single switch without VLANs or bonding.

Alternatively, it is possible to disable reverse path checks on those physical interfaces:

[root@myserver ~]# sysctl net.ipv4.conf.eth0.rp_filter=0 net.ipv4.conf.eth1.rp_filter=0 net.ipv4.conf.all.rp_filter=0

In order to preserve changes after reboot, make sure these settings are present in /etc/sysctl.conf

net.ipv4.conf.eth0.rp_filter = 0
net.ipv4.conf.eth1.rp_filter = 0
net.ipv4.conf.all.rp_filter = 0

NOTE: Replace eth0 and eth1 with actual adapters' names.

Additional information

The following knowledgebase articles can be useful when setting up network on the node or troubleshooting network problems in containers:

117979 Which bonding modes are supported on PVC/PCS/PSBM servers?

117980 Unstable network in containers in bridged mode

Search words:

bonding

several nics

physical nics




2897d76d56d2010f4e3a28f864d69223 a26b38f94253cdfbf1028d72cf3a498b 0dd5b9380c7d4884d77587f3eb0fa8ef e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f c62e8726973f80975db0531f1ed5c6a2

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification