Reputation: 357
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:
And Cassandra appears to start up appropriately:
But I'm unable to hit the provided IP (10.0.0.2
)
Any idea what's wrong?
Upvotes: 3
Views: 1181
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.
Also, I think you should configure your virtual machine's network settings this way:
Attach to
: select Host-only Adapter
Name
: select vboxnet0
I've also set Allow All
for Promiscous Mode
, but I don't know if it's strictly required.
Upvotes: 2
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:
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