Corrected solution
IF_METRIC=1
for router in $new_routers; do
metric_arg="metric $IF_METRIC"
route add default dev $interface gw $router $metric_arg
IF_METRIC=$(( $IF_METRIC+1 ))
done
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trou
Package: isc-dhcp-client
Version: 4.1.1-P1-15+squeeze2
If I define multiple routers on dhcpd-server (line 'option routers'),
the client doesn't add metric for gateways.
Original lines:
for router in $new_routers; do
route add default dev $interface gw $router $metric_arg
done
Maybe the solution
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: TUN/TAP device tun0 opened
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]: /sbin/ifconfig tun0
10.20.50.6 pointopoint 10.20.50.5 mtu 1500
Aug 21 08:42:03 csaba-desktop nm-openvpn[8877]:
/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helpe
3 matches
Mail list logo