인프런 커뮤니티 질문&답변
vagrant up 실행 시 network 이슈로 cent1이 정상 설치가 안되네요
작성
·
187
0
Vagrant up 수행 시 하기와 같이 에러가 뜹니다..
테스트 OS는 Mac이고,
Virtual Box 버전은 6.1.28 r147628입니다.
=======================================
VWS_vagrant_script % vagrant up
Bringing machine 'cent1' up with 'virtualbox' provider...
Bringing machine 'cent2' up with 'virtualbox' provider...
Bringing machine 'cent3' up with 'virtualbox' provider...
==> cent1: Checking if box 'centos/8' version '2011.0' is up to date...
==> cent1: Clearing any previously set network interfaces...
The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.
Address: 172.18.1.91
Ranges: 192.168.56.0/21
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:
https://www.virtualbox.org/manual/ch06.html#network_hostonly
퀴즈
Công cụ giúp quản lý máy chủ ảo bằng mã và tự động hóa cấu hình kết hợp VirtualBox khi xây dựng môi trường thực hành là gì?
Docker
Git
Vagrant
MariaDB
답변 2
0
vagrant script를 업데이트 했습니다.
https://www.inflearn.com/news/438345
현재 환경을 vagrant destroy로 삭제하시고 vagrant script를 업데이트한 후에 다시 vagrant up으로 설치해주세요.
실습 환경설정을 빠르고 쉽게 구축할 수 있도록 지속적인 업데이트를 해 나가겠습니다.
0
안녕하세요 성모님!!! :) 에러에 대해 말씀드릴게요!
virtualbox 6.1.28버전부터 host-only network 어댑터의 IP주소 범위에 제한이 생겼다고 합니다. 해결 방법은 두 가지가 있는데 설정을 변경 할 필요없는 2번을 추천합니다. 1. /etc/vbox/networks.conf 에 다음을 추가하고 vagrant up 을 실행 * 10.0.0.0/8 2. virtualbox를 6.1.26으로 다운그레이드해서 재설치하신 후 vagrant up을 실행




