|
|
[root@localhost etc]# ip addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0e:a6:0a:92:11 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.85/24 brd 10.10.10.255 scope global eth0
inet6 fe80::20e:a6ff:fe0a:9211/64 scope link
valid_lft forever preferred_lft forever
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
[root@localhost etc]#
******************************************************************************
[root@localhost etc]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0E:A6:0A:92:11
inet addr:10.10.10.85 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe0a:9211/64 Scope ink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1487 errors:0 dropped:0 overruns:0 frame:0
TX packets:1061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1148886 (1.0 MiB) TX bytes:190655 (186.1 KiB)
Interrupt:5 Base address:0x9800
lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2120 errors:0 dropped:0 overruns:0 frame:0
TX packets:2120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2719731 (2.5 MiB) TX bytes:2719731 (2.5 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
***********************************************************************
启动时显示:Interface eth0 doesn't exist [WARN]
************************************************************************ |
|