Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2000 12:28:51 -0400
From:      Tom Schottle <tom@schottle.net>
To:        Alex Kwan <alexkwan@pacific.net.hk>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Setting up IP aliasing on a FreeBSD machine
Message-ID:  <39329AC3.1C5AD0B1@schottle.net>
References:  <000701bfc924$0e594400$5c0540ca@alexkwan> <3931F04E.2B5FFC0A@schottle.net> <001a01bfc92a$e88e1be0$5c0540ca@alexkwan>

next in thread | previous in thread | raw e-mail | index | archive | help
That looks right.  But I'm not sure.  I've been using bind (named) from
when it was defined/implemented.  (I still remember HOSTS.TXT on MILNET
(shudder!).)  I have no idea how to configure M$ Windoze boxes in a
non-bind environment.

When you have time, I would suggest you get the O'Reilly book (Cricket)
and learn about DNS.  It's a basic skill that anyone who will manage a
UNIX system needs to be proficient.  You'll need DNS as soon as you
have another FreeBSD box (managing duplicate /etc/hosts files is error
prone) or connect your network to the Internet.

Alex Kwan wrote:
> 
> 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?39329AC3.1C5AD0B1>