From: Hein Roehrig <hein@acm.org>
To: linux-kernel@vger.kernel.org
Subject: network interface names ethX and renaming interfaces
Date: Fri, 07 Dec 2001 00:05:32 +0100 [thread overview]
Message-ID: <E16C7a8-00014B-00@qaip3> (raw)
Hello *,
in Linux 2.2.20 I have a problem renaming the network interface dummy0
to eth0 and then starting a regular ethernet driver --- I would like
it to come up as eth1 but it comes up as eth0, messing up the dummy0
interface.
Reading the source, it appears that in init_ethernev(), ethernet
drivers claim device names according to the array ethdev_index and
shoot down any device name eth0 claimed by a non-ethernet driver.
Therefore it appears to me that SIOCSIFNAME should either disallow
renaming to ethX or it should adjust ethdev_index.
Thanks in advance for any comment/advice,
Hein
next reply other threads:[~2001-12-06 23:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 23:05 Hein Roehrig [this message]
2001-12-10 7:45 ` network interface names ethX and renaming interfaces Neale Banks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E16C7a8-00014B-00@qaip3 \
--to=hein@acm.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox