Routing on Hyper-V

Hello guys,
I have never use MikroTik OS before and I decide to start to use it through Hyper-V.
I have an idea and it is quite simple:

Network 192.168.101.0/24 Network 192.168.100.254
Ubuntu-VM ------ MikroTik-VM ------- FritzBox (My home router)

I would that MikroTik permit to my Ubuntu-VM to communitcate with my home network and surf on the web.

The network card on Hyper-V has configured in this way:

  • 1 external for “wan” interface of my mikrotik vm (IP is 192.168.100.1)
  • 1 internal for “lan” interface of my mikrotik vm (IP is 192.168.101.1)

Ubuntu VM use DHCP becouse mikrotik is also DHCP server… now its ip is 192.168.101.149

The route are attached in this post.
I have setted static ip in my router FritzBox
From my laptop where there is Hyper-V I can ping my VM Mikrotik.
Thanks for your help

Federico
Cattura1.PNG

Did you add route to access your VM network on FritzBox?

Something like (linux style)

route add -net 192.168.101.0 netmask 255.255.255.0 gw 192.168.100.1

Without that machines in your home lan (including FritzBox) don’t know how to send replies back to macines in VM network.

I have solved, yes the problem was the static route.
Thanks
Federico