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

Re: Multiple network cards. Thanks!



>Mike Patterson <mike@col.hp.com> wrote:
>
>> Ok, let's see if I can describe my problem in a little more detail. 
>> 
>> I have a debian 1.3.1 system with two ethernet cards on it. Booting up
>> into DOS, the two cards are:
>> 
>> 1) IRQ 9, IO 300, BNC
>> 2) IRQ 5, IO 320, 10bT
>> 
>> They are both NE2000 cards. 
>> 
>> Trying to define these using ifconfig I get errors like:
>> SIOCSIFNETMASK: No such device
>> SIOCSIFADDR: No such device
>> 
>> I'm really getting lost and confused-- I have NE network cards compiled into
>> the kernel (not in a module). I have append = "ether=0,0,eth1" in the 
>> /etc/lilo.conf, like in the multiple ethernet mini-howto. 
>> 
>> Any help would be greatly appreciated. 
>
>append="ether=9,0x300,eth0 ether=5,0x320,eth1"

This line worked, where the other ones didn't. I guess order matters. 
It's showing up in /proc/interrupts and /proc/ioports now.

However, ifconfig still gives me a "no such device" error. 

>You didn't tell us if Linux actually found your cards.
>Try this:
>
># dmesg|grep ^eth
>eth0: NE2000 found at 0x320, using IRQ 10.
>eth1: 3c509 at 0x220 tag 1, BNC port, address  00 20 af 59 c8 1b, IRQ 12.
>eth2: 3c509 at 0x210 tag 2, BNC port, address  00 20 af 59 cc af, IRQ 5.
>eth3: 3c509 at 0x230 tag 3, BNC port, address  00 a0 24 b7 0e 77, IRQ 11.

After the change above, I do indeed see both show up:

#dmesg |grep ^eth
eth0: NE2000 found at 0x300, using IRQ 9
eth1: NE2000 found at 0x320, using IRQ 5

ifconfig finally allows me to execute the following commands: 

ifconfig eth0 192.168.0.1 netmask 255.255.255.0
ifconfig eth1 207.141.63.120 netmask 255.255.255.0

route add -net 192.168.0.0 netmask 255.255.255.0 eth0
route add -net 207.141.63.119 netmask 255.255.255.255 eth1

route add default gw 207.141.63.119 

(I have an internal BNC network running off eth0, and the rest of the internet
 on eth1 going through a gateway located at 207.141.63.119. )


And it looks like I'm off and running. Thanks everyone!!

---Mike


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: