I am running VirtualBox 5.0 on a CentOS 6.7 server with a single physical network interface connected to the network. The guest is CentOS 7.1.
I'm unable to get bridged networking to work and suspect I'm missing something simple.
Below are outputs from the VirtualBox server, in this order:
vboxmanage showvminfo --details
vboxmanage list bridgedifs
vboxmanage list hostonlyifs
brctl show
ifconfig -a
route
sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.default.forwarding net.ipv4.conf.eth0.forwarding net.ipv4.conf.br0.forwarding net.ipv4.conf.vboxnet0.forwarding net.ipv4.ip_forward
Attached is a jpg screenshot of the guest's output of ifconfig -a and route.
My goal is to have the VirtualBox host on the network at 10.13.106.28 and the guest at 10.13.106.50, both on the same physical interface.
I have a feeling I'm missing something simple, any help would be appreciated. Thank you.
vboxmanage showvminfo --details
Code: Select all
# vboxmanage showvminfo "morpheus-appliance" --details
Name: morpheus-appliance
Groups: /
Guest OS: Red Hat (64-bit)
UUID: 3fc9f1ac-03e3-4eba-bc6a-36f9744035b7
Config file: /root/VirtualBox VMs/morpheus-appliance/morpheus-appliance.vbox
Snapshot folder: /root/VirtualBox VMs/morpheus-appliance/Snapshots
Log folder: /root/VirtualBox VMs/morpheus-appliance/Logs
Hardware UUID: 3fc9f1ac-03e3-4eba-bc6a-36f9744035b7
Memory size: 4096MB
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
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: on
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
State: running (since 2015-12-16T22:42:25.305000000)
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): /mnt/data/vbox/disk/morpheus-appliance.vdi (UUID: eb75f754-41dd-4ea9-ac07-303e6514e414)
IDE Controller (0, 1): Empty
NIC 1: MAC: 0800277CC630, Attachment: Bridged Interface 'vboxnet0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, 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
LPT 1: disabled
LPT 2: disabled
Audio: disabled
Clipboard Mode: disabled
Drag and drop Mode: disabled
Session name: headless
Video mode: 720x400x0 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: 2015/12/16 22:47:46 UTC
Sent: 1498979 Bytes
Average speed: 1350 B/s
Sent total: 1498979 Bytes
Received: 41053 Bytes
Speed: 36 B/s
Received total: 41053 Bytes
User name:
Domain:
Client name: SINGLECASK
Client IP: 10.13.102.74
Client version: 7601
Encryption: RDP4
Video capturing: not active
Capture screens: 0
Capture file: /root/VirtualBox VMs/morpheus-appliance/morpheus-appliance.webm
Capture dimensions: 1024x768
Capture rate: 512 kbps
Capture FPS: 25
Guest:
Configured memory balloon size: 0 MB
OS type: RedHat_64
Additions run level: 0
Guest Facilities:
No active facilities.
Code: Select all
# vboxmanage list bridgedifs
Name: br0
GUID: 00307262-0000-4000-8000-0015175af3d4
DHCP: Disabled
IPAddress: 10.13.106.28
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:0215:17ff:fe5a:f3d4
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 00:15:17:5a:f3:d4
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-br0
Name: eth0
GUID: 30687465-0000-4000-8000-0015175af3d4
DHCP: Disabled
IPAddress: 0.0.0.0
NetworkMask: 0.0.0.0
IPV6Address: fe80:0000:0000:0000:0215:17ff:fe5a:f3d4
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 00:15:17:5a:f3:d4
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-eth0
Name: eth1
GUID: 31687465-0000-4000-8000-0015175af3d5
DHCP: Disabled
IPAddress: 0.0.0.0
NetworkMask: 0.0.0.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 00:15:17:5a:f3:d5
MediumType: Ethernet
Status: Down
VBoxNetworkName: HostInterfaceNetworking-eth1
Code: Select all
# vboxmanage list hostonlyifs
Name: vboxnet0
GUID: 786f6276-656e-4074-8000-0a0027000000
DHCP: Disabled
IPAddress: 10.13.106.50
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:0800:27ff:fe00:0000
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0
Code: Select all
# brctl show
bridge name bridge id STP enabled interfaces
br0 8000.0015175af3d4 no eth0
vboxnet0
Code: Select all
# ifconfig -a
br0 Link encap:Ethernet HWaddr 00:15:17:5A:F3:D4
inet addr:10.13.106.28 Bcast:10.13.106.255 Mask:255.255.255.0
inet6 addr: fe80::215:17ff:fe5a:f3d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19847 errors:0 dropped:0 overruns:0 frame:0
TX packets:17683 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2637937 (2.5 MiB) TX bytes:3296496 (3.1 MiB)
eth0 Link encap:Ethernet HWaddr 00:15:17:5A:F3:D4
inet6 addr: fe80::215:17ff:fe5a:f3d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79353 errors:0 dropped:0 overruns:0 frame:0
TX packets:74192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12567497 (11.9 MiB) TX bytes:9189910 (8.7 MiB)
Interrupt:18 Memory:b8820000-b8840000
eth1 Link encap:Ethernet HWaddr 00:15:17:5A:F3:D5
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Memory:b8800000-b8820000
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:398 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42025 (41.0 KiB) TX bytes:42025 (41.0 KiB)
vboxnet0 Link encap:Ethernet HWaddr 0A:00:27:00:00:00
inet6 addr: fe80::800:27ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1993 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:166180 (162.2 KiB)
Code: Select all
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.13.106.0 * 255.255.255.0 U 0 0 0 br0
link-local * 255.255.0.0 U 1009 0 0 br0
default 10.13.106.1 0.0.0.0 UG 0 0 0 br0
Code: Select all
# sysctl net.ipv4.conf.all.forwarding net.ipv4.conf.default.forwarding net.ipv4.conf.eth0.forwarding net.ipv4.conf.br0.forwarding net.ipv4.conf.vboxnet0.forwarding net.ipv4.ip_forward
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.br0.forwarding = 1
net.ipv4.conf.vboxnet0.forwarding = 1
net.ipv4.ip_forward = 1