<message>Update documentation and scripts to include configuration for extra LAN IPs on eth1 and VLAN interface eth1.40, allowing the LXC to serve multiple subnets and provide NAT for internet access. Modify nftables NAT configuration to accommodate these changes and ensure proper DHCP and DNS setup on eth1. This improves the overall network boot functionality and user experience for the CM4 eMMC provisioning service.
18 lines
646 B
Plaintext
18 lines
646 B
Plaintext
# Extra LAN IPs on eth1 and VLAN 40 on eth1.
|
|
# Primary eth1 address is set by Proxmox/deploy (used by dnsmasq DHCP).
|
|
# Installed by setup-network-boot-on-lxc.sh; ensure /etc/network/interfaces
|
|
# includes: source-directory /etc/network/interfaces.d
|
|
|
|
# Secondary addresses on eth1 (192.168.30.1, 192.168.127.1)
|
|
iface eth1 inet static
|
|
address 192.168.30.1/24
|
|
iface eth1 inet static
|
|
address 192.168.127.1/24
|
|
|
|
# VLAN 40 on eth1 — 192.168.0.0/24 (gateway 192.168.0.1)
|
|
# Requires: apt install vlan; host bridge must pass VLAN 40 if using tagged uplink
|
|
auto eth1.40
|
|
iface eth1.40 inet static
|
|
address 192.168.0.1/24
|
|
vlan-raw-device eth1
|