Re: DHCP Question
On Wed, 15 Sep 2004 19:13:22 -0400, Silvan
<dmmcintyr@users.sourceforge.net> wrote:
> > I have 2 NIC cards in my computer
[...]
> They both need to have entries in /etc/network/interfaces
>
> It might look something like this:
>
> # the router NIC
> iface eth0 inet dhcp
>
> # a local NIC with a static IP
> iface eth1 inet static
> address 192.168.0.1
You can also apparently specify "hwaddress" in the stanzas (once you know
them), so that you can autoload the modules and have eth0 and eth1 assigned
consistently. I would guess that's the point of having hwaddress. It
would look
something like:
hwaddress ether 01:23:45:67:89:AB
where the last field comes from "/sbin/ifconfig -a".
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
Reply to: