Hi
I have installed 3 sun virtual boxes on Ubuntu Ver 8.10
The 3 virtual boxes are installed CentOS 5.3.
1) All 3 Virt-boxes are pingable to the internet such www.yahoo.com -- fine.
2) But they are unable to ping to each other via IP address.
3) 3 Virt-boxes was using NIC eth0 with IP= 10.0.2.xxx
/etc/resolv.conf are 68.87.[78,69,76].xxx
4) Meanwhile, the Ubuntu box is using NIC eth1 with IP 192.168.1.xxx
and /etc/resolv.conf is using the IP as Virt-biex = 68.87.76[78,69].xxx
5) I have tried to change the IP's 192.168.1.xxx for Virt-boxes, but not able to
ping the internet addr and on each other....So i changed them back to IP 10.0.2.xxx
6) Do I miss and configuration ?
I hope you can shed the light and give me a specific instruction how to fix this issue.
Your advice is great appreciated,
Thanks,
-Jove
Unable to ping virtual boxes
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Unable to ping virtual boxes
Use bridged mode instead of NAT
-
jove
- Posts: 5
- Joined: 30. Apr 2009, 19:29
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: CentOS 5.3
Re: Unable to ping virtual boxes
Hi,
Could you instruct me how to use NAT, how to configure it ?
Thx,
Could you instruct me how to use NAT, how to configure it ?
Thx,
-
jove
- Posts: 5
- Joined: 30. Apr 2009, 19:29
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: CentOS 5.3
Re: Unable to ping virtual boxes
Hi Perryq,
I am sorry mistypo of the previous one>
How to configure Bridge ?
Thx,
Jove
I am sorry mistypo of the previous one>
How to configure Bridge ?
Thx,
Jove
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Unable to ping virtual boxes
Nothing really to configure. Just select it in the vbox settings and then tell the guests to use DHCP or static where you give them an address that in in the address scheme the host is in.
-
jove
- Posts: 5
- Joined: 30. Apr 2009, 19:29
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: CentOS 5.3
Re: Unable to ping virtual boxes
Hi Perryq,
I reset the bridge network, then using static IP for guest,
change IP and DNS as Host box, but unable to ping internet and each other....
Do you have any idea ?
Thx.
I reset the bridge network, then using static IP for guest,
change IP and DNS as Host box, but unable to ping internet and each other....
Do you have any idea ?
Thx.
-
stefan.becker
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
Re: Unable to ping virtual boxes
Dont ask this, read the User Manual.
German Howto (Linux): http://www.linuxforen.de/forums/showthread.php?t=236444
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
User Manual / Download Section: http://www.virtualbox.de/wiki/Downloads
FAQ: http://www.virtualbox.de/wiki/User_FAQ http://forums.virtualbox.org/viewtopic.php?t=8669
-
jove
- Posts: 5
- Joined: 30. Apr 2009, 19:29
- Primary OS: Ubuntu 8.10
- VBox Version: OSE other
- Guest OSses: CentOS 5.3
Re: Unable to ping virtual boxes
Hey Stefen,
There is no manual for linux ....
All I asked from Perryq, not you.
If you can not help or not knowledge on this question, don't be negative to the community.
Be generous to everyone.
There is no manual for linux ....
All I asked from Perryq, not you.
If you can not help or not knowledge on this question, don't be negative to the community.
Be generous to everyone.
-
legacydude
- Posts: 1
- Joined: 5. May 2009, 11:20
- Primary OS: openSUSE
- VBox Version: OSE other
- Guest OSses: winxp, fedora
Re: Unable to ping virtual boxes
suse 11.1 host / winxp guest
1. No manual scripting configuration required.
2. Set up network bridge during OS installation or add bridge interface (br0) in network settings.
3. Configure br0 IP, bind to eth0; leave eth0 unconfigured.
4. Set br0 and eth0 interfaces as "internal" in firewall settings.
5. Install VBox 2.2.2 or later for suse 11.1 (or match your distro).
6. In Vbox guest network settings, select bridge option, select br0 interface.
7. In guest OS, set guest w/unique static ip to same subnet as host, or use auto ip if dhcp server is present on your network.
8. Do not set guest's gateway ip or dns ip to point to host's ip, configure guest normally for these settings as if it is normal, standalone client.
9. You may need to add your non-root user to these groups (or similar): disk, vboxusers, usb.
10. Kiss your standalone windows box good-bye.
1. No manual scripting configuration required.
2. Set up network bridge during OS installation or add bridge interface (br0) in network settings.
3. Configure br0 IP, bind to eth0; leave eth0 unconfigured.
4. Set br0 and eth0 interfaces as "internal" in firewall settings.
5. Install VBox 2.2.2 or later for suse 11.1 (or match your distro).
6. In Vbox guest network settings, select bridge option, select br0 interface.
7. In guest OS, set guest w/unique static ip to same subnet as host, or use auto ip if dhcp server is present on your network.
8. Do not set guest's gateway ip or dns ip to point to host's ip, configure guest normally for these settings as if it is normal, standalone client.
9. You may need to add your non-root user to these groups (or similar): disk, vboxusers, usb.
10. Kiss your standalone windows box good-bye.