Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 20:59:12 +0000
From:      Quinn Wood <woodquinn@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Failover with Static IP
Message-ID:  <AANLkTik_CZbouw_POAO__T_Cw09gqy8fNMA7fPo92zu0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik_CZbouw_POAO__T_Cw09gqy8fNMA7fPo92zu0>