Community discussions

MikroTik App
 
koMar
newbie
Topic Author
Posts: 43
Joined: Fri Feb 10, 2006 2:12 am

Fowarding dns...

Fri Mar 31, 2006 4:38 pm

Hi!
Can anyone tells me how to foward dns traffic from my dsl modem through mikrotik so i can access internet from LAN.
And can you also tell me if this config is good in this case?

ip dsl-modem: 10.0.0.1
ip interface for internet: 10.0.0.2
ip interface for LAN: 192.168.0.1

ip of LAN computer: 192.168.0.2
subnet mask: 255.255.255.0
default gateway: 192.168.0.1
primary dns: 192.168.0.1

masquerade (NAT)
192.168.0.1/24 => 10.0.0.1/24 output interface: interface for LAN
10.0.0.1/24 => 192.168.0.1/24 output interface: interface for Internet

additional route (besides to default ones that Mikrotik creates):
0.0.0.0/32 gateway: 10.0.0.2

Allow remote requests in DNS settings is on. And in DNS settings ip address from ISP are there.

pppoe is working fine, it connects but traffic from dsl modem isn't passing through mikrotik to LAN. Peer dns option is on. Sholud it be or not?

And one more interesting thing. When i try to ping for example http://www.google.com it recognise ip address of google server but no reply.

What to do? Any ideas?
Thanks