Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] dummy0 network interface

134 views
Skip to first unread message

Raffaele BELARDI

unread,
Mar 5, 2014, 4:30:02 AM3/5/14
to
After a recent world update I have a new network interface in addition
to 'lo' and the real network interface ('eth0', now named 'enp1s4'):

# ifconfig dummy0
dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500
ether 2e:a2:4b:cb:f2:3f txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 51 bytes 19992 (19.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

# udevadm info -p /sys/class/net/dummy0
P: /devices/virtual/net/dummy0
E: DEVPATH=/devices/virtual/net/dummy0
E: IFINDEX=2
E: INTERFACE=dummy0
E: SUBSYSTEM=net

I'm using sys-fs/udev-210 on an ~amd64 with the predictable network
interface names.

Does anybody know where this dummy0 interface comes from?
Can I (or should I) disable or remove it?

thanks,

raffaele

Alan McKinnon

unread,
Mar 5, 2014, 4:40:02 AM3/5/14
to
CONFIG_DUMMY set in the kernel?


--
Alan McKinnon
alan.m...@gmail.com

Neil Bothwick

unread,
Mar 5, 2014, 4:40:02 AM3/5/14
to
On Wed, 5 Mar 2014 10:28:09 +0100, Raffaele BELARDI wrote:

> After a recent world update I have a new network interface in addition
> to 'lo' and the real network interface ('eth0', now named 'enp1s4'):

"a recent world update" means nothing to us, it coud have included
anything.

> # ifconfig dummy0
> dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500
> ether 2e:a2:4b:cb:f2:3f txqueuelen 0 (Ethernet)
> RX packets 0 bytes 0 (0.0 B)
> RX errors 0 dropped 0 overruns 0 frame 0
> TX packets 51 bytes 19992 (19.5 KiB)
> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

> Does anybody know where this dummy0 interface comes from?
> Can I (or should I) disable or remove it?

It's nothing to do with udev, it is a kernel feature, enabled by
CONFIG_DUMMY. You can disable it if you wish, or build it as a module in
which case the interface will not appear until you modprobe it.


--
Neil Bothwick

C&W music backward: get yer dog, wife, job, truck, kids, and sobriety
back.
signature.asc

Raffaele BELARDI

unread,
Mar 5, 2014, 5:00:03 AM3/5/14
to
Alan McKinnon wrote:
> On 05/03/2014 11:28, Raffaele BELARDI wrote:
>> After a recent world update I have a new network interface in addition
>> to 'lo' and the real network interface ('eth0', now named 'enp1s4'):
>>
>> # ifconfig dummy0
>> dummy0: flags=195<UP,BROADCAST,RUNNING,NOARP> mtu 1500
>> ether 2e:a2:4b:cb:f2:3f txqueuelen 0 (Ethernet)
>> RX packets 0 bytes 0 (0.0 B)
>> RX errors 0 dropped 0 overruns 0 frame 0
>> TX packets 51 bytes 19992 (19.5 KiB)
>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>
> CONFIG_DUMMY set in the kernel?
>

Yes, that's it, thanks.
0 new messages