[root@lnmp ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:02:DF:96
inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe02:df96/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2871295 errors:0 dropped:0 overruns:0 frame:0
TX packets:1255426 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:548009625 (522.6 MiB) TX bytes:335889745 (320.3 MiB)
eth1 Link encap:Ethernet HWaddr 00:0C:29:02:DF:A0
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe02:dfa0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1876 errors:0 dropped:0 overruns:0 frame:0
TX packets:325 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:343255 (335.2 KiB) TX bytes:23226 (22.6 KiB)
lo Link encap:Local 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:15562 errors:0 dropped:0 overruns:0 frame:0
TX packets:15562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3001426 (2.8 MiB) TX bytes:3001426 (2.8 MiB)
转载于:https://blog.51cto.com/zxlong7/1937309