사용자 도구

사이트 도구


linux:arch:network

Arch Linux Network

ifconfig

  • 기본적으로 ifconfig 명령이 없으며 이 명령은 Debian Linux 스타일이다.
  • ip addr 명령 사용
if addr

# 결과..
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 68:f7:28:ef:ae:2f brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 5c:e0:c5:8c:df:75 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.163/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp4s0
       valid_lft 80162sec preferred_lft 80162sec
    inet6 fe80::a169:536a:e0f:a85b/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
...
  • ifconfig 명령을 원한다면 관련 패키지를 AUR에서 설치한다.
yay -S aur/net-tools-debian-ifconfig
linux/arch/network.txt · 마지막으로 수정됨: 2019/07/24 16:25 저자 kwon37xi