Host - Window and Guest - OEL
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Host - Window and Guest - OEL
Dear All,
I created 3 Oracle Enterprise Linux guest box on Window 7 host. I am planning to install DB, AppServer and WebServer on three different guest which should talk to each other and host can access application from WebServer guest by using any browser. I think to configure host only adapter/network for this.
Please let me know if I can achieve the above with host only adapter/network.
Regards,
Prashant Jain
I created 3 Oracle Enterprise Linux guest box on Window 7 host. I am planning to install DB, AppServer and WebServer on three different guest which should talk to each other and host can access application from WebServer guest by using any browser. I think to configure host only adapter/network for this.
Please let me know if I can achieve the above with host only adapter/network.
Regards,
Prashant Jain
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Host - Window and Guest - OEL
Sure it will as long as the guests don't need the Internet or other LAN machines.
Also if you created the second and third machine by cloning you need to either make to to reinitialise the MAC address on each clone or do it manually after before they will work.
You will also need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
Also if you created the second and third machine by cloning you need to either make to to reinitialise the MAC address on each clone or do it manually after before they will work.
You will also need to edit the /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Re: Host - Window and Guest - OEL
Thank you for your reply.
I am very new to virtualbox. I did not clone the second and third guest.those are fresh installation. I tried to configure host only adapter/network but I am not sure how to check whether things are working fine or not. I am posting the snapshot of my configuration.
For Oracle VM VirtualBox Manager (File -> Preferences -> Network)
I am posting the network configuration for first guest in next post.
I am very new to virtualbox. I did not clone the second and third guest.those are fresh installation. I tried to configure host only adapter/network but I am not sure how to check whether things are working fine or not. I am posting the snapshot of my configuration.
For Oracle VM VirtualBox Manager (File -> Preferences -> Network)
I am posting the network configuration for first guest in next post.
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Re: Host - Window and Guest - OEL
For first guest only (setting -> network)
Please let me know if I did the correct configuration. I also want to assign static IP address to all three guest and want to know that how IP address will be assign to all three guest and how to test that IP address are assign successfully.
Please let me know if I did the correct configuration. I also want to assign static IP address to all three guest and want to know that how IP address will be assign to all three guest and how to test that IP address are assign successfully.
- Attachments
-
- 4.JPG (58.9 KiB) Viewed 1467 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Host - Window and Guest - OEL
Well if you have bridged you shouldn't need host-only. Bridged will make the guest another PC on your local LAN. If you are using this on a laptop that may not be on a network then host-only will be what you want, or if you simply want to isolate the guests from you LAN.
I noticed that you have not enabled the DHCP server for the host-only. This is going to make it to where you will need to manually configure the guests IP addresses. Be sure to not set a gateway as this will cause the connections to fail.
I noticed that you have not enabled the DHCP server for the host-only. This is going to make it to where you will need to manually configure the guests IP addresses. Be sure to not set a gateway as this will cause the connections to fail.
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Re: Host - Window and Guest - OEL
Thank you for your quick response. Actually I followed the steps given in below post to configure host only adapter/network,
How to install Host-Only networking in OS X
I read somewhere in this forum that if you want static IP address for guest then DHCP should not be enable. It this true?
I disable the adapter 2 setting for now and change the adapter 1 setting to host only. Now I am able to ping my guest from host. Also I follow the steps given in below blog to set static IP address on Linux box (for linux). Could you please confirm those steps.
Thank you for your help.
How to install Host-Only networking in OS X
I read somewhere in this forum that if you want static IP address for guest then DHCP should not be enable. It this true?
I disable the adapter 2 setting for now and change the adapter 1 setting to host only. Now I am able to ping my guest from host. Also I follow the steps given in below blog to set static IP address on Linux box (for linux). Could you please confirm those steps.
Thank you for your help.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Host - Window and Guest - OEL
Not really. First you should not set a gateway and second DNS (resolv) not going to help a lot if you don't have a dns server on the host-only network.
Are you trying to keep this off the LAN, or are you not going to have a LAN connection at all times?
Are you trying to keep this off the LAN, or are you not going to have a LAN connection at all times?
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Re: Host - Window and Guest - OEL
I am configuring this on my personal laptop. I don't have any LAN setup.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Host - Window and Guest - OEL
Alright then set the guest to use host-only and not bridged.
You don't really need the DHCP server but you do need to know how to manually configure the OEL network adapter properly if you don't use it.
It's out of the scope of this forum but I can tell you all you want to enter is the IP address and the subnet.
The IP address will be any of the class c in the 192.168.56.* subnet and a subnet mask of 255.255.255.0
So to keep it simple just use 192.168.56.10 and 192.168.56.20 both with a subnet mask of 255.255.255.0
Your host will have a configuration of 192.168.56.1 automatically entered for you
You don't really need the DHCP server but you do need to know how to manually configure the OEL network adapter properly if you don't use it.
It's out of the scope of this forum but I can tell you all you want to enter is the IP address and the subnet.
The IP address will be any of the class c in the 192.168.56.* subnet and a subnet mask of 255.255.255.0
So to keep it simple just use 192.168.56.10 and 192.168.56.20 both with a subnet mask of 255.255.255.0
Your host will have a configuration of 192.168.56.1 automatically entered for you
-
PrashantJain
- Posts: 11
- Joined: 19. Apr 2013, 19:55
Re: Host - Window and Guest - OEL
Thank you so much for your quick responses. I really appreciate your support.