If you already have the correct modules loading for the cards,
Then just edit /etc/network/interfaces with a line for each card.
My /etc/network/interfaces file looks as such

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 192.168.1.121
        netmask 255.255.255.0
        gateway 192.168.1.1

auto eth1
iface eth1 inet dhcp

hope that helps

tyler
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, November 23, 2001 4:38 PM
To: MPfeifer
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: multiple eth interfaces


>> then you can use /etc/interfaces to configure as needed

OK i got it now so far that by typing "ifup eth1" it gives me the
correct
IPadres for eth1. but how can i automate this on startup? i am not
really a
genius in scripting yet, so i added "ifup eth1" at the end of
/etc/init.d/pcmcia
but that didn't work.
after booting both networkcards still have the same IPadres.

thanks for any hints

markus


--
(c) All Rights Recycled


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to