unboundev
unboundev

Reputation: 357

How to access the Cassandra browser terminal running on VirtualBox?

I'm trying to access the Cassandra browser terminal but the reported IP is unreachable.

I'm following the instructions to install Cassandra on VirtualBox here, and have the following configuration:

DHCP Server Config

And Cassandra appears to start up appropriately:

enter image description here

But I'm unable to hit the provided IP (10.0.0.2)

enter image description here

Any idea what's wrong?

Upvotes: 3

Views: 1181

Answers (2)

Marco Liceti
Marco Liceti

Reputation: 167

Had the same issue. Here's what worked for me (the solution came from this VirtualBox forum post).

In Host-only Network Details select the Adapter tab and change the ipv4 address into something inside the 10.0.0.x range. I think you should avoid conflicts with settings in the DHCP Server tab, thus a suitable choice would be 10.0.0.254, for example.

enter image description here

Also, I think you should configure your virtual machine's network settings this way:

  • Attach to: select Host-only Adapter
  • Name: select vboxnet0

enter image description here

I've also set Allow All for Promiscous Mode, but I don't know if it's strictly required.

Upvotes: 2

Aaron
Aaron

Reputation: 57758

Ok, so I went to Install Cassandra OVA on VirtualBox and followed the instructions (like you did). And it didn't work for me, either.

What did work, was messing with the network settings and ultimately switching to a "Bridged" network adapter:

enter image description here

This put the CassandraVM on my internal network, and I was then able to reach everything from an internal IP (192.168.0.103, in my case).

Also, not sure if it made a difference, but I set Promiscuous Mode to "Allow All."

Upvotes: 6

Related Questions