Diferença de 'rota' e 'rota ip'

0

Estou usando o arch-linux.

route e ip route fornecem basicamente as mesmas informações para mim.

Mas route leva muito mais tempo do que ip route .

Qual é o motivo?

    
por vfsoraki 30.03.2014 / 09:33

1 resposta

1

A diferença está na idade: ip , parte do pacote iproute2 , é mais recente e destina-se a substituir ferramentas mais antigas, como route .

A Linux Foundation explica :

Most network configuration manuals still refer to ifconfig and route as the primary network configuration tools, but ifconfig is known to behave inadequately in modern network environments. They should be deprecated, but most distros still include them. Most network configuration systems make use of ifconfig and thus provide a limited feature set. The /etc/net project aims to support most modern network technologies, as it doesn't use ifconfig and allows a system administrator to make use of all iproute2 features, including traffic control.

iproute2 is usually shipped in a package called iproute or iproute2 and consists of several tools, of which the most important are ip and tc. ip controls IPv4 and IPv6 configuration and tc stands for traffic control. Both tools print detailed usage messages and are accompanied by a set of manpages.

Conforme documentado pela wikipedia , ip route tem o objetivo de substituir route , enquanto ip addr e ip link irá substituir ifconfig .

    
por 30.03.2014 / 09:47