Hello everyone!
I would like to setup Mikrotik in virtual machine so I can get DHCP lease and connect to Internet from another virtual machine ( Windows 7).
I have a little trouble with DNS and with Routing table.
I think the problem lies with DNS packet forwarding? I can’t ping 8.8.8.8 nor any site.
Could you take a look at setup and tell me what I need to change?
Thanks in advance
I did the following
Mikrotik:
I created two network cards, one bridged, second intranet and named them WAN, LAN
DHCP Client setup
WAN
IP 192.168.1.20/24
Gateway 192.168.1.1
DNS 192.168.1.1
IP Addresses setup:
LAN:
IP 192.168.100.1/25
DHCP Server setup::
IP 192.168.100.0/25
Gateway 192.168.100.1
Netmask 25
IP Pool: 192.168.100.2 - 192.168.100.20
DHCP Networks setup:
Address 192.168.100.0/25
Gateway 192.168.100.1
Netmask 25
DNS Servers: 192.168.100.1
Firewall NAT setup:
Chain: srcnat
Out Interface: WAN
Route list setup:
Pref source: 192.168.1.20
srcnat: WAN
Gateway: 192.168.1.0/24
Pref source: 192.168.100.1
srcnat: LAN
Gateway: 192.168.100.0/25
DNS Settings:
Servers: 8.8.8.8
Dynamic Servers: 192.168.1.1
Allow Remote requests ticked