Page 1 of 1

CHR on Hyper-V - dhcp client unable to take address

Posted: Wed Jun 27, 2018 5:33 pm
by noneblah
Hello Guys, :D

I face the following issue - chr 6.42.5 on Hyper-v hypervisor (generation 1 virtual machine). I have connected the interface of the virtual machine to the virtual switch in the /24 local network. There is one dd-wrt in the network, which acts as a dhcp-server in the /24 network.
I have configured dhcp-client on the Mikrotik:
mik_vm_dhcp.PNG
There are other virtual machines - linux based - on the same host which have interfaces in the same virtual switch and they are successfully taking address.
mik_vm_net.PNG
Any ideas?

Re: CHR on Hyper-V - dhcp client unable to take address

Posted: Wed Jun 27, 2018 5:35 pm
by noneblah
Just a note:
This is the second Mikrotik machine which I have created so far and is unable to obtain address.

Re: CHR on Hyper-V - dhcp client unable to take address  [SOLVED]

Posted: Fri Jun 29, 2018 12:59 am
by Kindis
Are you using VLAN? I have two CHR running on this version that have DHCP client working so it should be config.

Re: CHR on Hyper-V - dhcp client unable to take address

Posted: Fri Jun 29, 2018 11:41 pm
by noneblah
Funny :D - Just as I was taking the screenshots for the reply, I noticed that yeah - on the Ubuntu machine, "Enable virtual LAN identification" was checked and there was a VLAN ID configured.
I have added this to the CHR and happily it is properly working now.

10x! :)