CÁC BÀI THỰC HÀNH LINUX - Trang 43

- 42-

7.

Xem thông tin về cấu hình thiết bị mạng

[root@linuxsvr root]#ifconfig
eth0 Link encap:Ethernet HWaddr 00:06:7B:02:71:21

inet addr:200.201.202.1 Bcast:200.201.202.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:2326 errors:0 dropped:0 overruns:0 frame:0
TX packets:70927 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100
RX bytes:218392 (213.2 Kb) TX bytes:6939053 (6.6 Mb)

Interrupt:9 Base address:0x4c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0

TX packets:933 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

RX bytes:87261 (85.2 Kb) TX bytes:87261 (85.2 Kb)

Hình 1. Cấu hình dịch vụ mạng bằng tiện ích redhat-config-network.