[olug] Two Network Cards

Todd Christopher Hamilton netarttodd at gmail.com
Fri Mar 7 22:12:52 UTC 2008


Thanks for the info.  question: how does the os know the MAC address for
eth0 and eth1?  How does it know "where" the network card hardware is?

On Fri, Mar 7, 2008 at 3:08 PM, Obi-Wan <obiwan at jedi.com> wrote:

> > 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
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>



-- 
Todd Christopher Hamilton
(402) 660-2787



More information about the OLUG mailing list