From owner-freebsd-questions Sun May 28 21:47:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mongkok.pacific.net.hk (mongkok.pacific.net.hk [202.14.67.46]) by hub.freebsd.org (Postfix) with ESMTP id 78E4C37BA76 for ; Sun, 28 May 2000 21:47:47 -0700 (PDT) (envelope-from alexkwan@pacific.net.hk) Received: from tsingyi.pacific.net.hk (tsingyi.pacific.net.hk [202.14.67.240]) by mongkok.pacific.net.hk with ESMTP id MAA14728; Mon, 29 May 2000 12:47:45 +0800 (HKT) Received: from alexkwan (ppp92.dyn5.pacific.net.hk [202.64.5.92]) by tsingyi.pacific.net.hk with SMTP id MAA02039; Mon, 29 May 2000 12:47:44 +0800 (HKT) Message-ID: <001a01bfc92a$e88e1be0$5c0540ca@alexkwan> From: "Alex Kwan" To: "Tom Schottle" Cc: "FreeBSD-Questions" References: <000701bfc924$0e594400$5c0540ca@alexkwan> <3931F04E.2B5FFC0A@schottle.net> Subject: Re: Setting up IP aliasing on a FreeBSD machine Date: Mon, 29 May 2000 13:01:10 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Tom, Thanks, I wanted to setup my FreeBSD machine to a Intranet Server for a small business, Can I setup my /etc/hosts files as follows: 127.0.0.1 localhost 192.168.1.1 alex.my.com alex 192.168.1.2 web.net.com web 192.168.1.3 mail.mynet.com mail Thanks > Here's the lines from my rc.conf, changed of course. Change the > hostname, ethernet interface, addresses, and netmask to suit. > > hostname="my.domain.com" > network_interfaces="lo0 xl0" > ifconfig_lo0="inet 127.0.0.1" > ifconfig_xl0="inet 123.123.123.100 netmask 255.255.255.0" > ifconfig_xl0_alias0="inet 123.123.123.200 netmask 255.255.255.0" > ifconfig_xl0_alias1="inet 123.123.123.201 netmask 255.255.255.0" > ifconfig_xl0_alias2="inet 123.123.123.202 netmask 255.255.255.0" > > Tom Schottle > tom@schottle.net > > > Alex Kwan wrote: > > > > How to setup IP aliasing on a FreeBSD box > > (one ethernet card three IPs and three domain names)? > > Where is the document? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message