{"push_id":1034901673,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"349a2a8ebbfb759d4d59a0dc7b98c914b0b636eb","before":"cacdf3fb28c6d511146117a462b9e12548583225","commits":[{"sha":"349a2a8ebbfb759d4d59a0dc7b98c914b0b636eb","author":{"email":"df7cf57c871fd7af142d630f566cda0ef676eae4@icloud.com","name":"Andrei-Lucian Șerb"},"message":"Attach external NIC to a NAT-Network if on Wi-Fi\n\nOn computers with wi-fi adapters, promiscuous mode on the VirtualBox (or\nmaybe other hypervisors as well) NICs does not work, which means the\ndefault way of connecting the Neutron external interface to a bridged\nadapter, will not allow communication to and from the Nova VMs over\nfloating IPs with any computer on the external network (except the host\ncomputer) or with the wi-fi router. This means no ability to connect to\nthe Nova VMs and no internet access inside the Nova VMs.\n\nAccording to VirtualBox documentation (excerpt): \"Bridging to a wireless\ninterface is done differently from bridging to a wired interface,\nbecause most wireless adapters do not support promiscuous mode. All\ntraffic has to use the MAC address of the host’s wireless adapter, and\ntherefore VirtualBox needs to replace the source MAC address in the\nEthernet header of an outgoing packet to make sure the reply will be\nsent to the host interface. When VirtualBox sees an incoming packet with\na destination IP address that belongs to one of the virtual machine\nadapters it replaces the destination MAC address in the Ethernet header\nwith the VM adapter’s MAC address and passes it on. VirtualBox examines\nARP and DHCP packets in order to learn the IP addresses of virtual\nmachines.\"\n\nTo fix this issue, a new flag has been introduced: WIFI. If true, the\ndefault Vagrant public network is not created anymore. Instead, the 3rd\nNIC will be connected to a NAT-Network named OSNetwork. The NAT-Network\nhas a virtual gateway, which will be used to communicate with the\nexternal physical wi-fi router. Since Vagrant does not have a high-level\nmechanism to attach an adapter to a NAT-Network, the code uses the\nlow-level Vagrant construct vm.customize which makes it provider\nspecific.\n\nPromiscuous mode is now activated by default on the 3rd NIC.\n\nThe WIFI flag is false by default.\n\nThis commit only addresses VirtualBox, and it is currently unknown if\nthe problem described and fixed in this commit is present in other\nhypervisors.\n\nDocImpact\nCloses-Bug: #1560274\nChange-Id: I22517d055cfdcbe70e4c34a0dba611d0ed50dcc3\nSigned-off-by: Andrei-Lucian Șerb <lucian.serb@icloud.com>","distinct":true,"url":"https://api.github.com/repos/openstack/kolla-mesos/commits/349a2a8ebbfb759d4d59a0dc7b98c914b0b636eb"}]}