4. ifconfig display

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 02:00:01:00:00:26
         inet6 addr: fe80::1ff:fe00:26/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
         RX packets:253698 errors:0 dropped:0 overruns:0 frame:0
         TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:21402753 (20.4 Mb)  TX bytes:1692 (1.6 Kb)

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:3 errors:0 dropped:0 overruns:0 frame:0
         TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:336 (336.0 b)  TX bytes:336 (336.0 b)

sit0      Link encap:IPv6-in-IPv4
         NOARP  MTU:1480  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)

vlan12    Link encap:Ethernet  HWaddr 02:00:01:00:00:26
         inet addr:10.12.27.32  Bcast:10.12.27.255  Mask:255.255.255.0
         inet6 addr: fe80::1ff:fe00:26/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
         RX packets:253698 errors:0 dropped:0 overruns:0 frame:0
         TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:21402753 (20.4 Mb)  TX bytes:1224 (1.1 Kb)

Reply via email to