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 Següent revisió | Revisió prèvia | ||
linux:tcpip:ips [11/11/2016 02:51] – [configuración IP] mate | linux:tcpip:ips [10/06/2022 03:41] (actual) – [comandos] mate | ||
---|---|---|---|
Línia 1: | Línia 1: | ||
= ip | = ip | ||
+ | == comandos | ||
+ | == mi ip local | ||
+ | <code bash>ip addr show eth0 | grep 'inet ' | awk ' | ||
+ | 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 | ||
+ | |||
== ip manual fija | == ip manual fija | ||
<code bash / | <code bash / |