Hi Anand, Many thanks for the tips, i'll try that ASAP !
Lehuédé Sébastien > Le 28 mars 2017 à 11:46, Anand Subramanian <asubraman...@hortonworks.com> a > écrit : > > Hello Sebastien, > > I was able to get bridged mode working as follows: > Deployed full dev vagrant with default NAT interface > Shutdown VM using vagrant halt > Launched 'VirtualBox' management UI > Edit VM settings -> Networks -> change the adapter setting to 'Bridged > Adapter' > Start VM, and I was able to SSH into the VM from another box. > HTH, > Anand > > From: Sebastien Lehuede <lehued...@gmail.com> > Reply-To: "user@metron.incubator.apache.org" > <user@metron.incubator.apache.org> > Date: Tuesday, March 28, 2017 at 10:33 AM > To: "user@metron.incubator.apache.org" <user@metron.incubator.apache.org> > Subject: Bridged network interface > > Hi list, > > I’m successfully able to deploy the full-dev-platform with default > configuration. But now, i want to deploy Metron virtualbox with bridged > network interface instead of NAT interface. > > I changed configuration inside « VagrantFile », first I modified IP Address > to correspond with my private network : > > hosts = [{ > hostname: "node1", > # ip: "192.168.66.121", > ip: "192.168.0.151", > memory: "8192", > cpus: 4, > promisc: 2 # enables promisc on the 'Nth' network interface > }] > > Next, I changed host settings : > > # host settings > node.vm.hostname = host[:hostname] > node.vm.network « public_network", bridge: "ens33", adapter: 1, ip: > host[:ip] > > But when I try to deploy full-dev-platform, I got the following error, SSH > Authentication fail : > > [root@srv-metron full-dev-platform]# vagrant up > Running with ansible-skip-tags: ["sensors", "quick_dev"] > Bringing machine 'node1' up with 'virtualbox' provider... > ==> node1: Importing base box 'metron/centos_base'... > ==> node1: Matching MAC address for NAT networking... > ==> node1: Checking if box 'metron/centos_base' is up to date... > ==> node1: Setting the name of the VM: > full-dev-platform_node1_1490676296055_66486 > ==> node1: Clearing any previously set network interfaces... > ==> node1: Preparing network interfaces based on configuration... > node1: Adapter 1: bridged > ==> node1: Forwarding ports... > node1: 22 (guest) => 2222 (host) (adapter 1) > node1: VirtualBox adapter #1 not configured as "NAT". Skipping port > node1: forwards on this adapter. > ==> node1: Running 'pre-boot' VM customizations... > ==> node1: Booting VM... > ==> node1: Waiting for machine to boot. This may take a few minutes... > node1: SSH address: 127.0.0.1:22 > node1: SSH username: vagrant > node1: SSH auth method: private key > node1: Warning: Authentication failure. Retrying... > node1: Warning: Authentication failure. Retrying... > node1: Warning: Authentication failure. Retrying... > node1: Warning: Authentication failure. Retrying… > > Is anyone already tried to deploy Metron with non-NAT interface ? Someone can > help me with that ? > > Thanks, > > Sebastien Lehuede > >