KVM-based microVMM for the Volt platform: - Sub-second VM boot times - Minimal memory footprint - Landlock LSM + seccomp security - Virtio device support - Custom kernel management Copyright (c) Armored Gates LLC. All rights reserved. Licensed under AGPSL v5.0
63 lines
1.1 KiB
SYSTEMD
63 lines
1.1 KiB
SYSTEMD
# Volt bridge network configuration
|
|
# Assigns IP to bridge and configures DHCP server
|
|
#
|
|
# Install: cp nova0.network /etc/systemd/network/
|
|
# Apply: systemctl restart systemd-networkd
|
|
|
|
[Match]
|
|
Name=nova0
|
|
|
|
[Network]
|
|
Description=Volt unified network
|
|
|
|
# Bridge IP address (gateway for VMs/containers)
|
|
Address=10.42.0.1/24
|
|
|
|
# Enable IP forwarding for this interface
|
|
IPForward=yes
|
|
|
|
# Enable IPv6 (optional)
|
|
# Address=fd42:nova::1/64
|
|
|
|
# Enable LLDP for network discovery
|
|
LLDP=yes
|
|
EmitLLDP=customer-bridge
|
|
|
|
# Enable built-in DHCP server (systemd-networkd DHCPServer)
|
|
# Alternative: use dnsmasq or external DHCP
|
|
DHCPServer=yes
|
|
|
|
# Configure masquerading (NAT) for external access
|
|
IPMasquerade=both
|
|
|
|
[DHCPServer]
|
|
# DHCP pool range
|
|
PoolOffset=2
|
|
PoolSize=252
|
|
|
|
# Lease time
|
|
DefaultLeaseTimeSec=3600
|
|
MaxLeaseTimeSec=86400
|
|
|
|
# DNS servers to advertise
|
|
DNS=10.42.0.1
|
|
# Use host's DNS if available
|
|
# DNS=_server_address
|
|
|
|
# Router (gateway)
|
|
Router=10.42.0.1
|
|
|
|
# Domain
|
|
# EmitDNS=yes
|
|
# DNS=10.42.0.1
|
|
|
|
# NTP server (optional)
|
|
# NTP=10.42.0.1
|
|
|
|
# Timezone (optional)
|
|
# Timezone=UTC
|
|
|
|
[Route]
|
|
# Default route through this interface for the subnet
|
|
Destination=10.42.0.0/24
|