badge.lan
Declared in BadgeOS/modules/sg2k/lan.nix.
badge.lan.enable
Give the badge its address on its own network and serve what is on it: the router’s LAN, or with the router off the computer on the USB port. The router needs it on.
Type: boolean
Default:
true
Declared by:
badge.lan.address
The badge’s address on its network.
Type: string
Default:
"10.55.0.1"
Declared by:
badge.lan.dhcp
Serve DHCP on the badge’s network.
Type: boolean
Default:
true
Declared by:
badge.lan.dns
Serve DNS on the badge’s network.
Type: boolean
Default:
true
Declared by:
badge.lan.interface
The badge’s network: the bridge the router makes, or the USB link.
Type: string
Default:
if config.badge.router.enable then "lan0" else config.badge.router.interfaces.usb
Declared by:
badge.lan.offerGateway
On the USB link, hand the badge out as the host’s default route (the DHCP router option). Off by default: a workstation applying it would route through the badge, which does not NAT there. The router offers itself while its uplink is up.
Type: boolean
Default:
false
Declared by:
badge.lan.poolEnd
The last address DHCP hands out.
Type: string
Default:
"10.55.0.200"
Declared by:
badge.lan.poolStart
The first address DHCP hands out.
Type: string
Default:
"10.55.0.100"
Declared by:
badge.lan.prefixLength
The prefix length of the badge’s network.
Type: signed integer
Default:
24
Declared by: