Hi UNDECIDED,
I try to bring my approch.
So excuse me for my english, but french guy
Ok.
In fact, Columbus would say, by spanning term, yours switchs have to support in stack mode.
Two switch in stack are managed by on Ip address. So for enhance network redundancy, your netapp interface on each controler (e0a,e0b) have to point on different switch.
So for example : CTRL1 - e0a to SW1 and e0b to SW2
CTRL2 - e0a to SW2 and e0b to SW1
So in this case, if you loose one switch, you have loose any controler but your network speed is to 1Gb instead of 2Gb. but it still working !
So if yours switchs don't support stack mode, you have to put CTRL1 e0a and e0b on the same switch and same for CTRL2.
So if you want to create a VLAN, your /etc/rc file look like this :
hostname CTRL1
vif create lacp vif-nas -b ip e0a e0b // Here you create vif with e0a and e0b physical interface
vlan create vif-CTRL1 50 60 // Here you create your VLAN
ifconfig vif-CTRL1-50 10.x.x.1 netmask 255.255.0.0 partner 10.x.x.2 nfo //Here you define ip address on your VIF on the VLAN 50 (example) and partner ip address on the same VLAN
ifconfig vif-CTRL1-60 192.x.x.1 netmask 255.255.0.0 partner 192.x.x.2 nfo //Here you define ip address on your VIF on the VLAN 60 (example) and partner ip address on the same VLAN
route add default 10.x.x.254 1 //Here you define your gateway
routed on //You enable routing
options cf.takeover.on_network_ interface_failure on //This line is for enable failover on link failure - If you loose network link on one VIF, takeover is activate
options dns.domainname domain.local //Domain name
options dns.enable on //DNS enable
options nis.enable off
savecore
So in fact, after this config, you 3 interfaces : VIF-CTRL1, VIF-CTRL1-50 and VIF-CTRL1-60..
So another point to bring up your interface, on the switch side, you have to TAGGED port on the VLAN...
Hope it help