Just compiled trunk. Installed latest version(2010-03-02 20:08:21) of ftp://ftp.netlab7.com/dualwan_0.1k.ipk.
Changed network config:
root@OpenWrt:/# cat /etc/config/network
#### VLAN configuration
config switch eth0
option enable 1
config switch_vlan eth0_0
option device "eth0"
option vlan 0
option ports "0 1 2 5"
config switch_vlan eth0_1
option device "eth0"
option vlan 1
option ports "4 5"
config switch_vlan eth0_2
option device "eth0"
option vlan 2
option ports "3 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.2.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto dhcp
config interface wan2
option ifname "eth0.2"
option proto dhcp
Reboot and wait...everything looks good:
Jan 1 00:11:51 OpenWrt user.notice root: [Dual-WAN Notice]: Could not acquire the Secondary WAN Gateway... Will retry in 1 minute.
Jan 1 00:12:52 OpenWrt user.notice root: [Dual-WAN Notice]: Could not acquire the Secondary WAN Gateway... Will retry in 1 minute.
Jan 1 00:13:53 OpenWrt user.notice root: [Dual-WAN Notice]: Could not acquire the Secondary WAN Gateway... Will retry in 1 minute.
As soon as I plug the WAN2 cable, router hangs, or at least LAN stops working.
WAN is on 192.168.3.x
WAN2 is on 192.168.4.x
Plataform is brcm47xx 2.6, Asus WL500GP V2