From owner-freebsd-questions Sat May 18 10:23:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by hub.freebsd.org (Postfix) with ESMTP id 5A08437B403 for ; Sat, 18 May 2002 10:23:23 -0700 (PDT) Received: (qmail 26396 invoked from network); 18 May 2002 17:32:56 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 18 May 2002 17:32:56 -0000 Message-ID: <3CE68C67.509A9D9B@liwing.de> Date: Sat, 18 May 2002 19:16:23 +0200 From: Jens Rehsack Organization: LiWing IT-Services X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: rising-star@runbox.com Cc: freebsd-questions@freebsd.org Subject: Re: Dual Homed Hosts References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 rising-star@runbox.com wrote: > > Dear Sir, Madam, > Firstly I apologise if this is not the right email address for asking questions. > > I have two servers at home connected via a cross-over cable. One is supposed to be > a web server and thus connected to the outside world. The second a database server > not visible to the outside world. It's one way to do it. Another way would be having a private network (f.e. 10.x.x.x) on both servers, and set an public address as alias to the network card of the web-server. To do this, add a line similar to ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # sample alias entry to you /etc/rc.conf > How do I connect these two boxes together so that they can talk to one another? Put 'em into the same network as described above. It's IMHO not possible to attack private addresses over the internet. Jens > I am a newbie and have not understood the various Dual Homed Hosts examples and ifconfig. > > Is there simpler way using the hosts/networks or rc.conf files? > > Regards, > Ajay Sharma > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- L i W W W i Jens Rehsack L W W W L i W W W W i nnn gggg LiWing IT-Services L i W W W W i n n g g LLLL i W W i n n g g Friesenstraße 2 gggg 06112 Halle g g g Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message