Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am a Linux newbie. I have just installed Ubuntu inside Vista using Virtual box. Everything is working fine. now i wanted to establish a client server (virtual) network with a guest os (ubuntu) to connect to the cassandra server installed in ubuntu.

Can someone guide me on this.

Cheers

share|improve this question

2 Answers 2

This is more of a Virtualbox question - have a read of http://www.virtualbox.org/manual/ch06.html

You'll either want NAT networking and specify which ports to forward, or full bridged network.

share|improve this answer

menu > run > type in cmd.exe

cd "C:\Program Files\Sun\xVM VirtualBox\"

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandrah/HostPort" 9160

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandra/GuestPort" 9160

VBoxManage.exe setextradata "NAMEVM" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/Cassandra/Protocol" TCP

casandra client can now connect to localhost.

Or use "Bridged networking" and connect directly to ubuntu

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.