0

At: Changing the metric of an interface permanently I can see there is a solution, that when if geting IPs via DHCP, you can set metrics per interface, so a given one could come up later.

But for SLES12 (client side, not DHCP server), I cannot see the /etc/dhcpd.conf.

Original issue is that an interface, which should be used as default gw comes up too late, and the routing will be screwed.

The question: how to set the metric for a DHCP interface on client side to be faster than the other ones?

Or maybe there are some DHCPARGS on client side?

UPDATE on Apr 15: Tried with:

echo "METRIC='50'" >> /etc/sysconfig/network/ifcfg-...

Didn't changed the metric in an "ifconfig" output after ifdown/ifup.

Also tried:

# cat /etc/dhcpcd.conf
interface ...
metric 50

Also didn't helped. "..." is the interface. Maybe it can be changed via Wicked?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.