Iproute2

From HackerNet
Revision as of 14:37, 12 May 2015 by Helikopter (talk | contribs) (Created page with "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 c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 s
ip a s eth0

ip routes show

ip r s

ip link list

ip l l

ip neigh show

ip n s

ip neigh flush

ip n f

tc