Multus CNI using Ipvlan plug-in for multiple networks in OpenShift

Daein Park
2 min readFeb 16, 2021

In this article, I will show you how to configure the multiple networks in OpenShift using the Multus CNI based on ipvlan plug-in with other optional CNI plug-ins. Personally, I think the ipvlan CNI plug-in is the most useful and easy in most cases and environments due to less restrictions to use, I hope this demonstration to help your implementations. If you need more information about CNI, then it’s helpful to refer Using the Multus CNI in OpenShift I wrote first before reading this post.

Demonstration summary

I will demonstrate to add two ipvlan interface for a test pod, and test to connect each external network configured different networks. The above figure describes this in details. All tests has been conducted on OpenShift Container Platform v4.6.

Configuration procedures

Add two additional networks that have a routing rules on each of that through the Cluster Network Operator(CNO) CustomResource(CR) as follows. You also should configure GW can route each of external and network appropriately in advance before this testing.

Create a test pod with the two networks as follows.

Connectability test

Verify the added network interfaces on the scheduled node host using SSH or “oc debug node/NODENAME”.

Configured routing rule test as follows. You should prepare your testing web server in each external network. In my case, the web server IP is each of and It shows us → and → are available.

Yeah, all connection was successful to access to each web server on different networks.

Thank you for reading.



Daein Park

Hi, I’m Daein working at Red Hat. Just do something fun :) Nothing happens, if you do nothing. #OpenShift #Kubernetes #Containers #Linux #OpenSource