The error
" vpnbox-f2-en1:/etc/network# ifup mybridge /etc/network/interfaces:39: duplicate option ifup: couldn't read interfaces file "/etc/network/interfaces"

is not seen in 1.5-6.


However there is another error in 1.5-6. Multiple bridge_pathcost lines in in /etc/network/interfaces for multiple ports does not work.
Only the last bridge_pathcost line sticks.

This is because env variable IF_BRIDGE_PATHCOST can contain only pathcost for one bridge port and that happens to be the last pathcost line for the interface.

Eg:

auto mybridge
iface mybridge inet manual
        bridge-ports ctz-priv eth0.3084
        bridge_bridgeprio 1
        bridge_stp yes
        bridge_pathcost ctz-priv 100
        bridge_pathcost eth0.3084 10

IF_BRIDGE_PATHCOST only contains "eth0.3084 10"


Reply via email to