Use this guide when the default Xangle boot network conflicts with another network or when preparing a fresh boot-server card.
Before you change anything
A boot-server network change affects three parts of the system:
- The boot server's static Ethernet address.
- DHCP, TFTP, and NFS settings on the boot server.
- The boot-server address embedded in the cardless clients' network-boot command line.
Use a dedicated Ethernet adapter for the isolated boot network. Keep the computer's normal LAN or Wi-Fi connection separate for internet access.
The subnet and server address must match. For example:
Subnet: 10.72.0.0/21
Server IP: 10.72.0.211
Do not use 10.52.1.0 as the subnet with /21; a /21 subnet must start on a multiple of eight in the third octet.
Edit the card
Shut down the boot-server Pi cleanly and remove its microSD card.
Insert the card into Windows. The FAT boot partition may appear as
E:. The drive letter can differ.Open:
E:\xangle\boot-network.confEdit the values, keeping the file as plain text:
MODE=boot-server SUBNET=10.72.0.0 PREFIX=21 SERVER_IP=10.72.0.211Make sure the boot-server card still contains
boot-server-configuredandconfigure, and does not containreset.Safely eject the card and put it back in the Pi.
Boot the Pi. The boot-network service validates the file and updates the static address, DHCP settings, and netboot command lines.
Restart the Windows computer, or disable and re-enable its dedicated Ethernet adapter.
Leave the adapter set to obtain an IP address automatically. The boot server's DHCP service should assign it an address in
10.72.x.x.Reboot the cardless clients only after the Windows adapter has a
10.72.x.xaddress and the boot server responds at10.72.0.211.
If Windows does not get an address
Use this manual configuration only when the dedicated adapter remains on 169.254.x.x or otherwise receives no DHCP lease. Run PowerShell as Administrator, and replace Ethernet 3 with the actual adapter name:
Set-NetIPInterface -InterfaceAlias "Ethernet 3" -Dhcp Disabled
Get-NetIPAddress -InterfaceAlias "Ethernet 3" -AddressFamily IPv4 |
Remove-NetIPAddress -Confirm:$false
New-NetIPAddress `
-InterfaceAlias "Ethernet 3" `
-IPAddress 10.72.0.50 `
-PrefixLength 21 `
-AddressFamily IPv4
Leave the gateway and DNS fields empty. Do not use the boot server's address on the Windows adapter.
Check the adapter and boot server:
Get-NetIPAddress -InterfaceAlias "Ethernet 3" -AddressFamily IPv4
Test-Connection 10.72.0.211
The standard default file is:
MODE=boot-server
SUBNET=10.42.0.0
PREFIX=21
SERVER_IP=10.42.0.211
If the file is absent, the existing boot-server configuration is left alone.
Fresh-image requirement
The Windows file works only when the image or XNN bundle includes the boot-network helper and boot service. If E:\xangle\boot-network.conf is missing from a fresh card, the image does not support this workflow yet.
Safety and recovery
Do not reboot cardless clients until the Windows adapter has a lease on the new subnet and the boot server responds.
If the boot server becomes unreachable:
- Restore the previous values in
E:\xangle\boot-network.conf. - Restore the previous static address on the dedicated Windows adapter.
- Boot the server again.
- Confirm the boot server responds before rebooting cardless clients.
When the previous values are the standard Xangle network, restore:
MODE=boot-server
SUBNET=10.42.0.0
PREFIX=21
SERVER_IP=10.42.0.211
Do not edit or remove the Pi bootloader EEPROM configuration as part of this network change. Network boot still depends on the cardless clients' boot order.