VirtualBox Bridge Network on Headless Server Help

Discussions related to using VirtualBox on Linux hosts.
Post Reply
brad1615
Posts: 2
Joined: 19. Aug 2016, 18:54

VirtualBox Bridge Network on Headless Server Help

Post by brad1615 »

I'm having issues with setting up my network for virtual box and I'm not really sure what I am doing wrong at this point. I have read through forms for countless hours and I'm throwing in the towel!

So basically I am running ubuntu 16.04 with virtual box 5.1.4r110228.

Below is a list of outputs that I'm hoping may help diagnose the problem.
I have no clue what I'm missing.

Host Machine Info

vboxmanage showvminfo --details

Code: Select all

Name:            server
Groups:          /
Guest OS:        Other/Unknown
UUID:            d664aaf2-e76e-4aa4-b42f-a51320834046
Config file:     /home/brad/VirtualBox VMs/server/server.vbox
Snapshot folder: /home/brad/VirtualBox VMs/server/Snapshots
Log folder:      /home/brad/VirtualBox VMs/server/Logs
Hardware UUID:   d664aaf2-e76e-4aa4-b42f-a51320834046
Memory size:     2048MB
Page Fusion:     off
VRAM size:       8MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             on
Long Mode:       on
Triple Fault Reset: off
APIC:            on
X2APIC:          off
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
BIOS APIC mode:  APIC
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     off
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
Effective Paravirt. Provider: None
State:           running (since 2016-08-19T16:51:29.822000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
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 Bootable (0):        on
IDE Controller (0, 0): /home/brad/server.vdi (UUID: 959aba9d-8c51-4991-ad3a-dc0d7cdaff0b)
IDE Controller (1, 0): Empty
NIC 1:           MAC: 080027DE0026, Attachment: Bridged Interface 'enp2s7', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
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
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: ALSA, Controller: AC97, Codec: STAC9700)
Clipboard Mode:  disabled
Drag and drop Mode: disabled
Session name:    headless
Video mode:      800x600x32 at 0,0 enabled
VRDE:            enabled (Address 0.0.0.0, Ports 3389, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
VRDE port:       3389
Video redirection: disabled
VRDE property: TCP/Ports  = "3389"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = <not set>
VRDE property: Security/ServerCertificate = <not set>
VRDE property: Security/ServerPrivateKey = <not set>
VRDE property: Security/CACertificate = <not set>
VRDE property: Audio/RateCorrectionMode = <not set>
VRDE property: Audio/LogPath = <not set>
USB:             disabled
EHCI:            disabled
XHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    active
Clients so far:     2
Start time:         2016/08/19 16:51:31 UTC
Sent:               8311237 Bytes
Average speed:      19972 B/s
Sent total:         8311237 Bytes
Received:           8428 Bytes
Speed:              20 B/s
Received total:     8428 Bytes
User name:
Domain:
Client name:        DESKTOP-R779G7H
Client IP:          127.0.0.1
Client version:     14393
Encryption:         RDP4

Video capturing:    not active
Capture screens:    0
Capture file:       /home/brad/VirtualBox VMs/server/server.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB
OS type:                             Linux26_64
Additions run level:                 1
Additions version:                   5.0.18_Ubuntu r106667


Guest Facilities:

Facility "VirtualBox Base Driver": active/running (last update: 2016/08/19 16:51:43 UTC)
Facility "Seamless Mode": not active (last update: 2016/08/19 16:51:43 UTC)
Facility "Graphics Mode": not active (last update: 2016/08/19 16:51:43 UTC)

vboxmanage list bridgedifs

Code: Select all

Name:            br0
GUID:            00307262-0000-4000-8000-0014d1252e96
DHCP:            Disabled
IPAddress:       192.168.1.2
NetworkMask:     255.255.255.0
IPV6Address:     fe80:0000:0000:0000:0214:d1ff:fe25:2e96
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 00:14:d1:25:2e:96
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-br0

Name:            enp2s7
GUID:            32706e65-3773-4000-8000-0014d1252e96
DHCP:            Disabled
IPAddress:       0.0.0.0
NetworkMask:     0.0.0.0
IPV6Address:     fe80:0000:0000:0000:0214:d1ff:fe25:2e96
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 00:14:d1:25:2e:96
MediumType:      Ethernet
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-enp2s7
brctl show

Code: Select all

bridge name     bridge id               STP enabled     interfaces
br0             8000.0014d1252e96       no              enp2s7
ifconfig -a

Code: Select all

br0       Link encap:Ethernet  HWaddr 00:14:d1:25:2e:96
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:d1ff:fe25:2e96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26242 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27733 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:16675658 (16.6 MB)  TX bytes:25845305 (25.8 MB)

enp2s7    Link encap:Ethernet  HWaddr 00:14:d1:25:2e:96
          inet6 addr: fe80::214:d1ff:fe25:2e96/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26582 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27741 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17065565 (17.0 MB)  TX bytes:25845953 (25.8 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8752 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8752 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:9013015 (9.0 MB)  TX bytes:9013015 (9.0 MB)
screenshot of guest's output of ifconfig -a
Capture.JPG
Capture.JPG (52.98 KiB) Viewed 1078 times
Screenshot of guest's /etc/network/interfaces
Capture2.JPG
Capture2.JPG (25.22 KiB) Viewed 1078 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VirtualBox Bridge Network on Headless Server Help

Post by Perryg »

Code: Select all

Cable connected: off
Start by fixing this and see what changes.
brad1615
Posts: 2
Joined: 19. Aug 2016, 18:54

Re: VirtualBox Bridge Network on Headless Server Help

Post by brad1615 »

That worked I feel goofy Didn't know you could edit the link state. Thank You,
Post Reply