Ubuntu servers 14 in VMPlayer with ICS-DHCP-Server - Windows host no IP
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems: TOPOLOGY: - Laptop with Windows 8.1 - VM Player 12 with Linux installed (Ubuntu Server 14.04) - ICS-DHCP-SERVER installed and running - Another LAPTOP conected to a switch to verify IP discover. The problem i have is that neither my windows or whatever device i connect can receive IP from Linux DHCP server. VM WARE CONFIGURATION: I selected bridge mode in the custom configuration: Vmnet0 which is bridge mode. WINDOWS CONFIGURATION: - IN DHCP cliente activated i do not receive anything. For test purpose i configured a static IP: 192.168.2.10/24 and the gateway of my router 192.168.2.1. LINUX CONFIGURATION: My ethernet card is named eth0. A) ICS-DHCP-SERVER editing /etc/dhcp/dhcp.conf i left all lines as they were having: Code:
ddns-update-style none; Code:
auto lo - Having static IP in my Windows and in Linux insidw VM i have ping. - Ping OK against 8.8.8.8 from both machines. - My windows do not receive IP from VM DHCP Server. - If i change the configuration from my ETH0 interface and configure it with DHCP instead of static IP, the ICS-DHCP-SERVER does serve an IP correctly. - Windows with firewall deactivated. No antivirus. - Ubuntu firewall ufw disabled. - In summary DHCP Server is not working outside of VM. I already tried (since nothing works) configuring the network adpater in bridge mode, NAT, and nothing works. Can somebody help with some idea i am not considering? THank you so much. |
Hi all.
Found out where the mistake was: Forgot to edit the file: /etc/default/isc-dhcp-server And in the line INTERFACES="" i had to input my network card interface: INTERFACE="eth0" In the VM configuration i left my Network Adapter selected in: --> Bridged: Connected directly to the physical network, Thank you guys! |
All times are GMT -5. The time now is 03:59 AM. |