Ubuntu 14.04 DHCP not getting to server when host Macbook is on WiFi

Discussion in 'Linux Virtual Machine' started by SamS1, Feb 16, 2016.

  1. SamS1

    SamS1 Bit poster

    Messages:
    1
    DHCP requests don't make it through to the server from the VM (Ubuntu Server 14.04) when the Host OS is on a wireless network.

    DHCP requests work fine from every other device including the Host OS, just not from the VM. When the VM is set to Static IP on the same network/interfaces the connection works fine, it's just not getting the DHCP requests through.

    VM configuration is set up to Bridge to the 'Default Adapter'. I've tried switching this to WiFi directly, and still doesn't work.

    On the Ubuntu VM:

    root@WebDev:/home/cdadmin# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:1c:42:9e:0e:0c
    inet6 addr: fe80::21c:42ff:fe9e:e0c/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7396 errors:0 dropped:0 overruns:0 frame:0
    TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:927608 (927.6 KB) TX bytes:44754 (44.7 KB)

    root@WebDev:/home/cdadmin# cat /etc/network/interfaces
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    allow-hotplug eth0
    iface eth0 inet dhcp
    dns-nameserver 192.168.15.9 8.8.8.8​
     

    Attached Files:

  2. marat_t

    marat_t Pro

    Messages:
    287

Share This Page