You are not logged in.

#1 2015-03-10 16:32:30

prasselpikachu
Member
Registered: 2015-03-10
Posts: 3

Virtualized bridge does not forward packets to other interfaces

I'm running OS X as a host with VirtualBox. In VirtualBox I set up an Arch VM with these interfaces:

- enp0s3, which is a plain NAT adapter for internet connectivity.
- enp0s8, which is an internal network made by VBox. Connects to some other VMs.
- enp0s9, which is a host-only adapter connected to OS X.
- 9net, which is tinc connected to a remote network over enp0s3

I can establish connections from any of enp0s8, enp0s9, and 9net to the bridge itself (172.31.2.1),
but I cannot actually access hosts connected on other interfaces, which is the main point of the bridge.

Here are some outputs:

root@bridge# ifconfig

9net: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::cd3:17ff:fece:125  prefixlen 64  scopeid 0x20<link>
        ether 0e:d3:17:ce:01:25  txqueuelen 500  (Ethernet)
        RX packets 106  bytes 9626 (9.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 217  bytes 32956 (32.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

9net-bridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.31.2.1  netmask 255.255.0.0  broadcast 172.31.255.255
        inet6 fe80::a00:27ff:feba:1c7d  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:ba:1c:7d  txqueuelen 0  (Ethernet)
        RX packets 268  bytes 34588 (33.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 2308 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::5a00:bac1:14b3:a86d  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:cf:85:27  txqueuelen 1000  (Ethernet)
        RX packets 546  bytes 254262 (248.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1429  bytes 1360430 (1.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s8: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::a00:27ff:fed2:59e  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:d2:05:9e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 279  bytes 39854 (38.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s9: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet6 fe80::a00:27ff:feba:1c7d  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:ba:1c:7d  txqueuelen 1000  (Ethernet)
        RX packets 190  bytes 30844 (30.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 108  bytes 10454 (10.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 

root@bridge# brctl show

bridge name	bridge id		STP enabled	interfaces
9net-bridge		8000.080027ba1c7d	no		9net
							enp0s8
							enp0s9

Offline

Board footer

Powered by FluxBB