New answers tagged

0 votes

Setting MTU does not work from systemd-networkd, but works from 'ip link set mtu'

According to A.B's comment. Indeed, the MTUBytes of the [Link] section says this IPv6 note: MTUBytes= The maximum transmission unit in bytes to set for the device. The usual suffixes K, M, G, are ...
hudac's user avatar
  • 739
0 votes

How to get the IPV4 address for an interface from /proc

echo $'g/32 host LOCAL/-1s/\s*|-- //p\n Q'|ed -s /proc/net/fib_trie
sjas's user avatar
  • 545
0 votes

Why can't I scp a file to this host while I can ssh to it?

Why can't I ssh specifying target's interface instead of my own? Link local addresses are all in exactly the same CIDR range for every device in the world. The reason that the interface needs to be ...
Philip Couling's user avatar
1 vote

short name a domain name

Just store the address in a variable and then you can ping that: $ $ ping "$foo" PING ( 56(84) bytes of data. 64 bytes from ...
terdon's user avatar
  • 239k

Top 50 recent answers are included