Connecting to a bridged host

Discussions about using Linux guests in VirtualBox.
Post Reply
Thunderlight1
Posts: 4
Joined: 18. Sep 2017, 21:00

Connecting to a bridged host

Post by Thunderlight1 »

I have installed OpenNebula on two Ubuntu 16.04 VM, where one is the controller node, and the other is the compute node. I created the following bridged interface on the Compute node:

auto br0
iface br0 inet static
address 192.168.1.65
network 192.168.1.0
broadcast 192.168.1.255
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.4 8.8.8.8
dns-search dasilva.network
bridge_ports enp0s3
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

When I start another VM machine through the OpenNebual web GUI, which is using the bridge interface, I can ping the new VM from the Compute Node, but not from any other node that is on the same network or from the node to any other node on the network.

MyNetwork <----> br0 <---->VM

Here is the output fron the compute node:

Code: Select all

$ brctl show
    bridge name bridge id       STP enabled interfaces
    br0     8000.080027bfd3ee   no      enp0s3
                                        one-32-0
    virbr0  8000.525400c91dfd   yes     virbr0-nic

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
    link/ether 08:00:27:bf:d3:ee brd ff:ff:ff:ff:ff:ff
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 08:00:27:bf:d3:ee brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.65/24 brd 192.168.1.255 scope global br0
       valid_lft forever preferred_lft forever
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:c9:1d:fd brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.1/24 brd 10.10.10.255 scope global virbr0
       valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master virbr0 state DOWN group default qlen 1000
    link/ether 52:54:00:c9:1d:fd brd ff:ff:ff:ff:ff:ff
6: one-32-0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UNKNOWN group default qlen 1000
    link/ether fe:00:c0:a8:01:c8 brd ff:ff:ff:ff:ff:ff
Bellow is the Virtualbox network setting for the compute Node:

NIC 1: MAC: 080027BFD3EE, Attachment: Bridged Interface 'enp3s0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none

What might be the problem and how can I make it work?
Post Reply