[[Kategorie:Infrastruktur]]
== Hardware Info ==
benötigt mindestens 2 funktionierende [[Network-Interfaces|Interfaces]]
== Software Info ==
Linux
* ifenslave
* tcpdump
FreeBSD
* load Kernelmodul
* tcpdump
== Verwendungszweck ==
Gewünscht ist eine ausfallsichere Verbindung (präferiert über Ethernet, fallback über WLAN) ohne packet loss
===Debian: Bonding / failover ===
'''1. Pakete sicherstellen'''
# ## ### ### C3D2 ### ### ## # # Define slaves auto eth0 iface eth0 inet manual bond-master bond0 bond-primary eth0 bond-mode active-backup auto wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf bond-master bond0 bond-primary eth0 bond-mode active-backup # Define master auto bond0 iface bond0 inet dhcp bond-slaves none bond-primary eth0 bond-mode active-backup bond-miimon 100 # ## ### ### C3D2 ### ### ## # # EOF'''5. WLAN Zugänge mit [[Wpa_supplicant#Offenes_WLAN_konfigurieren|wpa_supplicant.conf]] definieren''' '''6. Netzwerk neustarten'''
# ## ### ### C3D2 ### ### ## # if_lagg_load="YES" # ## ### ### C3D2 ### ### ## # # EOF
# ## ### ### C3D2 ### ### ### ifconfig_bge0="up" ifconfig_bge0="ether DE:AD:BE:EF:BA:BE" wlans_wpi0="wlan0" ifconfig_wlan0="WPA" ifconfig_wpi0="ether DE:AD:BE:EF:BA:BE" ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 DHCP" ifconfig_lagg0_ipv6="inet6 accept_rtadv" ip6addrctl_policy="ipv6_prefer" # ## ### ### C3D2 ### ### ### # EOF'''3. [[wpa_supplicant]].conf - WLAN Zugänge definieren'''
# ## ### ### C3D2 ### ### ### network={ ssid="C3D2" key_mgmt=NONE priority=0 } # ## ### ### C3D2 ### ### ### # EOF'''4. Netzwerk neustarten / wahlweise Systemreboot'''