Date: Wed, 12 Aug 2020 13:10:26 +0200 From: Henrik Gulbrandsen <henrik@gulbra.net> To: Odhiambo Washington <odhiambo@gmail.com> Cc: FreeBSD Virtualization <freebsd-virtualization@freebsd.org> Subject: Re: FreeBSD a server and bhyve Message-ID: <b49e7f5e7aa29176b4131f108c920ca5@www.gulbra.net> In-Reply-To: <CAAdA2WPnWgC23bzMLfj4isUqmJMXd_oiytu%2BZ0FB2WyoPJ-p6w@mail.gmail.com> References: <CAAdA2WP0hOZUWS9WLKpb_Pvz3HKp-WPdg5Bq_QEEf8JA6=gCRw@mail.gmail.com> <1c1e71ea-9f4f-b4a6-c6bb-f7cd201c0182@gmx.at> <CAAdA2WO7apAxikMzzqq0h5An2Vao5jSruZzt4ooLfJxk9Hh0CA@mail.gmail.com> <eb836f29-b7b5-1121-d5b6-968f2748e53a@nomadlogic.org> <CAAdA2WPnWgC23bzMLfj4isUqmJMXd_oiytu%2BZ0FB2WyoPJ-p6w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-08-11 21:38, Odhiambo Washington wrote: > On Tue, 11 Aug 2020 at 20:23, Pete Wright <pete@nomadlogic.org> wrote: >> On 8/11/20 5:49 AM, Odhiambo Washington wrote: >> > Hi infoomatic, >> > >> > Looks like I have to top-post so as to not mess the thread: >> > >> > The reason I need a VM is because I need to totally independent host, >> > with an independent name, with access to all ports of its own. >> > It looks like I need another public IP for that. >> >> It depends on your use case. I have a single IPv4 address allocated >> to >> one of my systems and have setup various CNAME entries in DNS that all >> resolve to the same IP. I think that's a pretty common design pattern >> for people who colo their own servers and host multiple services on >> them. >> >> the tricky part will be if you want to host multiple instances of the >> same service though (multiple webservers for example). in that case >> you'll most likely need multiple IPv4 address assigned to your system. >> > > That's exactly where I am. > Suppose I obtained another IP for the VM, how do I make the VM the only > host listening on that IP then? I still don't see why you would need multiple IP addresses for services on a single physical server. It would usually be enough to handle this as virtual hosts on the application level rather than the OS level: https://httpd.apache.org/docs/current/vhosts/ http://www.postfix.org/VIRTUAL_README.html In that case, you only need to worry about CNAME and MX records in DNS. /Henrik
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b49e7f5e7aa29176b4131f108c920ca5>