ip addr/IPADDR) · 경로(ip route/GATEWAY) · 이름(resolv.conf/hosts).ifconfig·route·arp ↔ 현대 ip(iproute2)·nmcli. 시험은 1:1 대응표를 묻는다.ip addr add·ifconfig·resolv.conf 직접 수정은 임시(또는 덮어쓰기 위험), ifcfg 파일·nmcli con mod는 영구다.ifcfg-eth0에서 ONBOOT=no면 IP가 다 맞아도 부팅 시 인터페이스가 안 올라온다. BOOTPROTO는 static/dhcp를 가른다./etc/nsswitch.conf의 hosts: files dns 순서 — /etc/hosts가 DNS보다 먼저 매칭된다.ifconfig, route, arp를 통합해 대체한 것이 ip 명령(iproute2 패키지)이다.# 인터페이스와 IP 주소 확인
ip addr show # 줄여서 ip a
ip addr show eth0 # 특정 인터페이스만