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 10.0.0.20 127.0.0.1 192.168.122.1
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
Accepted

short name a domain name

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

Top 50 recent answers are included