Questions tagged [metric]
The metric tag has no summary.
19 questions
1
vote
1
answer
143
views
Unexpected behavior of 'some' PSI CPU metric
I am trying to understand the meaning of the "some" row of the Linux PSI metric for CPU. The Linux documentation (https://github.com/torvalds/linux/blob/master/Documentation/accounting/psi....
0
votes
1
answer
111
views
The routing metric is changed after a while for eth0 and eth1, automatically
I'm working on an platform that NetworkManager is gracefully embedded into its image. There are two separate eth0, and eth1, along with a 4G modem, all of which work fine. We use NetworkManager to ...
0
votes
0
answers
260
views
dhcpcd: set priority for link-local connections
I see that there is a metric keyword in the dhcpcd.conf (as explained e.g. https://unix.stackexchange.com/a/413036/47009), which allows me to set the routing priority for a given interface.
However, i ...
2
votes
2
answers
1k
views
How to combine settings from multiple locales in Linux?
When I installed Linux I set my locale to en_US.UTF-8. However I want to override some but not all of the settings in that locale. Specifically, I would like the Measurement to be Metric instead of ...
10
votes
1
answer
28k
views
What is an ip route metric, how do I change it?
When I run ip route, I see
default via 172.16.42.1 dev ens5 proto dhcp src 172.16.42.248 metric 100
default via 172.16.42.1 dev ens3 proto dhcp src 172.16.42.79 metric 100
default via 10.2.64.1 dev ...
1
vote
0
answers
777
views
How to override default route metric (1024) for dhcp client interface with systemd-networkd config?
systemd 237 in Ubuntu 18.04 sets route metric for defaultroute received via DHCP on wired interface to 1024. However, defaultroute on NetworkManager's controlled wlan interface is set to 20.
Is there ...
0
votes
1
answer
1k
views
Oracle Linux: How to set the metric of a NIC?
How can I set the metric of a network interface (DHCP) permanently in Oracle Linux (think it is managed my NetworkManager)?
1
vote
1
answer
4k
views
NetworkManager doesn't change the metric of the default gateway immediately
I'm using the commands found in one of the answers to this question : How can I make changes to the network routing metric permanently
Before, I change the metric of the PPP0 device (3G UBlox modem) :
...
0
votes
0
answers
467
views
Change priority(bandwidth) of network interface or by ip address
I have a virtual router with two networks. WAN and LAN. On LAN there are several PC's with fixed IP all on the same network. The router OS is Linux based.
Traffic from PC A would by default use all ...
6
votes
1
answer
9k
views
Set routing metrics for static IPs with systemd-networkd?
I recently set up a server with its network managed directly by systemd-networkd (nuked netplan.io and Network Manager) and gave it static IPs like this:
/etc/systemd/network/10-ethernet.network
[...
3
votes
1
answer
9k
views
Two default gateways with different metric on CentOS 7 box - how?
I'm begging for help here. Been spending hours researching how to solve what seemed like a simple problem:
On a CentOS 7.6 host with two network interfaces on two different networks, how to have two ...
1
vote
1
answer
813
views
What are the defaults of route metrics?
I was trying to script OpenVPN server setup to modify metric of pushed routes so these are higher than any other interface:
push "route-metric 700"
This is needed to overcome https://community....
0
votes
0
answers
159
views
iotop shows negative values for some metrics
To gather some metrics, cumulative :
iotop -P -a
On one server (Linux 2.6.18-348.6.1.el5, centos 5.9) iotop (iotop 0.4.3) shows :
5 be/7 root 0.00 B 0.00 B -125056859448.21 % 0.20 % [...
1
vote
1
answer
2k
views
How are default values for routing table entries in Linux set?
This is excerpt from my ip route command:
192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.2 metric 100
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.14 ...
2
votes
2
answers
503
views
AIX - redirect hostname in other subnet via route
I have two servers: one application and one database. They are both connected over two interfaces. One is frontend LAN with 100 Mbit and one is in the backbone LAN with 1 Gbit.
Well, planned is that ...