Why I cannot initialize dummy interface at bashrc?
0
votes
2
answers
398
views
I did try to initialize a dummy interface in shell manually without no problem. In order to bring up this interface at every boot up process, then i tried to add it to
/etc/bashrc
or /etc/profile
as below:
ip link set name eth0 dev dummy0
ip link set eth0 address d0:17:c2:a9:a5:5e
ifconfig eth0 hw ether d0:17:c2:a9:a5:5e
I also added below config to /etc/modules-load.d/dummy.conf
but it did not worked as well.
/sbin/ip link set name eth0 dev dummy0
Asked by VSB
(175 rep)
Aug 23, 2018, 06:04 PM
Last activity: Aug 30, 2018, 05:56 PM
Last activity: Aug 30, 2018, 05:56 PM