Community discussions

MikroTik App
 
FedericoCoppola
just joined
Topic Author
Posts: 5
Joined: Sat Sep 22, 2018 1:32 pm
Location: Turin,Italy

Routing on Hyper-V

Sat Sep 22, 2018 2:44 pm

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
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11444
Joined: Thu Mar 03, 2016 10:23 pm

Re: Routing on Hyper-V

Sat Sep 22, 2018 9:03 pm

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.
 
FedericoCoppola
just joined
Topic Author
Posts: 5
Joined: Sat Sep 22, 2018 1:32 pm
Location: Turin,Italy

Re: Routing on Hyper-V

Sun Oct 07, 2018 7:07 pm

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

Who is online

Users browsing this forum: abdullanetworking, rjuho and 59 guests