[olug] Two Network Cards

Obi-Wan obiwan at jedi.com
Fri Mar 7 21:08:54 UTC 2008


> I need help installing and configuring a debian machine with two network
> cards.  One card will run on dhcp the other will have a static ip on a
> different network.  Is there anyone who would like to help me with that? I
> could pay for your time.  Let me know ASAP.

Debian uses the single file /etc/network/interfaces to configure its
interfaces.  The following should create eth0 as DHCP and eth1 as a
static IP.  If the static network isn't your default gateway, then
remove the "gateway" line.

------------------------- Achilles tendon - cut here -------------------------
auto lo
iface lo inet loopback

iface eth0 inet dhcp

iface eth1 inet
address 192.168.225.2
netmask 255.255.255.0
gateway 192.168.225.1
------------------------- Achilles tendon - cut here -------------------------


-- 
Ben "Obi-Wan" Hollingsworth                             obiwan at jedi.com
   The stuff of earth competes for the allegiance I owe only to the
     Giver of all good things, so if I stand, let me stand on the
       promise that You will pull me through.  -- Rich Mullins



More information about the OLUG mailing list