Search

Language:  
Search for:

Available article translations:

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

APPLIES TO:
  • Parallels Cloud Server 6.0
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server

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 ca05eaf5b843fbd53589c90d7228a6df bf1c3a170005eae151f49ba2720abde9 eb0ea3b827d18de2329b6477e24c1d59 909d99074e442b52ce54cc7b31cf065d 3d9560cc94370f9e1bd9256d230e5ee8

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 8 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification