Ip

wwiki
(Ifconfig에서 넘어옴)
이동: 둘러보기, 검색

인터넷 프로토콜은 별도의 문서이다.

Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

      ip [ -force ] -batch filename
where  OBJECT := { link | address | addrlabel | route | rule | neigh | ntable |
                  tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                  netns | l2tp | fou | macsec | tcp_metrics | token | netconf | ila |
                  vrf | sr }
      OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                   -h[uman-readable] | -iec | -j[son] | -p[retty] |
                   -f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |
                   -4 | -6 | -I | -D | -M | -B | -0 |
                   -l[oops] { maximum-addr-flush-attempts } | -br[ief] |
                   -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
                   -rc[vbuf] [size] | -n[etns] name | -a[ll] | -c[olor]}

OBJECT[편집 | 원본 편집]

link[편집 | 원본 편집]

network device

예시[편집 | 원본 편집]

아이피 주소 보기[편집 | 원본 편집]

$ ip addr
$ ip addr show eth0

addr object 도움말 보기[편집 | 원본 편집]

$ ip addr help

[DEVICE]의 mtu값을 [MTU]로 변경[편집 | 원본 편집]

[MTU]기본값은 일반적으로 1500이다. mtu: maximum transmission unit

$ ip link set [DEVICE] mtu [MTU]

외부링크[편집 | 원본 편집]

ss