FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-01-2008, 11:09 PM
Raquel
 
Default 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org