Re: 2 Network Cards
On Fri, 1 Feb 2008 16:09:00 -0800
Raquel <raquel@thericehouse.net> wrote:
> I have 2 network cards in this machine. Currently only one of those
> cards is setup but now I have need to setup another. The
> current /etc/network/interfaces looks like:
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 99.999.999.137
> netmask 255.255.255.248
> network 99.999.999.136
> broadcast 99.999.999.999
> gateway 99.999.999.999
> dns-nameservers 99.999.999.999 99.999.999.999
> dns-search domain.com
>
Let me make a few changes. In order to get eth1 to also work, can I
add to /etc/network/interfaces:
# The secondary network interface
allow-hotplug eth1
iface eth1 inet static
address 99.999.999.138
netmask 255.255.255.248
network 99.999.999.136
broadcast 99.999.999.999
gateway 99.999.999.999
dns-nameservers 99.999.999.999 99.999.999.999
dns-search domain.com
Is there anything else I need to watch out for? I know that the
firewall needs to be changed.
--
Raquel
============================================================
The arc of the moral universe is long, but it bends towards justice.
--Martin Luther King, Jr.
Reply to: