|
[root@localhost ~]# ifconfig eth1 down
[root@localhost ~]#
[root@localhost ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:E0:4C:B2:20:60
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1969 errors:0 dropped:0 overruns:0 frame:0
TX packets:2187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1407415 (1.3 MiB) TX bytes:416898 (407.1 KiB)
Interrupt:177 Base address:0x4000
使用 ifconfig eth1 down 后为什么不能把接口给down掉?
而使用ifup和ifdown却没问题
[root@localhost ~]# ifdown eth1
[root@localhost ~]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:E0:4C:B2:20:60
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1969 errors:0 dropped:0 overruns:0 frame:0
TX packets:2187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1407415 (1.3 MiB) TX bytes:416898 (407.1 KiB)
Interrupt:177 Base address:0x4000
[root@localhost ~]# ifup eth1
正在决定 eth1 的 IP 信息...完成。
[root@localhost ~]#
我命令用错了吗??? |
|