Failover with Static IP

Quinn Wood woodquinn at gmail.com
Sun May 23 21:24:23 UTC 2010


Is it possible to set up failover (wired NIC master and wireless NIC
failover) with a static IP address instead of DHCP? This is what I tried but
it didn't work (I have no network associations, neither wired nor wireless.)

echo 'if_ath_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
if_lagg_load="YES"
' >> /boot/loader.conf
echo 'hostname="copymy-laptop"
ifconfig_re0="inet 192.168.0.50 netmask 255.255.255.0"
ifconfig_re0="up"
ifconfig_ath0="ether 00:1F:16:6B:1D:9D"
wlans_ath0="wlan0"
ifconfig_wlan0="ssid Curiodyne wepmode on weptxkey 1 wepkey 1:0xB21BD91F79"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport re0 laggport wlan0 inet
192.168.0.50 netmask 255.255.255.0"
defaultrouter="192.168.0.1"' >> /etc/rc.conf
echo 'nameserver 192.168.0.1' >> /etc/resolv.conf

This is ALL I did, after a fresh install of a base 8.0 system and nothing
else configured. Let me know if I did something wrong...


More information about the freebsd-questions mailing list