????Linux?μ?ip????ifconfig????????
?????linoxide ???????[ 2017/2/4 11:24:52 ] ?????????????? Linux
????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
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11