🛠 Novo no blog: Use ip, não ifconfig

Explico por que substituir o legado ifconfig pelo mais moderno e poderoso comando ip, parte da suíte iproute2, que está em desuso no Linux moderno. Cito uma resposta em Stack Exchange que reforça seu eventual fim e destaco que outros comandos como arp, route e netstat também estão obsoletos . Veja mais: https://danieltak.com.br/posts/os/nao-use-ifconfig/

#Linux #iproute2 #ifconfig #Redes #Programacao #Dev #danieltak

Não use o ifconfig

Use o comando do Linux `ip` ao invés do antigo `ifconfig`

danieltak

🔴 route show: genera error, el comando "route" no tiene la opción "show". Podemos usar "route", o "route -n" en su lugar.

Y ya que estamos hablando del comando ip, propio de #iproute2, nunca está de más aprender otros comandos de este paquete 🙂 👇

https://juncotic.com/iproute2-ifconfig-hora-de-actualizarse/

Espero que hayamos aprendido un poquito más de GNU/Linux y la gestión de red con esta encuesta!

Cualquier duda comenten! 💬

2/2

#gnu #linux #AprenderLinux #aprender_linux #learnlinux #juncotic

Iproute2: Usas ifconfig? Es hora de actualizarse! - Junco TIC

Usas ifconfig en Linux? en este artículo te presentamos a iproute2, la nueva suite de tools de red para Linux.

Junco TIC

Vamos con el feedback de la encuesta! Mil gracias a todos por participar! 🙌

🟢 Solución: ip ro

El object "ro", o "r", o "route" del comando ip permite ver la tabla de enrutamiento del sistema.

Es parte del paquete #iproute2, y viene a reemplazar al comando "route" de net-tools.

🔴 traceroute intenta encontrar la ruta que toma un paquete hasta alcanzar un destino en la red.

🔴 ip --route: el comando ip no tiene la opción "--route" y genera error. "ip route" es el correcto, una trampa ahí 😜

1/2

I was today days old when I learned about ip neighbour show / ip n from #iproute2. Good bye arp and net-tools-deprecated.

1/2

Vamos con el feedback de la encuesta!! Mil gracias a todos por participar!! 🤗

🟢 Solución: ip a

El comando #ip permite realizar casi todas las configuraciones de red en GNU/Linux.

"ip a" es la abreviatura de "ip addr", o "ip address", todos hacen lo mismo.

Es parte del paquete #iproute2, reemplazo de net-tools de #Unix, y remplaza a varias herramientas hoy consideradas obsoletas en Linux (creo que hace todo lo que antes hacíamos con #ifconfig, #route, #iptunnel, o #arp).

(sigue)

networking:iproute2 [Wiki]

I wonder how DSA network interfaces can be distinguished reliable. The port interfaces can be easily identified by the phys_port_name IFLA, but what is about the master interfaces?

I've access to a SoC which has a `dsa` and `eth0` interface (besides 4 port ifaces). Both have the same driver, the same businfo and the same mac address. How can they be distinguished at all, even if they have been renamed or moved into a netns?

Any ideas?

#linuxnetworking #ifstate #DSA #netlink #iproute2

🤯 #Gentoo's #netifrc init script supports #iproute2 policy based routing (#PBR)!!! 🤯

I've done very little with PBR over the years because of lack of -- what I considered to be -- good / 1st class support for it in distro init scripts. Meaning that anything I would do had to be hacky and difficult to maintain.

But netifrc having 1st class support for PBR, that's a game changer. 😈

Прозрачное туннелирование трафика с маршрутизацией на основе геолокации IP-адресов

В этой статье попробую рассказать как в домашней сети создать еще один шлюз по умолчанию и настроить на нем на выборочную маршрутизацию на основе списка подсетей. Используя в качестве такого списка базу данных геолокации IP-адресов, можно перенаправлять трафик в зависимости от страны назначения.

https://habr.com/ru/articles/854112/

#vpn #iptables #iproute2 #ipset #systemdnetworkd #маршрутизация

Прозрачное туннелирование трафика с маршрутизацией на основе геолокации IP-адресов

В этой статье попробую рассказать как в домашней сети создать еще один шлюз по умолчанию и настроить на нем на выборочную маршрутизацию на основе списка подсетей. Используя в качестве такого списка...

Хабр
networking:iproute2 [Wiki]