Hello there,
I'm facing a network issue here:
Host: Windows XP SP3
Guest: Debian Etch
VB: 2.1.0
Using network as "Host Interface" and static IP on Linux.
Actually it works. But only for the 1st time I start VM. If I stop VM and then start it again, I can't get network to work. Always got "Network Unreachable"
I always have to reboot Host machine to get it working again.
Somebody facing same issue? Or better, somebody know how fix it ?
[Network] Only works 1st time after reboot
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
The error you get, is that on the Host or the Guest? If it's on the Host, have you tried a repair on the interface you use? Is it by chance a wireless interface? If it's wifi, it might be disconnected without showing that. A repair often fixes these things.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Thanks for your reply.
Nope, I got this from Guest OS.
I played some more time with this issue.
Looks like Guest OS is tyring to get IP using NAT mode network even using HIF interface. I figure out that turning DHCP to get IP automatically in Guest OS, It receives DHCP RELEASE from 10.0.2.2 instead my Local Network.
That's why my network doesn't work when I give static IP to Guest? Looks like I'm attached to 'NAT mode' network in someway...
Just wondering, I really don't know what is happening here.
Some things I think is valid to comment:
Host OS has 2 VPN network interfaces (Tap Win 32 V8 Adapter and AGN Virtual Network Adapter)
Thanks!
Nope, I got this from Guest OS.
I played some more time with this issue.
Looks like Guest OS is tyring to get IP using NAT mode network even using HIF interface. I figure out that turning DHCP to get IP automatically in Guest OS, It receives DHCP RELEASE from 10.0.2.2 instead my Local Network.
That's why my network doesn't work when I give static IP to Guest? Looks like I'm attached to 'NAT mode' network in someway...
Just wondering, I really don't know what is happening here.
Some things I think is valid to comment:
Host OS has 2 VPN network interfaces (Tap Win 32 V8 Adapter and AGN Virtual Network Adapter)
Thanks!
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
If you attach the interface to NAT (which is the default when you create a VM), you can't set a static address in your own network range. DHCP is the only way to get it working.
If you want to have the VM take a part of your own network, you need HIF. See the manual for more info on VB Networking.
If you want to have the VM take a part of your own network, you need HIF. See the manual for more info on VB Networking.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
I did that already. I'm not using NAT. Its set to work as HIF.
Well, something funny is happening:
I do a ping -t from Host OS and put Guest to reboot.
When Guest OS bring up eth0 I got a single ping reply. After that, no response or networking from Guest OS for about some 3 minutes.
Then, networking starts to work again...
That's weird! Why network doesn't work just after is it started in Guest OS??
Any clues ?
EDIT1: Looks like networking stop to work after some time.
If I start to ping from guest to host, it back to work again, without no actions...
EDIT2: even Networking between Host and Guest start to work, I can't reach my network Gateway from Guest.
Host IP: 192.168.1.10
Guest IP: 192.168.1.11
GW: 192.168.1.1
Well, something funny is happening:
I do a ping -t from Host OS and put Guest to reboot.
When Guest OS bring up eth0 I got a single ping reply. After that, no response or networking from Guest OS for about some 3 minutes.
Then, networking starts to work again...
That's weird! Why network doesn't work just after is it started in Guest OS??
Any clues ?
EDIT1: Looks like networking stop to work after some time.
If I start to ping from guest to host, it back to work again, without no actions...
EDIT2: even Networking between Host and Guest start to work, I can't reach my network Gateway from Guest.
Host IP: 192.168.1.10
Guest IP: 192.168.1.11
GW: 192.168.1.1
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Do you have a firewall on the Host running? It might cause problems with the network of the Guest.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.