????linux??ip?????ifconfig?????????????????????????????????ip????????????????????????????Щ???????????ifconfig??net-tools??????????????????????????????????????iproute2????????????????????????ip??????????????

????????ip??????????????iproute2??????? ?????????????Linux???а????????iproute2?????
??????????????git???????????????????????
????$ git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/shemminger/iproute2.git

???????ú????Ip???
????????????????????IP????????????????ip????
????$ sudo ip addr add 192.168.0.193/24 dev wlan0
?????????IP??????????????????/24???????÷???????????????·?????CIDR????????????????????????????????У???????????255.255.255.0??
????????????????????ú?IP??????????????????Ч??
????$ ip addr show wlan0

??????????????????????????IP??????????del????add??
????$ sudo ip addr del 192.168.0.193/24 dev wlan0

?????г?·??????
????ip?????·??????????????????????????е?·????????????????·??????????????????·??????????????????????
??????????????У??м???·?????????????????м????豸???????????????????????????????WIFI?????????????????????
????$ ip route show

???????????????????IP?????????????·?????????????????????????·???????????г???·??????????????
????$ ip route get 10.42.0.47

???????????·??
????????????·??????????ip????
????$ sudo ip route add default via 192.168.0.196

??????????????????
???????ip?????????????????????????????

??????????????????????????????????????????????????????ls???ɡ?????????-s?????????????????????????????????????????????????????????á?
????$ ip -s -s link ls p2p1