danzone technology co

Frequently Asked Question - How can I switch the LAN and WAN port in case one port is failed?

How can I switch the LAN and WAN port in case one port is failed?

edit /etc/asterisk/rc.conf

IF=eth0 IF=eth1 IFL=eth0 TO IFL=eth1 (Default setting)
IF=eth0 IF=eth1 IFL=eth1 TO IFL=eth0 (LAN port becomes WAN port and the WAN port becomes LAN port)
also the rc_auto.conf pls check