Simple LAN-WAN help required

Hello, I’m fairly new to mikrotik and wanted to get a basic setup for now. Currently my old setup is a sizable LAN of about 80 PC’s all sharing the 192.168.0.X range, the gateway & DNS being 192.168.0.99 which is a regular d-link router. The router recieves a dynamic IP from my ISP, DHCP is turned off and all PC’s are assigned perminant static IP’s. My aim is to do some bandwidth/traffic control per IP without breaking the existing infrastructure avoiding any ip changes to the rest of the LAN, and ultimately some load balancing with a 2nd router. But for now I can’t even get basic internet to work.

The new setup is adding a RouterOS PC with 2 interfaces in the middle, one facing the LAN with the IP of the old router (192.168.0.99) so as not to break the existing infrastructure. The other interface is 192.168.1.20, that faces the d-link router which has been renumbered to 192.168.1.99. I plan to add a 2nd router later on in this range once I’ve gotten this basic setup going.

LAN Interface = 192.168.0.99
WAN Interface = 192.168.1.20

Router1 = 192.168.1.99 (being my current internet gateway)
Router2 = 192.168.1.97 (currently offline/disabled due to ISP issues)

LAN = 192.168.0.X


So far I’ve added a firewall masquerade for LAN, an ip route of 0.0.0.0 to the router 192.168.1.99, I’ve even configured DHCP (even though I’d prefer it disabled) and set the DNS to 192.168.1.99 and DNS address given by ISP. Yet I can’t reach any website, or access the router’s web interface so far, so what am I doing wrong ?

I’ve tried reading quite abit of the available tutorials on the wiki and here on the forums, but they all seem to address more advanced concepts and glance over the basic stuff which I seem to have stumbled upon. So I’d like some help getting basic internet to work through the RouterOS PC. Furthermore I’m unsure if I should be using bridging or not, some guides use it while others warn against it.

I would appreciate any help provided towards solving my current problem or any suggestions & different ideas to accompolish the same goals I’m trying to achieve.

hi
1.the best solution is that you remove d-link from your network and connect ether1 routeros to isp and get ip from your isp and confgi ether2 to service for your lan.for do this you must config dhcp server on the ether2 and create nat to your lan to wan.
2.if you want to keep d-link router you must do this:
make sure that your nat is correct and you can ping d-link ip from router os.(if you want more help , please send config export to me.

  1. I can’t do that since I’m using a DSL line, I need the router for the phone jack, I don’t have a pci modem card.

  2. The RouterOS is able to ping both networks but the LAN (192.168.0.x) can’t ping the router (192.168.1.99) is this good or bad ? After messing around with the configs I managed to get the LAN to ping the router once and even resolve website names to IP’s, but the ping’s to websites all resulted in request time out. I’m not sure what the configs were though as I’ve changed them alot.

What I’d like to do is have all the LAN PC’s point their gateway & DNS to the RouterOS @ 192.168.0.99 and the router OS would reroute their gateway/dns to the d-link router @ 192.168.1.99, all this without having DHCP on since all PC’s are set manually. I’ve attached my current config, there is a bridge I was experimenting with but atm its disabled. So far this is the most basic setup, 1 IP address per interface, 1 NAT masquerade for LAN network, 1 IP Route 0.0.0.0 pointing to the d-link router.
config.rsc (27.7 KB)

with my current setup, should LAN 1 (192.168.0.#) be able to ping the router at 192.168.1.99 through the mikrotik gateway 192.168.0.99 ? With one interface in each subnet, a NAT firewall masquerade rule for the LAN and a route from 0.0.0.0 to the router ? Or is it not supposed to ping ? I can ping both networks from the mikrotik server

help anyone ?