Date: Sat, 18 May 2002 13:56:32 -0700 From: "Aaron Burke" <aburke@nullplusone.com> To: <rising-star@runbox.com> Cc: "FreeBSD-Questions" <freebsd-questions@freebsd.org> Subject: RE: Dual Homed Hosts Message-ID: <NGBBLCIHCLNJAIGIFFHJKEBCCDAA.aburke@nullplusone.com> In-Reply-To: <E1797lD-0005yZ-00@pluto2.runbox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > rising-star@runbox.com > Sent: Saturday, May 18, 2002 10:13 AM > To: freebsd-questions@FreeBSD.ORG > Subject: Dual Homed Hosts > > > 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. > > How do I connect these two boxes together so that they can talk > to one another? > > 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 > How are these two machines connected? How do you connect to the internet? Take for example a situation at my location. I use the rl0 interface for the local network on a 192.168.0.x address and the internet connection is user ppp. User ppp assignes an address to the tun0 (tunnel interface). This gives me a situation of this: [Alpha] DHCP assigned internet ip address Network Address Translation Daemon rl0 interface (192.168.0.1) to local ethernet. This config gives all of my network access to the internet on the private IP addresses I give them. And its without configuration. There are other popular ways to connect to the internet. One such solution is an external (CABLE/DSL) connection that just plugs into the hub. In this case, the router would do network address translation for you. [HUB] |||| |||+--- Broadband adapter <-> Internet IP address ||+---- Machine #1 <-> with private address |+----- Machine #2 <-> with private address +------ (more machines) <-> with private address Other methods of connection are that your internet connection has an interface that plugs into your BSD box. Here is an example of that. Internet connection <-> YourBSDbox <-> Your private network that includes your private server 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?NGBBLCIHCLNJAIGIFFHJKEBCCDAA.aburke>