Community discussions

MikroTik App
 
User avatar
lopar
just joined
Topic Author
Posts: 23
Joined: Mon Jan 30, 2017 5:47 pm

CHR on Hyper-V cannot connect to external network.

Wed Feb 24, 2021 5:25 pm

Hi all,
I have nested-virtualisation setup (lab):

Baremetal HyperV Host ---[standart network v-adapter]---> Windows 10 VM with HyperV (2-GEN-VM) ---[standart network v-adapter]---> CHR VM (1-GEN-VM).

vm-host has two virtual switches: external and internal. chr has also two interfaces, one for each net. So network card from vm-host connects to chr ether1 by external vswitch; vm-host and chr are connected between each other by internal vswitch.
Now, chr seems to work ok, i can connect to it through winbox from vm-host, but chr cannot receive IP address via DHCP, or just don't work with static address setup from external network card through external vswitch.

If I disconnect external vswitch and point network cart to host VM - network works. If I mirror network connection through hyper-v vswitch options, network works on vm-host, and do not work on chr. When I torch ether1 on chr, I can hear traffic on that network, but nothing comes to mikrotik.

Image

What can be wrong?
 
User avatar
lopar
just joined
Topic Author
Posts: 23
Joined: Mon Jan 30, 2017 5:47 pm

Re: CHR on Hyper-V cannot connect to external network.

Thu Feb 25, 2021 11:45 am

Found the answer. https://en.wikipedia.org/wiki/Promiscuous_mode must be turned ON on the host's network card in VM configuration.
 
User avatar
IPAsupport
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Fri Sep 20, 2019 4:02 pm

Re: CHR on Hyper-V cannot connect to external network.

Thu Apr 29, 2021 11:54 pm

would you share a screen capture of your virtual swiches configuration?

Who is online

Users browsing this forum: No registered users and 11 guests