"리눅스 ifconfig"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-<source lang='cli'> +<source lang='console'>))
6번째 줄: 6번째 줄:


==실행예시==
==실행예시==
<source lang='cli'>
<source lang='console'>
[root@zetawiki ~]# ifconfig
[root@zetawiki ~]# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0C:24:68:0D:1E   
eth1      Link encap:Ethernet  HWaddr 00:0C:24:68:0D:1E   
26번째 줄: 26번째 줄:
           RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)
           RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)
</source>
</source>
<source lang='cli'>
<source lang='console'>
[root@localhost ~]# ifconfig
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:5D:DB:01
eth0      Link encap:Ethernet  HWaddr 52:54:00:5D:DB:01

2016년 3월 29일 (화) 12:33 판

1 개요

interface configuration; ifconfig
/sbin/ifconfig

2 실행예시

[root@zetawiki ~]# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0C:24:68:0D:1E  
          inet addr:192.168.0.32  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe86::42d:09cb:af75:e3d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:85 errors:0 dropped:0 overruns:0 frame:0
          TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:18373 (17.9 KiB)  TX bytes:16496 (16.1 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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:480 (480.0 b)  TX bytes:480 (480.0 b)
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:5D:DB:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:982 errors:0 dropped:0 overruns:0 frame:0
          TX packets:970 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:92188 (90.0 KiB)  TX bytes:91468 (89.3 KiB)

eth1      Link encap:Ethernet  HWaddr 52:54:00:5D:DB:02
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:982 errors:0 dropped:0 overruns:0 frame:0
          TX packets:970 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:92188 (90.0 KiB)  TX bytes:91468 (89.3 KiB)

3 같이 보기

4 주석

  1. v4와 v6

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}