Re: Multiple Network Interfaces per host -- possible?
Subject: Multiple Network Interfaces per host -- possible?
Date: Fri, Apr 20, 2001 at 11:15:48AM +0200
In reply to:Lukas Ruf
Quoting Lukas Ruf(ruf@tik.ee.ethz.ch):
> Dear all,
>
> I installed a second network interface into my host. The problem that
> arises: only the old one gets configured even I included the driver for
> the new one into the kernel as well.
>
> The one I had before -- that must remain eth0 -- is a 3COM 3c905B.
> The new one is an AMD-79c970-based PCNet LANCE.
>
> In /etc/network/interfaces -- I suppose -- I added analogously to the
> one of eth0:
>
> # automatically added when upgrading
> auto eth1
> iface eth1 inet dhcp
> hostname myhost-new
Just added a 2nd card a few days ago. Here is what I recall doing.
Read through the Net3 and Ethernet howto's first and then
/etc/network/aliases Had this for the first card
iface eth0 inet static
address 192.168.1.1
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
# so I added this for the 2nd card
iface eth1 inet static
address 192.168.1.10
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
up route add 192.168.1.10 netmask 255.255.255.0 gw 192.168.1.1
then in /etc/modutils/aliases
alias eth0 ne2k-pci
alias eth1 ne
options eth0 io=0x6500 irq=11
options eth1 io=0x300 irq=7
I added the necessary drivers in the kernel, compiled it, rebooted and
it Worked!
:-) HTH, YMMV, HAND :-)
--
In a few minutes a computer can make a mistake so great that it would
take many men many months to equal it.
_______________________________________________________
Reply to: