[SHARE] Inet Share di VirtualBox

Semua mengenai teknik instalasi Ubuntu termasuk teknik instalasi aplikasinya dan migrasi dari Windows.
User avatar
benkamin
Posts: 134
Joined: 04 Jan 2010, 06:39
Location: Cikampek, Karawang, Jawa Barat, Indonesia
Contact:

[SHARE] Inet Share di VirtualBox

Postby benkamin » 05 Jul 2010, 16:27

Ini sebenarnya bukan tutorial, tapi sekedar sharing karena habis membalik logika! dari sini ke SHARING INTERNET DARI GUEST OS DI VIRTUALBOX KE HOST OS UBUNTU LUCID LYNX... :cool:
Sumber Tutorial: http://www.ubuntugeek.com/ubuntu-networ ... -line.html
Contoh di sini adalah untuk kartu jaringan vboxnet0 (kartu jaringan virtual yg menghubungkan Host Ubuntu dengan Guest di VirtualBox). Isi file konfigurasi: klw kartu belum terdaftar: tambahkan. klw sdh ada: ganti pengaturannya
Atur IP
Dua alternatif pengaturan IP yaitu DHCP (otomatis, ditentukan oleh server) dan Statis (manual, ditentuin sendiri)
1. DHCP
sudo gedit /etc/network/interfaces
isinya:
# The primary network interface � use DHCP to find our address
auto vboxnet0
iface vboxnet0 inet dhcp

2. Statis
sudo gedit /etc/network/interfaces
isinya:
# The primary network interface
auto vboxnet0
iface vboxnet0 inet static
address 192.168.3.90 # sesuaikan dgn ip yg diinginkan
gateway 192.168.3.1 # sesuaikan dgn ip dr mana internet lewat
netmask 255.255.255.0 # sesuaikan
network 192.168.3.0 # sesuaikan
broadcast 192.168.3.255 # sesuaikan

Setting up DNS
sudo gedit /etc/resolv.conf
isinya:
search test.com
nameserver 192.168.3.2 # sesuaikan dengan DNS jaringan atau dari mana internet di sharing

Restart Network
sudo /etc/init.d/networking restart

DAN .... HOST UBUNTUKU DAPAT SHARINGAN INTERNET DARI W1ND0W$ DI VIRTUALBOX (koneksi virtualbox dengan host secara host-only, via vboxnet0)
User avatar
deny26
Posts: 2450
Joined: 03 Jan 2010, 09:24
Location: ubuntu-indonesia.com

Re: [SHARE] Inet Share di VirtualBox

Postby deny26 » 05 Jul 2010, 18:41

mantap bro (judulnya ta edit ya :) )
User avatar
ninja
Posts: 2260
Joined: 27 Jan 2010, 16:23
Location: Tangerang, Banten, indonesia
Contact:

Re: [SHARE] Inet Share di VirtualBox

Postby ninja » 05 Jul 2010, 19:06

thanks bro benkamin buat Sharingnya :)
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: [SHARE] Inet Share di VirtualBox

Postby thrvers » 05 Jul 2010, 19:12

'
manteb nie, coba jg ntar ah :D
User avatar
Matadewa
Posts: 45
Joined: 26 Jun 2010, 00:09
Location: Suarabaya

Re: [SHARE] Inet Share di VirtualBox

Postby Matadewa » 08 Jul 2010, 02:33

ini ceritanya share koneksi ubuntu dari os guest ke os host ya?
mantap bner.....setahu qu dari os host dlu bru di share ke os guest
laen kali qu coba kk
User avatar
konohamaru
Posts: 28
Joined: 04 Mar 2010, 11:03
Location: Yogyakarta

Re: [SHARE] Inet Share di VirtualBox

Postby konohamaru » 24 Aug 2010, 21:47

mantap jeeee
User avatar
saucon
Posts: 3
Joined: 28 Mar 2011, 11:39

Re: [SHARE] Inet Share di VirtualBox

Postby saucon » 28 Mar 2011, 11:44

gan . .ane kok g bsa y konek k internetny . .tp di ping dari host bisa . . bknkah itu ud nymbung?
ane msh nubi bgt ni . . mhon pnrhnny dong . hehehe
User avatar
sta
Posts: 2003
Joined: 27 Apr 2010, 09:49
Contact:

Re: [SHARE] Inet Share di VirtualBox

Postby sta » 28 Mar 2011, 12:07

dns server dah diisi?
coba
sudo nano /etc/resolv.conf
isi
nameserver 8.8.8.8
nameserver 8.8.4.4
ctrl+o , ctrl+x
sudo /etc/init.d/networking restart
User avatar
saucon
Posts: 3
Joined: 28 Mar 2011, 11:39

Re: [SHARE] Inet Share di VirtualBox

Postby saucon » 28 Mar 2011, 12:41

dns ny itu trsrh kn?
User avatar
saucon
Posts: 3
Joined: 28 Mar 2011, 11:39

Re: [SHARE] Inet Share di VirtualBox

Postby saucon » 28 Mar 2011, 12:46

btw ane pke meerkat gan . . .ngruh g?
User avatar
muz
Posts: 48
Joined: 04 Nov 2012, 11:45

Re: [SHARE] Inet Share di VirtualBox

Postby muz » 02 Jan 2013, 09:36

gan mau tanya...
Host saya win7 sedangkan yang di virual ubuntu server 12.04.
ping ke gateway sukses tapi ping ke internet (google) ga bisa.. cuma nongaol ip googlenya doang. saya dah coba ganti network adapter nya pake yang host-only adapter dan NAT tapi tetep sama hasil nya. berikut settingan IP

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.137.2
netmask 255.255.255.0
network 192.168.137.0
broadcast 192.168.137.255
gateway 192.168.137.1
dns-nameservers 192.168.137.1

auto eth1
iface eth1 inet static
address 192.168.100.1
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.255
dns-nameservers 192.168.100.1

Return to “Instalasi Ubuntu”

Who is online

Users browsing this forum: febriantoni, Google [Bot] and 8 guests