Les crontab ne fonctionne pas chez moi.... étrange.
Toujours sans Ip sur le bridge je continu les investigation.
J'applique les priorité sur les vlans, quand je fais un ifconfig voici ce que je récupère :
re0_vlan838: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:0d:b9:34:de:70
inet6 fe80::20d:b9ff:fe34:de70%re0_vlan838 prefixlen 64 scopeid 0xa
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 838 vlanpcp: 4 parent interface: re0
re0_vlan840: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether 00:0d:b9:34:de:70
inet6 fe80::20d:b9ff:fe34:de70%re0_vlan840 prefixlen 64 scopeid 0xb
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
vlan: 840 vlanpcp: 5 parent interface: re0
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:81:1a:4c:b8:00
nd6 options=1<PERFORMNUD>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: re0_vlan840 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 0 path cost 20000
member: re0_vlan838 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 10 priority 0 path cost 20000
Sur l'interface re0_vlan838 et re0_vlan840 on voit bien les paramètres
vlan: 838 vlanpcp: 4 parent interface: re0
vlan: 840 vlanpcp: 5 parent interface: re0
Donc si j'ai bien compris, les deux Vlans on leurs priorités ?
Mais quand on regarde sur le Bridge les vlans n'ont pas les même paramètres. C'est normal ?
member: re0_vlan840 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 11 priority 0 path cost 20000
member: re0_vlan838 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 10 priority 0 path cost 20000