网络的几个基本小问题:
[work@localhost work]$ /sbin/ifconfig
lo Link encap
ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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)
ppp0 Link encap
oint-to-Point Protocol
inet addr:218.97.194.201 P-t-P:192.168.0.4 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2659 errors:2 dropped:0 overruns:0 frame:0
TX packets:2836 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2274403 (2.1 Mb) TX bytes:388707 (379.5 Kb)
1、为什么需要lo,删除可以吗?
2、为什么ppp0的Mask为255.255.255.255,与局域网不一样?
--------------------next---------------------
阅读(284) | 评论(0) | 转发(0) |