Windows 7 기능 중 ICS(Internet Connection Sharing) 기능을 이용하는 방법입니다.
제가 build 7068(?)인걸로 알고 있는데 이것을 이용하면 Virtual Network이 192.168.137.XXX으로 설정되게 됩니다.
1. Run the Virtual Network Editor as Administrator (Use RunAS or right click and Run as Administrator on vmnetcfg.exe)
-- Virtual Network Editor를 Administrator 모드로 시작합니다. (vmnetcfg.exe를 마우스 오른쪽 클릭하시고 Run as Administrator 를 클릭하세요)
2. Goto Host Virtual Adapters and remove all VMNet instances (VMNet1 and VMNet8 typically).
-- Host Virtual Adapters를 클릭하고 VMNet 으로 등록된 모든 어뎁터를 지웁니다. (보통 VMNet1 과 VMNet8 )
3. Click Apply.
-- 적용(Apply) 버튼을 누릅니다.
4. Add New and Assign it the new adapter to VMnet1.
-- Add New 버튼을 누르고 Assign 버튼을 눌러서 VMNet1을 새로운 어뎁터로 설정합니다.
5. Click Apply.
-- 적용(Apply) 버튼을 누릅니다.
6. Select the Host Virtual Networking tab.
-- Host Virtual Networking 탭을 누르세요.
7. Click the > next to VMnet1 and change the address and subnet to the ICS network (192.168.0.0 / 255.255.255.0)
-- VMNet1 옆에 있는 ">" 버튼을 누른다음 subnet IP를 192.168.137.0/255.255.255.0 로 설정합니다.
역주) 192.168.0.0 은 Beta Version 중 build 7000 이하로 알고 있습니다. 제 버전은 7068(?) 인가 인데 192.168.137.0 을 ICS에서 사용하고 있습니다.
확인 하는 방법은
Control Panel\Network and Internet\Network and Sharing Center 로 이동하시고
Local Area Connection 을 클릭 -> Properties를 클릭 -> Sharing 탭 클릭 하신 후 첫번째 항목 클릭하시고
Network Adaptor를 하나 클릭하시면 경고 문구가 뜨면서 해당 IP 대역을 사용해야 한다고 알려줍니다.
8. Click Apply.
-- 적용(Apply) 버튼을 누릅니다.
9. Go to the NAT tab and select VMNet1.
-- NAT tab을 누르시고 VMNet1을 선택합니다.
10. Click Edit and change the Gateway to the ICS gateway IP (192.168.0.1)
-- Edit를 클릭하시고 Gateway IP를 192.168.137.1 로 변경합니다.
역주) VMWare는 Gateway IP를 192.168.XXX.2로 사용하는 것을 권고하지만 Windows의 ICS 를 이용하려면 192.168.XXX.1로 하여야 합니다.
11. Click Apply and restart the NAT service. (Counter-intuitive, I know.)
-- NAT 서비스 Restart 버튼을 누르고 적용버튼을 누릅니다.
12. Go to the DHCP tab.
-- DHCP 탭으로 이동합니다.
13. Add VMNet1 and remove all others.
-- VMNet1 을 추가하고 나머지는 모두 지웁니다.
14. Click Apply.
-- 적용 버튼을 누릅니다.
15. Select Properties of VMNet1 in DHCP Tab.
-- DHCP 탭 내에서 VMNet1의 properties 를 선택합니다.
16. Enter a Start and End Address for DHCP Scope (192.168.0.50 to 192.168.0.75 as an example)
-- DHCP 할당 IP 대역을 Start와 End Address에 각각 입력합니다. (기본 값으로 두셔도 상관 없습니다.)
17. Adjust client lease to a few days to avoid potential DHCP client renewal timeouts.
-- Renewal time을 되도록 길게 해서 DHCP IP가 Release되지 않도록 합니다. (저의 경우 한달로 해놨습니다.)
18. Click OK / Click Apply.
-- OK 버튼을 누르고 Apply 버튼을 누릅니다.
19. Select Host Only Networking for every VM that needs NAT out to your host network/internet.
-- VMWare의 모든 Guest OS의 Network Setting을 Host Only Networking으로 변경합니다.
역주) 물론 Guest OS는 DHCP 모드 로 되어야 하겠죠. Static IP도 사용 가능 할 것 으로 보입니다 만 실험해보진 않았습니다.
20. Enable ICS (Internet Connection Sharing) on the W7 Host network card that provides connectivity. Select VMNet1 as the network card that needs access.
-- Windows 7 에서 (7) 번에서 설명드린 것처럼 ICS를 활성화 하시고 Network Adopter를 VMNet1을 선택하시면 모든 셋팅이 끝납니다.
댓글 없음:
댓글 쓰기