关闭某个网卡
[root@ok Desktop]# ifconfig br0 up 开启网桥br0 #给主要个临时的ip [root@ok Desktop]# ifconfig eth0 192.168.1.112 [root@ok Desktop]# ifconfig eth0 Link encap:Ethernet HWaddr 54:EE:75:4E:37:D9 inet addr:192.168.1.112 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:f2600000-f2620000 关闭一个网卡 [root@ok Desktop]# ifconfig eth0 down
联系方式QQ:326528263 EMAIL:clnking@163.com 网名:bass 分享技术 突破难点 创新思维