Nov 10

Configure virtual network interface in Centos

Unlike windows, Linux is so flexible in networking. It has lots of built-in networking tools to customize, according  to end user requirement. When look at the Linux virtual interfaces, they are useful for web servers, load balancing servers and proxy servers etc. Here I’m going guide how to configure virtual network interface in Centos ,but other Linux flavors process is similar.

1) Check available physical interfaces

2) Create virtual interface

This example going to create virtual interface for  Linux physical interface called “ens192”

vim /etc/sysconfig/network-scripts/ifcfg-ens192:0

if it is DHCP change boot protocol as below

then save and exit

3) start virtual interface


4) Verification

out put will shows newly created virtual interface, just like below


Leave Your Thought Here