https://edu.aliyun.com/lesson_1713_13917?spm=5176.10731542.0.0.6afb27a1O2JnMp#_13917
主机,网络(网段),默认路由
精度高,优先级高
route -n
网关:直连(可以不配),非直连(下一个路由邻近的口)
边界位置可以加默认路由
缺省(默认)
hostname
linux主机名没有网络功能
windows的计算机名有网络功能
eth0,ppp(拨号)
改网卡
/etc/udev/rules.d/70-persistent-net.rules
网卡驱动模块
dmesg |grep -i eth
ethtool -i eth2
modprobe -r e1000 卸载
modprobe e1000 加载
ifconfig,route,netstat被提示为老命令,后期版本可能会删除
setup,system-config-network-tui
ifconfig eth1 down
ifconfig -a
ifconfig eth1 up
ip link
ifdown eth0 禁用网卡
ifup eth0 启用网卡
ifconfig eth1 1.1.1.1/24 临时
ifconfig eth1 3.3.3.3/24 -breadcast
route add -net 8.8.8.8 netmask 255.255.255.255 gw 3.3.3.100
service network restart
tcpdump -i eht1 抓包
tcpdump -i eht1 icmp