hosts file

Discussions related to using the OSE version of VirtualBox.
Post Reply
Bucky
Posts: 16
Joined: 6. Feb 2008, 21:40

hosts file

Post by Bucky »

I'm setting up oracle db in a Fedora 7 vdi.
It need hosts file with fully qualified name.
I have set up a domain name with dnydns and added it to my router but I'm unclear how to handle the hosts file
oracle readme says format should be
<IP address> <fully qualified machine name> <machine name>
The vm thinks its 10.0.2.15, but my router says its 192.168.2.9
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Post by frank »

You are using the NAT network interface, therefore the IP of your guest is 10.0.2.15 in every case. Your guest will not be directly visible from the outside as long as you use NAT. Consult the user manual to find out which networking types are appropriate for you.
Bucky
Posts: 16
Joined: 6. Feb 2008, 21:40

Post by Bucky »

Thanks Frank,
looks like NAT with port forwarding is the way to go.
Oracle wants port range of 1024 65000.
Bucky
Posts: 16
Joined: 6. Feb 2008, 21:40

Post by Bucky »

I'm not clear on how to open the ports with vboxmanage. The exampe in the manual is hard to decifer.
Is it 3 separate entries from the command line or is it a script?
Can it be done while the vm is running?
Is it persistent, or must it be run every time the vm is started? If so, how to automate this?
How would I open a range of ports?
The example is for ssh, I'm not sure if this pertains to my setup. I have no references to ssh anywhere in my setup except I have a process called sshd which is sleeping.
The firewall and selinux are disabled.
TIA
Post Reply