啟動(dòng)一個(gè)down狀態(tài)的網(wǎng)卡并設(shè)置臨時(shí)IP:
?ifconfig eth3 172.168.1.100 netmask 255.255.255.0 up
刪除網(wǎng)卡的臨時(shí)IP地址:
ip addr del 172.168.1.100 dev eth3
停用網(wǎng)卡:
ifconfig eth3 down
啟動(dòng)一個(gè)down狀態(tài)的網(wǎng)卡并設(shè)置臨時(shí)IP:
?ifconfig eth3 172.168.1.100 netmask 255.255.255.0 up
刪除網(wǎng)卡的臨時(shí)IP地址:
ip addr del 172.168.1.100 dev eth3
停用網(wǎng)卡:
ifconfig eth3 down