Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
How to map eth0 to a different interface

How to map eth0 to a different interface

2005-04-07       - By Cameron Simpson

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On 06Apr2005 23:01, Suraj Chandrasekaran <csuraj@(protected)> wrote:
| Nope, it didn't work for me...

If your NICs are from different vendors the modules.conf file will
do the trick. Here's one from a two NIC machine with a RealTek and an
Intel EEPro:

  alias eth0 8139too
  alias eth1 e100

This works because the boot process modprobes for "eth0" and so forth,
and this is translated into a suitable driver name. However, it is
probable that the interface number (eth0, eth1 etc) is an artifact of
the order in which the drivers get loaded, so that the first driver
grabs eth0 and so on. So the association only works because the
startup scripts ask for eth0 before eth1.

That approach won't work if your drivers are not modules or if your
cards use the same driver because modprobe isn't involved in the first
case and the modules.conf can't express a difference in the second case.

However, why care? Annoying though it is to have no control, provided
the same card is always eth0 and so on you can just assign addresses to
each as appropriate to match the network connections.

What's the underlying technical reason behind wanting to attach specific
interface names to particular cards?
--
Cameron Simpson <cs@(protected)> DoD#743
http://www.cskk.ezoshosting.com/cs/

Careful and correct use of language is a powerful aid to straight thinking,
for putting into words precisely what we mean necessitates getting our own
minds quite clear on what we mean.      - W.I.B. Beveridge

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.