Sharing internet from host os to guest os

Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Sharing internet from host os to guest os
# 8  
Old 05-11-2011
And you're both stuck in arguing about a miniscule detail completely unrelated to the OP's question...

@hiten.r.chauhan: How is the NIC configured for the guest? Options are usually NAT, Bridged adapter, Internal Network or Host-only adapter. If it's bridged, make sure it's bridged to the correct NIC on your host machine. Also, can you post the contents of /etc/resolv.conf and /etc/defaultrouter of the Solaris guest?
# 9  
Old 05-11-2011
Neither is it a minuscule detail as blindingly following shelladdict advice would likely break the OP virtual machine nor is it unrelated as the guest tools associated with a VM might help fixing some issues although not in the OP case.
As I already wrote, using NAT and DHCP is the simplest way to get it working.
# 10  
Old 05-11-2011
First: trying to install VMware Tools in a VirtualBox machine (and vice versa) won't work (I've tried), aside from the fact that it would take a lot of intentional tinkering to even attempt it. So it's pretty unlikely that this has screwed up the system

Second: yes, NAT + DHCP is the most simple approach, but only if both the machine and the system within are configured to use that, which is what I'm trying to find out. There've been questions like this before where the problem was a simple misconfiguration (Static IP used when DHCP should have been used and vice versa), so my approach is to get that out of the way first.
# 11  
Old 05-11-2011
NAT + DHCP work well on a Solaris 10 guest in VirtualBox on Windows 7. First check that VirtualBox's DHCP server is enabled (File Preferences Network) and NAT is the selected for the guest network adopter.

If you run into network configuration issues in your Solaris guest and you are not familiar with Solaris's networking files, simply do /usr/sbin/sys_unconfig to unconfigure everything and reconfigure it on reboot. Ensure that you select DHCP and DNS for your networking options.
# 12  
Old 06-15-2011
NAT + DHCP will work best ...If you don't want can sys-unconfig and make it to static...internet still will work fine..
# 13  
Old 06-17-2011
you can choose "bridge" if it's possible

Last edited by vbe; 06-17-2011 at 05:48 AM.. Reason: typos
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Cybersecurity

Virtualbox guest as a firewall for lUbuntu host

Using virtualbox, I am trying to use Alpine linux (guest) as a firewall for my lubuntu (host). My physical network card (NIC) is eth0. ISP WAN -> Alpine linux (guest) -> lubuntu (host) LAN I am trying to get the ip from my ISP DHCP server but I had no success. I know that in virtualbox I have... (0 Replies)
Discussion started by: TrickySecurity
0 Replies

2. UNIX for Dummies Questions & Answers

Qemu Problems: OpenBSD(host) Kali Linux(guest)

As the title suggests I ran into a little problem trying to create a virtual machine of Kali Linux usign Qemu inside OpenBSD. I edited the example Kali Linux gave on their website here to the following for BSD: qemu-system-i386 -hda ./kali.qcow2 -boot d -cdrom ./kali-linux-1.0.5-i386.iso -m... (0 Replies)
Discussion started by: Azrael
0 Replies

3. Solaris

Why I cannot access internet from Solaris guest using url?

Hi all, I'm using virtualbox bridged adapter Host:Windows 7 Guest: Solaris 11 while I can ping between the host and guess, I cannot access the Internet from the solaris guest. here's my settings: while I can ping (which is actually, I cannot ping... (3 Replies)
Discussion started by: jediwannabe
3 Replies

4. Linux

Unable to ping Linux guest from win7 host

Hi, I am using win7 on my PC and installed VMware on it on which i am running linux I am unable to ping my linux guest from my win machine, but i can ping my windows host from linux guest : Below is my system configuration Linux root@localhost ~]# ifconfig eth0 Link... (9 Replies)
Discussion started by: chander_1987
9 Replies

5. IP Networking

Sharing internet connection

Hello all, Recently took a dive into Unix using Fedora 12 atm. I have cable modem with DHCP and a linksys 8 port router. With windows I was able to simple use the uplink port and plug each computer into the switch and use the internet connection. Having no luck doing the same in Unix. I have... (0 Replies)
Discussion started by: Fingerz
0 Replies

6. UNIX for Dummies Questions & Answers

Internet sharing

I wanted to share internet with my Server running Win 2000 and client on Solaris 8. I networked them with a hub and 2 NICs on Server. Is there any software to share the internet? Need help!!!!!!!!!! Thanks... Praveen (5 Replies)
Discussion started by: praveenk
5 Replies

7. IP Networking

Internet Sharing with SUSE 7.3

I have a home network connected to a cable modem. I would like to use my SUSE 7.3 as a proxy. My layout is this. all computers connected to a hub. SUSE has 2 nics. 1 for cable modem(eth0, one for internal network connected to hub(eth1) All other machines connect to hub eth0 - DHCP from ISP... (1 Reply)
Discussion started by: gdboling
1 Replies

8. UNIX for Dummies Questions & Answers

I need help to set up internet sharing in linux.

Ok, I'm kind of in between newbie and experienced somewhere. I'm an advanced computer user but only have a little experience with linux and a lot of problems with it. Currently I'm using Linux-Mandrake 8.0 (I know, I know, but let's not go into the many reasons why it's not even close to the best... (2 Replies)
Discussion started by: Nazo
2 Replies

9. UNIX for Dummies Questions & Answers

Internet Sharing

I'm new to the unix world, but have been asked if our company could set up a high speed internet connection to our unix server in order to connect all our users without haveing to pay for all these telephone lines. I assume it is easy but unsafe. Any help from the basics to the advanced will be... (2 Replies)
Discussion started by: Mike11
2 Replies
Login or Register to Ask a Question

Featured Tech Videos