Skip to contentSkip to conversation

udhcpc 50default/simple.script and standard metric

DISCUSSION Holger Hans Peter Freyther 2 participants 2 messages Feb 14, 2015 – Feb 16, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I want to use the multiple defaults route feature of the kernel but I want to install some routes that are more important than the link managed with dhcp. The only way I can think of is to change the "metric=0" to a "metric=10" in the mentioned file. For normal applications nothing has changed but it allows me to add another default route that is listed before the other default.

Is there any objection to change the default metric to 10?

kind regards
holger

#1 lore raw
Quoted 9 lines · Holger Hans Peter Freyther

I want to use the multiple defaults route feature of the kernel but I want to install some routes that are more important than the link managed with dhcp. The only way I can think of is to change the "metric=0" to a "metric=10" in the mentioned file. For normal applications nothing has changed but it allows me to add another default route that is listed before the other default.

Is there any objection to change the default metric to 10?

I don't see a problem as it gives more flexibility after all.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750