From owner-freebsd-questions Thu Jan 16 5:53:29 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DE9237B401 for ; Thu, 16 Jan 2003 05:53:28 -0800 (PST) Received: from mail.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1840E43F5B for ; Thu, 16 Jan 2003 05:53:22 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by mail.adelphia.net (8.12.3/8.12.3) with ESMTP id h0GDsQAg006754; Thu, 16 Jan 2003 08:54:26 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E26AD94.3040706@potentialtech.com> Date: Thu, 16 Jan 2003 08:03:16 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brian Astill Cc: FreeBSD Questions Subject: Re: Problems w NIC References: <001701c2b987$9fdf72e0$0100a8c0@athlon> <1042301568.51041.233.camel@localhost> <001201c2b98e$063311e0$0100a8c0@athlon> <1042303096.51041.237.camel@localhost> <000301c2b993$55e70610$0100a8c0@athlon> <20030111171152.GH25529@sub21-156.member.dsl-only.net> <001b01c2b995$0dbf6d30$0100a8c0@athlon> <1042305860.51041.240.camel@localhost> <001801c2b999$95567000$0100a8c0@athlon> <1042310110.51041.250.camel@localhost> <002b01c2b9c3$56722e40$0100a8c0@athlon> <1042325630.51041.257.camel@localhost> <003701c2b9c4$db6e6950$0100a8c0@athlon> <1042328202.51041.268.camel@localhost> <00c301c2b9cd$71a44360$0100a8c0@athlon> <1042329896.51041.273.camel@localhost> <000a01c2b9cf$fb483f20$0100a8c0@athlon> <3E25F20A.2030009@adam.com.au> <1042674635.51041.412.camel@localhost> <3E261D65.8050801@adam.com.au> <1042696803.51041.416.camel@localhost> <3E265883.8050005@adam.com.au> <1042701186.51041.430.camel@localhost> <3E269F36.1060104@adam.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian Astill wrote: > Stacey Roberts wrote: > > Just one more question. > How do I list the second card in /etc/hosts? > atm I have > 127.0.0.1 localhost.gihon.org.au > localhost 192.168.1.100 > BAPhD.gihon.org.au > BAPhD 172.16.1.2 > PhD_1.gihon.org.au > PhD_1 172.16.1.3 > third.gihon.org.au Third > > Where do I put rl1 172.16.1.1? I can make IT the default gateway for > 172.16.1.2 and 172.16.1.3, I guess, and perhaps make IT'S default > gateway 192.168.1.100? You don't really _have_ to put it in /etc/hosts, as the system can simply pass the packets to the loopback interface and they'll get where they need to be. However, you can simply duplicate the 127.0.0.1 line and give it the same names. I've never seen that hurt anything. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message