Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 08:03:16 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Brian Astill <bastill@adam.com.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Problems w NIC
Message-ID:  <3E26AD94.3040706@potentialtech.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E26AD94.3040706>