Iproute2

From HackerNet
Revision as of 15:47, 12 May 2015 by Helikopter (talk | contribs)
Jump to: navigation, search

Iproute2 is a collection of utilities for controlling TCP/IP networking and traffic control in Linux. 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.

Med dessa kommandon behöver man inte skriva ut alla bokstäver, likt switchar och routrar. T.ex. ip a s är samma som ip address show
Ifconfig, arp och route-kommandona är påväg bort, vänj dig.

ip

ip address show

ip a
ip a s eth0

ip routes show

ip r

ip link list

ip l
ip -s l (med statistik)

ip neigh show

ip n

ip neigh flush

ip n f

tc