Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 22:16:06 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Tony Wells <awells@journalstar.com>
Cc:        slamdunk <slamdunk@neophile.net>, questions@FreeBSD.ORG
Subject:   Re: Multiple IPs and domains on the same box
Message-ID:  <20010119221606.E964@raggedclown.net>
In-Reply-To: <3A686EB0.838B6992@journalstar.com>; from awells@journalstar.com on Fri, Jan 19, 2001 at 10:43:28AM -0600
References:  <4.3.2.7.2.20010119135954.026d0008@mail.btinternet.com> <3A686EB0.838B6992@journalstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 19, 2001 at 10:43:28AM -0600, Tony Wells wrote:
> Once the DNS records are correct, you just need to get your machine
> listening to those IP's.  You can do this through the 'ifconfig'
> command and setting up aliases for your NIC.   The command will look
> something like this:
> 
> 	> ifconfig ep0 inet xxx.xxx.xxx.17 netmask 255.255.255.255 alias
---------------------------------------------------^^^^^^^^^^^^^^^
I hope not.

> 
> Your network device might be different, if you don't know what it is
> named just do an 'ifconfig -a' and that will show you all your
> interfaces.
> 
> Don't forget to add the command to rc.local or such to make it
> permanent at boot-time.
> 
> slamdunk wrote:
> > 
> > Hi
> > 
> > I am new to list and have a couple of questions that I hope someone might
> > help me with - If this is not appropriate for this list please let me know,
> > or advise me off list.
> > 
> > Background
> > I have a hosted box where I work which is xxx.xxx.xxx.17 which resolves to
> > xxxxxxxxx.net - I am also the owner of xxxxxxxxx.org and have been assigned
> > xxx.xxx.xxx.17 for use with it. I also do my own DNS and have friends box
> > do secondary DNS.
> > 
> > I can use both the domains from the same box (with a single IP) using the
> > following entry from named.conf :-
> > 
> > zone "." {
> >          type hint;
> >          file "named.root";
> > };
> > 
> > zone "0.0.127.IN-ADDR.ARPA" {
> >          type master;
> >          file "localhost.rev";
> > };
> > 
> > zone "neophile.net" {
> >          type master;
> >          file "pri/net/neo.net";
> > };
> > 
> > zone "darkcyde.org" {
> >          type master;
> >          file "pri/org/dark.org";
> > };
> > 
> > I now wish to use each domain using diffierent IPs (the current .7 for
> > neophile.net and the new .17 for darkcyde.org) on the same box. I
> > understand this is possible (and in fact this is how "bouncers" work) I
> > have asked our service provider to update their RDNS records to reflect
> > that .17 should resolve to "the.darkcyde.org"
> > 
> > Can anyone advise me please how to set this up - or at least point me in
> > the right direction for further info.
> > 
> > Much appreciated
> > 
> > Jerry
> > slamdunk@neophile.net
> > 
> > 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


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?20010119221606.E964>