Sample Header Ad - 728x90

dummy interface on linux

5 votes
1 answer
6871 views
I need to create a second separate virtual interface on Linux. I choose dummy. And do these steps: $ cat /etc/modules-load.d/dummy.conf # Load dummy.ko at boot dummy $ cat /etc/sysconfig/network-scripts/ifcfg-ethdummy1 NAME=ethdummy1 DEVICE=ethdummy1 MACADDR=00:22:22:ff:ff:ff IPADDR=10.10.10.1 NETMASK=255.255.255.0 ONBOOT=yes TYPE=Ethernet NM_CONTROLLED=no Seems like everything works. But on the net I see that people do these lines also: $ cat /etc/modprobe.d/dummy.conf install dummy /sbin/modprobe --ignore-install dummy; /sbin/ip link set name ethdummy1 dev dummy0 What's the point of this line ? Thanks.
Asked by Edvinas (51 rep)
Dec 9, 2019, 02:18 PM
Last activity: Mar 11, 2025, 08:05 PM