[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two NICs



On Tue, 2002-08-06 at 02:52, Sridhar M.A. wrote:
> Hello,
> 
> I have two network cards on my machine. Both of them are ne2k-pci. While
> one of the card connects to the internal network, the other one is
> connected to the internet. Till recently, one of the cards was a realtek
> 8139 and the other ne2k-pci. My /etc/network/interfaces had entries like
> 
> iface eth0 inet static
>   address...
> 
> iface eth1 inet dhcp
> 
> Correspondingly /etc/modules.conf had these entries:
> 
>   alias eth0 ne2k-pci
>   alias eth1 8139too
> 
> As now both of them are ne2k-pci, I changed the /etc/modules.conf as
> 
>   alias eth0 ne2k-pci
>   alias eth1 ne2k-pci
> 
> But, now machine cannot connect to the internet through dhcp. How does
> one go about setting the interfaces when one or more cards are
> identical? man interfaces did not help me :-(

That should be fine, but since the system is not able to differentiate
based on card type, it is probably assigned eth# based on the PCI slot
which means that it's possible that the card that used to be eth0 is now
eth1, so just switch your cables probably.

-Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: