[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to configure two network cards
- From: Matt Drew <mdrew redhat com>
- To: <redhat-install-list redhat com>
- Subject: Re: how to configure two network cards
- Date: Tue, 3 Jul 2001 12:39:40 -0400 (EDT)
> I am not as such experienced in "Problem Solving" but am giving it a go
> here....
>
> The way you have worded your query seems like you have just started on
> Linux like me :)
>
> The way I understand what is happening in your machine is, you have one
> device configured as eth0. When you plug one card it takes that....either
> of the cards, the first one or the second one. Since you do not have your
> second device configured, you can't really do much.
Yep -- since the cards are the same, when one is removed, the other
assumes the configuration. As was mentioned before, under Red Hat Linux
you should have two configuration files:
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
Both of these need to contain the setting for their respective cards. In
addition, you should have these two lines in /etc/modules.conf:
alias eth0 3c59x
alias eth1 3c59x
or
alias eth0 3c90x
alias eth1 3c90x
depending on which driver you are using (I think RH 6.2 had only the 3c59x
for the PCI 3c905 series of cards, but don't hold me to that). This will
only work for the 3c905 series of cards and a few others -- see the
hardware compatibility list for the list of which cards work with what
driver.
Last, you might need to have a default gateway set in
/etc/sysconfig/network, like this:
GATEWAY=123.123.123.123
GATEWAYDEV=eth0
or eth1, depending on which interface connects to your default gateway.
There may also be routing information that you need to add, but that would
be unlikely in this case.
> %> netcfg
>
> and this will more or less make your life easier. (Some other expert may
> be able to tell you if this thing existed in 6.2 or not...if not, you may
Yep, it did:
netcfg-2.25-1.noarch.rpm
> want to try out linuxconf as that can also do the task for you).
Avoid the use of linuxconf if you can. It was not included by default in
7.1, and will be going away very soon.
Matt
--
Matt Drew
Peer Review team lead
Red Hat Consumer Services
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]