From: Matt Hemingway Subject: Re: very stupid question about debian Date: Wed, 22 Jan 2003 07:57:59 -0800 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200301221558.h0MFw0KC015954@kong.cogent.net> References: <20030122102107.GA4390@fede2.tumsan.fi> Reply-To: matt.hemingway@pcnalert.com Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <20030122102107.GA4390@fede2.tumsan.fi> List-Id: Content-Type: text/plain; charset="us-ascii" To: urgrue , linux-admin@vger.kernel.org Does this help?: ========== matth:/etc/network# vi /etc/network/interfaces # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 205.11.170.30 netmask 255.255.255.0 network 205.11.170.0 broadcast 205.11.170.255 gateway 205.11.170.1 ========== You can define aliases in this file as well: auto eth0:5 iface eth0:5 inet static address 205.11.170.5 netmask 255.255.255.0 You bring up/down the interface(s) with the ifup/ifdown command: ifdown eth0 ifup eth0 /etc/network/interfaces is called by /etc/init.d/networking upon boot. -Matt On Wednesday 22 January 2003 02:21 am, urgrue wrote: > i feel like a moron, but ive gone through document after document and i > cant find the answer to a profoundly simple question: > where are static routes defined in debian???? > every manual and tutorial on configuring debian gleefully skips this > rather fundamental part of setting up a network! > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- ---------- Matt Hemingway matt.hemingway@pcnalert.com http://www.pcnalert.com 626-585-2788 x136 ----------