New answers tagged ip
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 ...
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
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 ...
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 ...
Top 50 recent answers are included
Related Tags
ip × 1153networking × 489
linux × 284
routing × 120
network-interface × 78
centos × 70
ubuntu × 67
iptables × 66
route × 62
ssh × 59
debian × 56
dns × 50
dhcp × 45
tcp × 37
ifconfig × 37
ethernet × 36
bash × 32
ping × 32
iproute × 32
shell-script × 31
ipv6 × 27
virtualbox × 26
vpn × 26
bridge × 26
firewall × 24