Date: Mon, 29 May 2000 13:01:10 +0800 From: "Alex Kwan" <alexkwan@pacific.net.hk> To: "Tom Schottle" <tom@schottle.net> Cc: "FreeBSD-Questions" <freebsd-questions@FreeBSD.org> Subject: Re: Setting up IP aliasing on a FreeBSD machine Message-ID: <001a01bfc92a$e88e1be0$5c0540ca@alexkwan> References: <000701bfc924$0e594400$5c0540ca@alexkwan> <3931F04E.2B5FFC0A@schottle.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01bfc92a$e88e1be0$5c0540ca>