– Rocky-9.2
NetworkManager와 상호 작용할 수 있도록 하는 명령어 도구입니다.
# nmcli device
DEVICE TYPE STATE CONNECTION
ens32 ethernet connected ens32
lo loopback connected (externally) lo # nmcli connection modify ens32 ipv4.addresses 192.168.204.221/24
# nmcli connection modify ens32 ipv4.gateway 192.168.204.254
# nmcli connection modify ens32 ipv4.dns 168.126.63.1
# nmcli connection modify ens32 ipv4.method manual
# nmcli connection up ens32
# nmcli connection show ens32 | grep ipv4
ipv4.method: manual
ipv4.dns: 168.126.63.1
ipv4.addresses: 192.168.204.221/24
ipv4.gateway: 192.168.204.254 # ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.204.221 netmask 255.255.255.0 broadcast 192.168.204.255
inet6 fe80::250:56ff:fead:14b0 prefixlen 64 scopeid 0x20<link>
ether 00:50:56:ad:14:b0 txqueuelen 1000 (Ethernet)
RX packets 3120 bytes 208890 (203.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 167 bytes 27215 (26.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 72 bytes 6120 (5.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 72 bytes 6120 (5.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 # ping google.com
64 bytes from kix06s11-in-f14.1e100.net (142.250.207.110): icmp_seq=1 ttl=55 time=77.0 ms
64 bytes from kix06s11-in-f14.1e100.net (142.250.207.110): icmp_seq=2 ttl=55 time=77.1 ms
64 bytes from kix06s11-in-f14.1e100.net (142.250.207.110): icmp_seq=3 ttl=55 time=77.1 ms https://youtu.be/n8-wlkZiqio 1. 개요 NFS(Network File System)를 설치하고, rw/ro 및 root_squash 옵션에 따른 접근 제어와 성능을 테스트하는 방법을 정리한 가이드입니다.…
https://youtu.be/4MVxzmepY3s 1. 개요 리눅스에서 정기적으로 실행되는 작업(백업, 로그 정리, 모니터링 등)은 cron 서비스를 통해 자동화할 수 있습니다.…
https://youtu.be/vPfxWFBE1yc 1. 개요 리눅스 서버를 운영할 때 사용자 계정 생성, 비밀번호 설정, 권한 부여, 계정…
https://youtu.be/Gvp2XwBfoKw 1. 개요 리눅스 서버에서는 시스템 시간(OS 시간) 과 하드웨어 시간(RTC, Real-Time Clock) 을 동기화하는 것이 매우 중요합니다. 클러스터…
https://youtu.be/pt9qhawl8LY 1. 개요 리눅스 서버에서는 시스템 시간(OS 시간) 과 하드웨어 시간(RTC, Real-Time Clock) 을 모두 관리할 수 있습니다. 운영체제의…
https://youtu.be/iPdHGXh7DUg 1. 개요 서버 운영 시 시스템 시간이 올바르게 설정되어 있지 않으면 로그 분석, 모니터링,…