Hello
I am trying to implement a link failover scenario between wired and wireless interfaces on my laptop following instructions given in Example 32-3.
Wired (em0) and wireless (iwn0) interfaces have been tested separately and are functioning. With the current setup, once the network cable is disconnected, the lagg0 interface falls back on wlan0, as evidenced by
I have found that upon falling back on wlan0, gateway and nameserver information were not being modified, as evidenced by issuing
Thank you.
Relevant section of /etc/rc.conf:
/etc/wpa_supplicant.conf:
I am trying to implement a link failover scenario between wired and wireless interfaces on my laptop following instructions given in Example 32-3.
Wired (em0) and wireless (iwn0) interfaces have been tested separately and are functioning. With the current setup, once the network cable is disconnected, the lagg0 interface falls back on wlan0, as evidenced by
ifconfig
, however client applications, such as Firefox, cannot access the Internet. Naturally, reconnecting the cable returns lagg0 on em0 and client applications function again.I have found that upon falling back on wlan0, gateway and nameserver information were not being modified, as evidenced by issuing
netstat -nr
and cat /etc/resolv.conf
, hence my speculation on the possible cause of the problem. Configuration file contents follow.Thank you.
Relevant section of /etc/rc.conf:
Code:
hostname="laptop-11.some-real-domain-name.fr"
ifconfig_em0="up"
ifconfig_iwn0="ether et:hm:ac:ad:dr:es"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP"
/etc/wpa_supplicant.conf:
Code:
network={
ssid="Warrior"
psk="somepassword"
}