[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