Page 1 of 1

CentOS guest can't go to internet, plz help!

Posted: 24. Jul 2010, 22:34
by supertux89
My host is Ubuntu. I installed an CentOS guest in VBox. My CentOS guest can't go to internet if it used bridged adapter. Please help me!
Here's the result of the "VBoxManage showvminfo" command in my host terminal and the "ifconfig" command in my guest terminal:

Code: Select all

Oracle VM VirtualBox Command Line Management Interface Version 3.2.6
(C) 2005-2010 Oracle Corporation
All rights reserved.

Name:            CentOS 5.5
Guest OS:        Red Hat
UUID:            a3856817-ce0b-49c0-9773-fc8c83862169
Config file:     /home/supertux/.VirtualBox/Machines/CentOS 5.5/CentOS 5.5.xml
Hardware UUID:   a3856817-ce0b-49c0-9773-fc8c83862169
Memory size:     512MB
Page Fusion:     off
VRAM size:       12MB
HPET:            off
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Not Assigned
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
PAE:             on
Time offset:     0 ms
RTC:             UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
State:           powered off (since 2010-07-24T19:52:15.572000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
IDE Controller (1, 0): Empty
SATA Controller (0, 0): /media/sda6/Virtual Machines/CentOS.vdi (UUID: acbac6f8-c64d-4108-9c79-6e32ffb03516)
NIC 1:           MAC: 080027A0760D, Attachment: Bridged Interface 'eth1', Cable connected: on, Trace: off (file: none), Type: Am79C970A, Reported speed: 0 Mbps, Boot priority: 0
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
Audio:           enabled (Driver: PulseAudio, Controller: AC97)
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             enabled

USB Device Filters:

<none>

Shared folders:  <none>

Guest:

Configured memory balloon size:      0 MB
Image

p.s. Sorry for my bad english :cry:

Re: CentOS guest can't go to internet, plz help!

Posted: 24. Jul 2010, 22:43
by Perryg
First thank you for providing the proper information.

Next I need to know if you have a router in your network.

Re: CentOS guest can't go to internet, plz help!

Posted: 25. Jul 2010, 02:38
by supertux89
yes, I have a router and its dhcp feature is working

Re: CentOS guest can't go to internet, plz help!

Posted: 25. Jul 2010, 02:50
by Perryg
For some reason CentOS is not picking this up. If you look you have IPV6 but no IPV4 which I would think it what you really want.
I believe you need to check the network setup in CentOS to find out why.
How familiar are you with CentOS, and networking?

Re: CentOS guest can't go to internet, plz help!

Posted: 25. Jul 2010, 08:26
by supertux89
I'm just beginning to learn LPI. I had this problem after I had upgraded my linux kernel and run "sudo /etc/init.d/vboxdrv setup" (everythings worked fine b4 that). I've just turned off my pc + router for a while, and the problem's gone! I don't know what happened :shock:

Re: CentOS guest can't go to internet, plz help!

Posted: 28. Jul 2010, 15:38
by Technologov
try: (inside VM)
# dhclient eth0