[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:48:F4:B7
inet addr:192.168.0.122 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe48:f4b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10308 (10.0 KiB) TX bytes:19516 (19.0 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:1091 errors:0 dropped:0 overruns:0 frame:0
TX packets:1091 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1815996 (1.7 MiB) TX bytes:1815996 (1.7 MiB)
[root@localhost ~]# netstat
K
unix 3 [ ] STREAM CONNECTED 6352
unix 3 [ ] STREAM CONNECTED 6193 @/var/run/hald/dbus-5l7Icudt3K
unix 3 [ ] STREAM CONNECTED 6192
unix 3 [ ] STREAM CONNECTED 6169 /var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 6168
unix 3 [ ] STREAM CONNECTED 6163 @/var/run/hald/dbus-5l7Icudt3K
等等,没有tcp,udp