网络端口配置 ifconfig
查看命令:
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:B0:4F:59
inet6 addr: fe80::2e0:4cff:feb0:4f59/64 Scope:Link ;主机地址信息
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ;MTU最大传输单元 metric 量度值
RX packets:5719 errors:0 dropped:0 overruns:0 frame:0 ; RX 接收包
TX packets:5838 errors:0 dropped:0 overruns:0 carrier:0 ;TX 传输包
collisions:0 txqueuelen:1000
RX bytes:3664215 (3.4 MiB) TX bytes:671630 (655.8 KiB)
Interrupt:153 Base address:0x6000
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:8835 errors:0 dropped:0 overruns:0 frame:0
TX packets:8835 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6032605 (5.7 MiB) TX bytes:6032605 (5.7 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:219.152.75.238 P-t-P:219.152.72.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1197 (1.1 KiB) TX bytes:1705 (1.6 KiB)
[root@localhost ~]#
;errors 错误