Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default network to libvirt NAT with DHCP and DNS #1528

Open
cbosdo opened this issue Mar 7, 2024 · 1 comment
Open

Default network to libvirt NAT with DHCP and DNS #1528

cbosdo opened this issue Mar 7, 2024 · 1 comment

Comments

@cbosdo
Copy link
Contributor

cbosdo commented Mar 7, 2024

Since Avahi is working only part of the time, it would be nice to implement https://github.com/uyuni-project/uyuni/wiki/Libvirt-DNS-and-DHCP-without-Avahi into a default libvirt network.
This would help newcomers to get rid of the DNS issues.

The generated NAT network should be prefixed with the machine's prefix to avoid hijacking other networks.

@Bischoff
Copy link
Contributor

Bischoff commented Mar 7, 2024

Probable to do list:

  • auto-generate MACs for our various VMs (client, server, etc.)
  • create the new libvirt network in NAT mode, ensuring the previous setups like bridged setup still work
  • populate the DHCP tables of dnsmasq with the MACs and corresponding IPs
  • poulate the DNS tables of dnsmasq with the IPs and corresponding domain names

Helpful doc: https://registry.terraform.io/providers/dmacvicar/libvirt/latest/docs/resources/network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants