This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
laggdiskless [2011/09/11 21:30] – Some diskless stuff - still WIP peterjeremy | laggdiskless [2020/08/21 21:30] – Note wlan changes have broken this. peterjeremy | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using lagg(4) with diskless booting ====== | ====== Using lagg(4) with diskless booting ====== | ||
+ | |||
+ | Note that the following instructions rely on the visibility of a network device associated with the WiFi adapter (ath0 below). | ||
+ | have hidden that device and so the following wired/WiFi lagg setup no longer works. | ||
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 by simply connecting and disconnecting the LAN cable. | 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 by simply connecting and disconnecting the LAN cable. | ||
Line 13: | Line 16: | ||
If you have multiple boxes available, supporting diskless booting provides a convenient way to install, upgrade or recover systems. | If you have multiple boxes available, supporting diskless booting provides a convenient way to install, upgrade or recover systems. | ||
- | + | Host configuration for ISC dhcpd 3.1: | |
- | host client_host { # Client name | + | host client_host { |
hardware ethernet 00: | hardware ethernet 00: | ||
- | fixed-address client.f.q.d.n; | + | fixed-address client.f.q.d.n; |
filename "/ | filename "/ | ||
next-server 10.11.12.13; | next-server 10.11.12.13; | ||
- | vendor-option-space FreeBSD; | + | vendor-option-space FreeBSD |
option root-path " | option root-path " | ||
option host-name " | option host-name " | ||
} | } | ||
+ | Client ''/ | ||
ifconfig_ath0=" | ifconfig_ath0=" | ||
wlans_ath0=" | wlans_ath0=" | ||
Line 30: | Line 34: | ||
ifconfig_lagg0=" | ifconfig_lagg0=" | ||
+ | The magic is an additional script {{lagg.txt|''/ |