正常情况下网卡已启用,可以用命令查看到
ifconfig -a
ip addr show
arp
网卡没启用时,通过网卡配置文件来查看
cat /etc/sysconfig/network-scripts/ifcfg-eth0
网卡配置文件没有正确生成时
cat /sys/class/net/eth0/address
双网卡绑定时查看mac
cat /proc/net/bonding/bond0
正常情况下网卡已启用,可以用命令查看到
ifconfig -a
ip addr show
arp
网卡没启用时,通过网卡配置文件来查看
cat /etc/sysconfig/network-scripts/ifcfg-eth0
网卡配置文件没有正确生成时
cat /sys/class/net/eth0/address
双网卡绑定时查看mac
cat /proc/net/bonding/bond0
Posted in Linux 命令.
By C1G – 2012/07/03
关注互联网、网页设计、Web开发、服务器运维优化、项目管理、网站运营、网站安全…
Proudly powered by WordPress and Carrington.
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.