No IP in Bridged Mode
No IP in Bridged Mode
I have successfully been running a Debian VM in VB for a few years now. Over the weekend I wanted to add a second VM (Ubuntu based).
When I started up the Ubuntu VM I got a 10.0.2.x IP.
I checked my Debian VM and noticed the network adaptor setting was set to Bridged and my Ubuntu VM was set to NAT. I changed this to be Bridged as well but now I don't get any IP, not even an IPPA address.
I'm confused why the Debian VM works and the Ubuntu does not when the networking settings are the same.
I just had a terrible thought that maybe you can only bridge the host NIC to one VM....
Thanks,
When I started up the Ubuntu VM I got a 10.0.2.x IP.
I checked my Debian VM and noticed the network adaptor setting was set to Bridged and my Ubuntu VM was set to NAT. I changed this to be Bridged as well but now I don't get any IP, not even an IPPA address.
I'm confused why the Debian VM works and the Ubuntu does not when the networking settings are the same.
I just had a terrible thought that maybe you can only bridge the host NIC to one VM....
Thanks,
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: No IP in Bridged Mode
That is a terrible thought only in so far as it is a bad one!RobertJ wrote:I just had a terrible thought that maybe you can only bridge the host NIC to one VM....
You can have as many guests as you like with their NIC set to bridged mode and they should all play nicely together.
Please post a ZIP file containing the latest log file from both the Debian and Ubuntu guests. It would also be good to see the output from
(sudo) ifconfig -aon the Ubuntu guest.
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: No IP in Bridged Mode
I'll have to grab the logs when I get home but here is a screen show of the output from sudo ifconfig -a:
- Attachments
-
- Capture.PNG (23.09 KiB) Viewed 3557 times
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: No IP in Bridged Mode
The HWaddr field that you have blanked out is the important bit as we will need to check it against what is in the log file!
-Andy.
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: No IP in Bridged Mode
Ok, Sorry it took so long to reply. Busy time.
I can't copy and paste the log so I will type out a section of the syslog from the VM.
This continues every 3 to 21 seconds until:
This also continues every 3 to 21 seconds.
The log is filled with 2254 lines of the above repeating.
The HWaddr from ipconfig -a that I blacked out above is: 08:00:2789:71
As for the log on the host machine. I'm not sure what to look for.
Hope this helps
I can't copy and paste the log so I will type out a section of the syslog from the VM.
Code: Select all
Starting at Apr 4 20:18:35 Haas dhclient[946]: DHCPDISCOVER on enp0s3 to 255.255.255.255 port 67 interval 3 (xid=0x93fc4156)
Code: Select all
Apr 4 20:23:36 Hass dhclient[946]: No DHCPOFFERS received.
Apr 4 20:23:36 Haas dhclient[946]: No working leases in persistent database - sleeping.
Apr 4 20:30:01 Haas dhclient[946]: DCHPDISCOVER on enp0s3 to 255.255.255.255 port 67 interval 3 (xid=0xa636761)
The log is filled with 2254 lines of the above repeating.
The HWaddr from ipconfig -a that I blacked out above is: 08:00:2789:71
As for the log on the host machine. I'm not sure what to look for.
Hope this helps
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: No IP in Bridged Mode
Why? Do not say too large; that is why the zip application was created.RobertJ wrote: I can't copy and paste the log so . . .
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: No IP in Bridged Mode
For each VM you create there is a "Logs" folder created on the host file system in which there is a file called VBox.log. If you look at User manual section 10.1 it will tell you where they are stored for the various supported hosts.RobertJ wrote:As for the log on the host machine. I'm not sure what to look for.
Grab the file, zip it and post it here.
This probably means that your DHCP server isn't responding or there could be an issue with the MAC address between the guest, host and DHCP requests.RobertJ wrote:Code: Select all
Apr 4 20:23:36 Hass dhclient[946]: No DHCPOFFERS received.
-Andy.
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: No IP in Bridged Mode
Nope not to large, just have limited physical access to the server as I do most of my work on it during lunch when I am at work. No network makes things very complicated, and VB GUI doesn't seem to allow me to copy and paste.ChipMcK wrote: Why? Do not say too large; that is why the zip application was created.
Re: No IP in Bridged Mode
The zip file is attached.andyp73 wrote:
For each VM you create there is a "Logs" folder created on the host file system in which there is a file called VBox.log. If you look at User manual section 10.1 it will tell you where they are stored for the various supported hosts.
Grab the file, zip it and post it here.
I'd place my money on the MAC issue since the other VM gets an IP over DHCP (Reserved) and all my other devices get IPs as well.andyp73 wrote:
This probably means that your DHCP server isn't responding or there could be an issue with the MAC address between the guest, host and DHCP requests.
-Andy.
Thanks,
-Rob
-
- Volunteer
- Posts: 1631
- Joined: 25. May 2010, 23:48
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Assorted Linux, Windows Server 2012, DOS, Windows 10, BIOS/UEFI emulation
Re: No IP in Bridged Mode
This looks to be the Ubuntu fork of VirtualBox rather than the official one which is the only one we support here. The normal recommendation is to "uninstall/delete/purge that one (the one from the Ubuntu store) and download the official one" (thanks Socratis).VBox.log wrote:VirtualBox VM 5.0.40_Ubuntu r115130 linux.amd64 (Nov 6 2017 17:41:59) release log
That said, I can't see anything too untoward in the log file (albeit I am not an expert on them yet) but can you try the following in the guest VM when it has booted:
Code: Select all
dmesg | grep e1000
dhclient -v
My crystal ball is currently broken. If you want assistance you are going to have to give me all of the necessary information.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Please don't ask me to do your homework for you, I have more than enough of my own things to do.
Re: No IP in Bridged Mode
Unfortunately I'm not willing to do the purge and re-install for the simple fact that I have a fully functioning VM already running that I don't want o have any downtime with.andyp73 wrote:
This looks to be the Ubuntu fork of VirtualBox rather than the official one which is the only one we support here. The normal recommendation is to "uninstall/delete/purge that one (the one from the Ubuntu store) and download the official one" (thanks Socratis).
That said, I can't see anything too untoward in the log file (albeit I am not an expert on them yet) but can you try the following in the guest VM when it has booted:
-Andy.Code: Select all
dmesg | grep e1000 dhclient -v
I ran the dmesg | grep e1000 and got the following output:
Then I ran the dhclient -v and got:
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: No IP in Bridged Mode
Your system very small and old: Single Core CPU, 2GB RAM and no hardware virtualization support in the Athlon 64 CPU.
Also you are running a very old version 5.0.40 of Virtualbox which was not created by Oracle and we don't know what Ubuntu has changed in their builds.
Also you are running a very old version 5.0.40 of Virtualbox which was not created by Oracle and we don't know what Ubuntu has changed in their builds.