ifconfig IPV4地址不见了
发布时间:2014-03-25 17:37:06来源:红联作者:gong_xufei
工作站装有两个网卡,其中一个(eth0)设置为了固定IP、一个(eth1)设置为了动态IP
现在想查看eth1的地址,在root下执行ifconfig,得到后面的信息。
可见,eth1中没有显示想要的inet addr信息
这是为什么?如何解决此问题?[code]eth0 Link encap:Ethernet HWaddr D4:AE:52:94:47:49
inet addr:192.168.10.19 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: 2001:da8:7007:612:d6ae:52ff:fe94:4749/64 Scope:Global
inet6 addr: fe80::d6ae:52ff:fe94:4749/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1470335418 errors:0 dropped:0 overruns:0 frame:0
TX packets:951435154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1950542107454 (1.7 TiB) TX bytes:617230041099 (574.8 GiB)
Interrupt:162 Memory:c6000000-c6012800
eth1 Link encap:Ethernet HWaddr D4:AE:52:94:47:4B
inet6 addr: 2001:da8:7007:612:d6ae:52ff:fe94:474b/64 Scope:Global
inet6 addr: fe80::d6ae:52ff:fe94:474b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12572 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1195174 (1.1 MiB) TX bytes:5549 (5.4 KiB)
Interrupt:170 Memory:c8000000-c8012800
[/code]