더북(TheBook)

11. 컴퓨트 노드의 IP 설정이 완료되면 NetworkManager와 network를 재시작해 시스템에 적용합니다. ifconfig 명령어를 이용해 eth1의 IP가 정상적으로 설정되는지 확인합니다.

[root@compute network-scripts]# systemctl restart NetworkManager
[root@compute network-scripts]# systemctl restart network
[root@compute network-scripts]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.56.102  netmask 255.255.255.0  broadcast 192.168.56.255
        inet6 fe80::a00:27ff:fe52:3ff5  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:52:3f:f5  txqueuelen 1000  (Ethernet)
        RX packets 1124  bytes 107400 (104.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 637  bytes 99958 (97.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::a00:27ff:fe3f:ad71 prefixlen 64 scopeid 0x20<link> ether 08:00:27:3f:ad:71 txqueuelen 1000 (Ethernet) RX packets 8757 bytes 12756418 (12.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4211 bytes 283001 (276.3 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 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.