From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100b1f,7ff96e5c1840c016,start X-Google-Attributes: gid100b1f,public X-Google-Thread: 111c93,7ff96e5c1840c016,start X-Google-Attributes: gid111c93,public X-Google-Thread: 10669a,7ff96e5c1840c016,start X-Google-Attributes: gid10669a,public From: Terran Lane Subject: Linux/Alpha box as gateway: can't recognize 2 network adapters Date: 1998/09/24 Message-ID: #1/1 X-Deja-AN: 394703573 Organization: Purdue University Newsgroups: comp.os.linux.networking,comp.os.linux.alpha,comp.os.linux.help I'm trying to configure my Linux/Alpha box (RedHat 4.0, Linux 2.0.32) to run as a gateway between an ethernet LAN and an ADSL connection to an ISP. I think that in principle this should be easy (although I'm far from being a network admin), but I'm having problems getting the 2 network adapters to be recognized simultaneously. I have an SMC ISA EzCard10 and an ancient NE2000 knockoff (also ISA -- I've been using it in a small LAN for years with no problem, so I don't think it's a NE2000 compat problem). Both seem to run fine under the good old NE2000 driver, but only one at a time -- on boot, the probe finds one or the other but not both. I've tried the incantation in the Multiple-Ethernet mini-HOWTO: boot sda4:vmlinux.gz root=/dev/sda4 ether=0,0,eth1 and the variant (the SMC docs claim that IO addrs from 0x200-0x3E0 are acceptable, and IRQ 10 seems to be available according to /proc/interrupts): boot sda4:vmlinux.gz root=/dev/sda4 ether=10,0x200,eth1 but no dice. Neither card is jumpered and I'm a bit lost on how to force them into particular IRQ/IOaddr configs. The SMC card claims to be PnP, but the other far predates that technology (and I don't know how to control PnP under Linux anyway). Anyway, any clues would be deeply appreciated. Please, please, please respond via email -- I try to keep up with the news, but get swamped easily... Many thanks in advance for any/all assistance. P.S. On a separate, but related, note -- what is the appropriate assignment of IP addrs to the two network adapters on the gateway box? (Told you I'm not a network admin... ;-) We have static IP addrs for the machines on the internal LAN, and obviously the adapter connected to the ADSL line has to have the number for the gateway machine, but can the same number also be assigned to the other network adapter in the same box? Or can I get away with assigning that adapter a private number from one of the reserved local network address blocks (e.g. 192.168.0.1), and pointing the other machines on the LAN to that as gateway? -- Terran Lane email=terran@ecn.purdue.edu WWW=http://mow.ecn.purdue.edu/~terran/ PGP key=http://mow.ecn.purdue.edu/~terran/facts/pgp_key.html "But I don't want to go among mad people," Alice remarked. "Oh, you can't help that," said the Cat: "we're all mad here. I'm mad. You're mad." "How do you know I'm mad?" said Alice. "You must be," said the Cat, "or you wouldn't have come here."