Skip site navigation (1)Skip section navigation (2)
Date:      16 Jan 2003 18:07:48 +0000
From:      Stacey Roberts <stacey@vickiandstacey.com>
To:        Brian Astill <bastill@adam.com.au>
Cc:        Nikolaj Farrell <nikk@home.se>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, wmoran@potentialtech.com
Subject:   Re: Problems w NIC
Message-ID:  <1042740468.51041.436.camel@localhost>
In-Reply-To: <3E269F36.1060104@adam.com.au>
References:  <001701c2b987$9fdf72e0$0100a8c0@athlon> <000b01c2b98a$df9981c0$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
Hi,
Glad to hear that you've understood, and that you've made progress.

On Thu, 2003-01-16 at 12:01, 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 actually list the nic in /etc/hosts. Although not absolutely
necessary, you can list the IP address of rl1, along with the hostname
the box is known on *that* subnet. As long as the IP addrs resolve in
DNS, and routing is enabled on the box, it should all work just fine.

Hope this helps.

Regards,

Stacey

> 
> --
> Brian                 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.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?1042740468.51041.436.camel>