Hi all,
‎
I'm toying with SmartOS to replace my current personal CentOS 7 + ZFS
+ KVM hosting setup.

I'm playing using nested KVM in my laptop and I've managed to bring up
both LX and KVM Linux zones using Ansible in a quite automated fashion
(install, Python bootstrap, playbook can bring up zones and configure
them).

I need to get this working using just a pair of public IPs, one for
the GZ and I'd run a zone to act as a firewall.

I'm thinking of using a CentOS 7 KVM zone, running OpenVPN (for
site-to-site VPN) and ocserv (for remote "roadwarrior" access), plus
dnsmasq to run DHCP/DNS for the internal LX zones I want to run, plus
doing NAT to allow them to reach the Internet.

However, I've noted that KVM CentOS zones get their networking
configuration from DHCP at 169.254.169.254, and I'm unsure about how
LX zones get their networking configuration. I see mentions in
vmadm(1) to QEMU running DHCP, but is there any further documentation
on this? I also haven't figured out how LX zones get their networking
configuration...

Is creating an etherstub and connecting the KVM zone to both, then
connecting the LX zones to the etherstub a good idea? Should I disable
any existing DHCP servers? How? How will LX zones pick up DHCP?

I suppose it'd be better to run a regular zone as the firewall, but
I'm more comfortable doing it with CentOS with Ansible...

Cheers,

Alex

--
___ mail: alex at corcoles dot net
{~._.~} ICQ: 66791436
( Y ) MSN: koalillo at fastmail dot fm
()~*~() Y!: koalillo
(_)-(_) http://alex.corcoles.net/


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to