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

link|improve this question
feedback

2 Answers

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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