This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
laggdiskless [2011/09/11 12:08] – created peterjeremy | laggdiskless [2020/08/21 22:32] (current) – Document updated lagg configuration. peterjeremy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using lagg(4) with diskless booting ====== | ====== Using lagg(4) with diskless booting ====== | ||
- | The lagg interface enables transparent failover between (eg) wired & wifi interfaces - making it trivial to combine the flexibility of walking around the house without any cables with the throughput of a wired interface. | + | The lagg interface enables transparent failover between (eg) wired & wifi interfaces - making it trivial to combine the flexibility of walking around the house without any cables with the throughput of a wired interface |
- | For a normal boot environment, | + | For a normal boot environment, |
ifconfig_re0=" | ifconfig_re0=" | ||
ifconfig_ath0=" | ifconfig_ath0=" | ||
Line 11: | Line 11: | ||
ifconfig_lagg0=" | ifconfig_lagg0=" | ||
+ | With recent wlan software, ath0 is no longer visible so it's necessary to instead attach the WiFi MAC address to the wired NIC | ||
+ | and explicitly use the WiFi MAC address as the lagg address: | ||
+ | ifconfig_re0=" | ||
+ | wlans_ath0=" | ||
+ | ifconfig_wlan0=" | ||
+ | cloned_interfaces=" | ||
+ | create_args_lagg0=" | ||
+ | ifconfig_lagg0=" | ||
+ | |||
+ | |||
+ | If you have multiple boxes available, supporting diskless booting provides a convenient way to install, upgrade or recover systems. | ||
+ | the above should work: | ||
+ | |||
+ | Host configuration for ISC dhcpd 3.1: | ||
+ | host client_host { # Client name | ||
+ | hardware ethernet 00: | ||
+ | fixed-address client.f.q.d.n; | ||
+ | filename "/ | ||
+ | next-server 10.11.12.13; | ||
+ | vendor-option-space FreeBSD | ||
+ | option root-path " | ||
+ | option host-name " | ||
+ | } | ||
+ | |||
+ | Client ''/ | ||
+ | ifconfig_ath0=" | ||
+ | wlans_ath0=" | ||
+ | ifconfig_wlan0=" | ||
+ | cloned_interfaces=" | ||
+ | ifconfig_lagg0=" | ||
+ | |||
+ | The magic is an additional script {{lagg.txt|''/ |