Diferències
Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
Ambdós costats versió prèvia Revisió prèvia | |||
linux:tcpip:ips [29/03/2020 09:08] – [comandos] mate | linux:tcpip:ips [10/06/2022 03:41] (actual) – [comandos] mate | ||
---|---|---|---|
Línia 1: | Línia 1: | ||
= ip | = ip | ||
== comandos | == comandos | ||
- | * mi ip:<code bash>ip addr show eth0 | grep 'inet ' | awk ' | + | == mi ip local |
+ | <code bash>ip addr show eth0 | grep 'inet ' | awk ' | ||
ip addr show</ | ip addr show</ | ||
+ | * ifconfig -a | ||
+ | * ip addr (ip a) | ||
+ | * hostname -I | awk ' | ||
+ | * ip route get 1.2.3.4 | awk ' | ||
+ | * (Fedora) Wifi-Settings→ click the setting icon next to the Wifi name that you are connected to → Ipv4 and Ipv6 both can be seen | ||
+ | * nmcli -p device show | ||
+ | |||
+ | == mi ip pública | ||
+ | * curl ifconfig.me | ||
+ | * curl -4/-6 icanhazip.com | ||
+ | * curl ipinfo.io/ | ||
+ | * curl api.ipify.org | ||
+ | * curl checkip.dyndns.org | ||
+ | * dig +short myip.opendns.com @resolver1.opendns.com | ||
+ | * host myip.opendns.com resolver1.opendns.com | ||
+ | * curl ident.me | ||
+ | * curl bot.whatismyipaddress.com | ||
+ | * curl ipecho.net/ | ||
== ip manual temporal | == ip manual temporal |