Cannot change IP adress for the ethernet adaptator

Discussions related to using VirtualBox on Windows hosts.
Post Reply
elsawatson
Posts: 3
Joined: 15. May 2013, 11:56

Cannot change IP adress for the ethernet adaptator

Post by elsawatson »

I am running Virtualbox on a Windows host (Vista)
I have some linux guest running, and were running fine.

Since a recent update, I was not able to cannot connect to guests. After investigation, I noticed that the address and the mask of the ethernet adaptator have changed
And when I try to update it, nothing happens

It's always set to 169.254.128.255/255.255.0.0
These are under Virtualbox parameters / network (not guest params)

I cannot find a solution in the forum.

Any help?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot change IP adress for the ethernet adaptator

Post by noteirak »

Your guest is expecting a DHCP server to provide him with an IP address, but none replied to the request - hence you get the "I failed to get DHCP reply" IP range.
What happened during that "update" of yours, exactly and in details please?

Also, you should post the guest config output - see Minimum information needed for assistance.
Aswell, the following information would be usefull :
On the host :

Code: Select all

ipconfig /all
route print
on the guest(s):

Code: Select all

sudo ifconfig -a
sudo route
sudo cat /etc/resolv.conf
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
elsawatson
Posts: 3
Joined: 15. May 2013, 11:56

Re: Cannot change IP adress for the ethernet adaptator

Post by elsawatson »

DHCP is working fine, and this is the problem.
the DHCP range is 169.254.128.110 / 255.255.255.0

the guest has 2 addresses, first (NAT) to access the internet and the other "private host' to enable access from Host 169.254.229.110

I managed to make it work by changing the mask on the DHCP config, but it does not explain why IP config does not update
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot change IP adress for the ethernet adaptator

Post by noteirak »

Well this is not a Virtualbox problem at all, so you should seek support on regular networking forums for this kind of issue.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
elsawatson
Posts: 3
Joined: 15. May 2013, 11:56

Re: Cannot change IP adress for the ethernet adaptator

Post by elsawatson »

EUREKA !!!



It's not 100% virtualbox, but I think it's related

I checked the network properties of the "virtual box host only adapter" on windows side
I updated the IP address in there, and things went back to normal at Virtual box
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Cannot change IP adress for the ethernet adaptator

Post by noteirak »

Glad to see you found out the issue and thank you for coming back with your solution. Typical OS config issue then :)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply