[Nottingham] Problems configuring second network card
Robert Davies
nottingham at mailman.lug.org.uk
Sat Apr 5 10:45:00 2003
On Saturday 05 Apr 2003 10:00, John@tesco wrote:
> Don't know if this will help but I bought a Zonet ZSR-0104 cable
> switcher/router from Compuplus on Mansfield Road for around £60. It can
> take 4 machines and has a built in firewall, is configurable for DMZ, URL
A linux based solution will work fine and has advantages over proprietary
solutions. The main disadvantage is having to keep the gateway host on, when
you want access from any machine in the internal network.
David you don't mention what distro you're running, it does help to include
more specific information. SuSE for example makes it very easy to configure
2nd network cards from a GUI, and RH and Mandrake have similar solutions.
Your first step would be to find out by which driver the card is supported.
Google, the SuSE hardware database and Red Hat's release compatability
information tend to be good sources.
eth1: ADMtek Comet rev 17 at 0xec00, 00:50:BF:9D:FE:FC, IRQ 11.
Now I have this in /etc/modules.conf and the onboard chip is an 8139C. The 2nd
card is and older 10baseT / 10 base2 Dlink PCI card, which talks to the NTL
modem.
alias eth0 8139too
alias eth1 ne2k-pci
Apr 4 18:44:13 ash kernel: 8139too Fast Ethernet driver 0.9.26
Apr 4 18:44:13 ash kernel: eth0: RealTek RTL8139 Fast Ethernet at 0xd0db3000,
00:30:1b:0b:26:42, IRQ 11
Apr 4 18:44:13 ash kernel: eth0: Identified 8139 chip type 'RTL-8139C'
So assuming you are using a modular kernel, you simply need to alias the 2nd
interface in modules.conf, then you can comment in the interface
configuration in your startup scripts.
Obviously you need to use a static address, and you might find it convenient
to run a DHCP server (keeps network config on one machine) and caching DNS
server, plus HTTP & ftp proxy like wwwoffle or squid on the gateway to
support the 'doze hosts.
Rob