[plug] 2nd NIC not loading
Jon Miller
jlmiller at mmtnetworks.com.au
Wed Jul 21 11:20:19 WST 2004
Looking in /etc/modules there isn't a listing for the 1st nic so if I put this in will this file load before the the 1st nic is loaded?
Thanks
Jon L. Miller, MCNE, CNS, ASE
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au
"I don't know the key to success, but the key to failure
is trying to please everybody." -Bill Cosby
>>> r.steicke at bom.gov.au 7:17:20 pm 20/07/2004 >>>
On Tue, Jul 20, 2004 at 07:54:13PM +0800, Jon Miller wrote:
> Like to know where and how do I get the 2nd NIC in a Debian server to
> load the module at bootup. It's a e100.o driver for the Intel
> Ethernet Card and it does not load automatically. I have to issue a
> insmod command to load the module and then the commands to load eth1
> and the default gateway.
Put a line "e100" in /etc/modules. Make sure it's after the line for
the first network interface so that the e100 becomes eth1.
> Also I want to make 192.168.100.1 the default gateway for the server
> as this point to the router interface.
The gateway line in /etc/network/interfaces as you have it below should
do that. If, after boot, you're currently doing
modprobe e100
ifup eth1
your default gateway should be set automatically. If you're issuing
ifconfig commands instead of ifup, then you'll have to set the gateway
yourself (like you've said you're doing now).
But if you load the module automatically (by referencing it in
/etc/modules), then eth1 will exist when the network gets configured,
and all will be good.
> I have the configuration for the /etc/network/interface
>
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> # The loopback interface
> auto lo
> iface lo inet loopback
>
> # The first network card - this entry was created during the Debian installation
> auto eth0
> iface eth0 inet static
> address 192.168.1.99
> netmask 255.255.255.0
>
> auto eth1
> iface eth1 inet static
> address 192.168.100.2
> netmask 255.255.255.0
> gateway 192.168.100.1
--
Russell Steicke
-- Fortune says:
No matter how much you do you never do enough.
_______________________________________________
PLUG discussion list: plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
Committee e-mail: committee at plug.linux.org.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20040721/84c07100/attachment.htm>
More information about the plug
mailing list