deadeyes <gvm999 <at> gmail.com> writes: code that can be added in /etc/conf.d/net: postup() { local metric=0
case "${IFACE}" in eth0) metric=0 ;; eth1) metric=1 ;; esac ifmetric "${IFACE}" "${metric}" return 0 } Seems like this works for me as well! :) Thanks for your responses guys