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

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(다른 사용자 한 명의 중간 판 2개는 보이지 않습니다)
7번째 줄: 7번째 줄:


==실행예시==
==실행예시==
<source lang='console'>
<syntaxhighlight 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번째 줄:
           collisions:0 txqueuelen:0  
           collisions:0 txqueuelen:0  
           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>
</syntaxhighlight>
<source lang='console'>
<syntaxhighlight 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
42번째 줄: 42번째 줄:
           collisions:0 txqueuelen:1000
           collisions:0 txqueuelen:1000
           RX bytes:92188 (90.0 KiB)  TX bytes:91468 (89.3 KiB)
           RX bytes:92188 (90.0 KiB)  TX bytes:91468 (89.3 KiB)
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
55번째 줄: 55번째 줄:
* [[리눅스 ifup, ifdown]]
* [[리눅스 ifup, ifdown]]
* [[리눅스 ifconfig -s]]
* [[리눅스 ifconfig -s]]
==주석==
<references/>


==참고==
==참고==
*http://en.wikipedia.org/wiki/Ifconfig
* {{영어위키백과|Ifconfig}}


[[분류: 리눅스 네트워크]]
[[분류: 리눅스 네트워크]]
[[분류: /sbin]]
[[분류: /sbin]]
[[분류: net-tools]]
[[분류: net-tools]]

2021년 7월 17일 (토) 17:45 기준 최신판

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
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}