With kmod-bonding and mii-tool installed, add this to your /etc/rc.local (modify it for your needs):
modprobe bonding mode=balance-rr miimon=100
ifconfig bond0 192.168.1.1 netmask 255.255.255.0 up
ip link set eth0 master bond0
ip link set eth1 master bond0
Add this to /etc/config/network:
config interface 'bond0'
option ifname 'bond0.1 bond0.2'
Set the bond VLAN's on the WAN and LAN interfaces accordingly in /etc/config/network. Example:
config interface 'lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'bond0.1'
config interface 'wan'
option proto 'dhcp'
option ifname 'bond0.2'
Not sure if it's the best way, but it should work.