[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2 Network Cards



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

To setup the other network card, can I do:
# The secondary network interface
allow-hotplug eth0
iface eth0 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

In addition to changing /etc/hosts, what about /etc/hostname?
Anything else I need to watch out for?

-- 
Raquel
============================================================
In recognizing the humanity of our fellow beings, we pay ourselves
the highest tribute.

  --Thurgood Marshall


Reply to: