![RHEL 7.2 가상 머신의 네트워크에 액세스할 수 없는 이유는 무엇입니까?](https://linux55.com/image/8722/RHEL%207.2%20%EA%B0%80%EC%83%81%20%EB%A8%B8%EC%8B%A0%EC%9D%98%20%EB%84%A4%ED%8A%B8%EC%9B%8C%ED%81%AC%EC%97%90%20%EC%95%A1%EC%84%B8%EC%8A%A4%ED%95%A0%20%EC%88%98%20%EC%97%86%EB%8A%94%20%EC%9D%B4%EC%9C%A0%EB%8A%94%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
RHEL 7.2에 대한 30일 평가판을 받았습니다.
VirtualBox 시스템에 설치하고 구독 등록을 시도했습니다.
# subscription-manager register
Registering to: subscription.rhn.redhat.com:443/subscription
Username: ***
Password:
Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
로그에는 네트워크 오류가 발생했다고 나와 있습니다.
2016-06-10 17:35:13,853 [INFO] subscription-manager:2398 @connection.py:778 - Connection built: host=subscription.rhn.redhat.com port=443 handler=/subscription auth=basic username=***
2016-06-10 17:35:13,899 [DEBUG] subscription-manager:2398 @hwprobe.py:554 - cpu info: {'cpu.cpu(s)': 1, 'cpu.core(s)_per_socket': 1, 'cpu.thread(s)_per_core': 1, 'cpu.topology_source': 'kernel /sys cpu sibling lists', 'cpu.cpu_socket(s)': 1}
2016-06-10 17:36:34,000 [DEBUG] subscription-manager:2398 @hwprobe.py:772 - Running 'virt-what'
2016-06-10 17:36:34,059 [DEBUG] subscription-manager:2398 @hwprobe.py:776 - virt-what stdout: virtualbox
kvm
2016-06-10 17:36:34,059 [DEBUG] subscription-manager:2398 @hwprobe.py:777 - virt-what stderr:
2016-06-10 17:36:34,068 [INFO] subscription-manager:2398 @hwprobe.py:854 - collected virt facts: virt.is_guest=True, virt.host_type=virtualbox, kvm, virt.uuid=bcb0c5f9-560d-44df-b8b7-3a085d08cff5
2016-06-10 17:36:34,069 [DEBUG] subscription-manager:2398 @connection.py:475 - Loaded CA certificates from /etc/rhsm/ca/: redhat-uep.pem
2016-06-10 17:36:34,069 [DEBUG] subscription-manager:2398 @connection.py:523 - Making request: GET /subscription/users/***/owners
2016-06-10 17:37:14,122 [ERROR] subscription-manager:2398 @managercli.py:160 - Error during registration: [Errno -3] Temporary failure in name resolution
2016-06-10 17:37:14,123 [ERROR] subscription-manager:2398 @managercli.py:161 - [Errno -3] Temporary failure in name resolution
그러나 DNS보다 더 많은 것이 있는 것 같습니다. 브리지 어댑터를 사용하고 있습니다.
ssh로 접속했어요. 라우터는 192.168.0.1, 호스트는 192.168.0.103, 게스트는 192.168.0.100입니다. 게스트로부터 호스트에 ping을 보낼 수 있습니다.
# ping -c 1 192.168.0.103
PING 192.168.0.103 (192.168.0.103) 56(84) bytes of data.
64 bytes from 192.168.0.103: icmp_seq=1 ttl=64 time=0.342 ms
--- 192.168.0.103 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.342/0.342/0.342/0.000 ms
하지만 라우터에 ping을 보낼 수 없습니다. 아니면 그 외에 다른 것.
# ping -c 1 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
출력 ip route
:
# ip route
default via 192.168.0.1 dev enp0s3 proto static metric 100
192.168.0.0/24 dev enp0s3 proto kernel scope link src 192.168.0.100 metric 100
내가 뭘 잘못했나요?