Title: RE: 2 network cards

I guess you could also get into the device driver.  The kernel assigns the lowest possible network name available when you make the system call register_netdev().  Typically as I stated before the order in which the device driver would call this function is based upon which PCI slot they live in and which memory address is attributed with that slot.  So, the initial suggestion by Tony to look at the motherboard specs would prove most useful if the memory addresses ofr the PCI interfaces are listed there.  They may also be printed on the silkscreen of the Motherboard.  You could also change the driver to read them in a specific order, but it all depends on how detailed and low-level you want to get. :-)

If I were a betting man though, and if your machine were AT/ATX form factor in some kind of tower, eth0 would be the further from the base of the machine.

-Brad 

> -----Original Message-----
> From: Robert Dege [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 1:02 PM
> To: [EMAIL PROTECTED]
> Subject: RE: 2 network cards
>
>
>
> Actually, the assignment order is determined by the kernel itself.  I
> had an incident where botting to an updated kernel reversed the eth0/1
> binding to the physical card.  Booting back to the older card reverted
> them back.
>
> The best sure fire way to bind them would be:
>
> 1) use different model cards
> 2) load the drivers as modules & modify the /etc/modules.conf file
> accordingly.  This puts more control in your hands rather than the
> kernel.
>
> -Rob
>
>
> > At 11:20 AM 1/9/2002 -0800, Jackrabbit Slim wrote:
> > >Thanks, I got them configured.  One more question:  How
> can I tell which
> > >card (physically on the motherboard) is eth0 and eth1.  Are they
> > >automatically assigned in a certain order (e.g. top to bottom)?
> >
> > There is a deliberate order, but you may need to get the
> motherboard docs
> > to figure it out. Or you could disconnect one cable and see
> which network
> > connection you lose.
> >
> > Tony
> > --
> > Anthony E. Greene <[EMAIL PROTECTED]>
> > PGP Key: 0x6C94239D
> > AOL/Yahoo Chat: TonyG05
> > Linux. the choice of a GNU generation. <http://www.linux.org/>
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >
> --
>
> -Rob
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

Reply via email to