hai…
i’m 22 yrs old from borneo island…need help to configure this routeros. i’m very new to this. so please help me guys!
anyway, my problem is i already configure my IP address as well as my IP route but still cannot get through the internet. i have 2 interface. 1 is for my LAN and the other 1 is for my WAN. this is how i configure my IP address:
0 x.x.x.x/x x.x.x.x x.x.x.x LAN
1 y.y.y.y/y y.y.y.y y.y.y.y WAN1
and my ip route is:
0 S 0.0.0.0/0 y.y.y.y 1 WAN1
1 DC y.y.y.y/y 0.0.0.0 0 WAN1
2 DC x.x.x.x/x 0.0.0.0 0 LAN
I’ve also allow DNS remote requests (don know whether this is necessary or not)
and i’m using PPPoA instead of PPPoE. i’ve gone through the manual but unfortunately it cannot help. any soultions?
another question is…how can i configure my gateway? each time i add the IP address, the router will automatically configure the dynamic route for me.
for instance:
DC x.x.x.x/x 0.0.0.0 x.x.x.x 0 LAN
how can i make the route static so that i can change the gateway? currently the gateway is 0.0.0.0
thanks normis! but the gateway u’r given me doesn’t help as well…i’ve tried to ask the mikrotik support but they can’t help either. so if anyone have a book of mikrotik for dummies, i need one! i’ve tried following the manual. i donno what i’ve done wrong…is it because i use a demo license that it didn’t work? what if i buy the license, will the connection works?
0 S 0.0.0.0/0 60.51.128.182 1 WAN1
1 DC 60.51.128.180/30 0.0.0.0 0 WAN1
2 DC 10.100.0.0/24 0.0.0.0 0 LAN
and then:
===========================
/ip route add gateway=1.2.3.4
thanks normis! but the gateway u’r given me doesn’t help as well…
so, let’s clarify things. Did you use 1.2.3.4 numbers EXACTLY as normis has said? That’s bad, it cannot work of course.
In the first example, you have correctly defined external IP address from your provider to 60.51.128.182 with 30bit mask (/30). Your next output with /ip route shows me that YOU HAD WRONG GATEWAY TO YOUR ISP:
0 S 0.0.0.0/0 60.51.128.182 1 WAN1
see? Let’s explain meaning of this line:
0 = first line in list
S = static route, manually entered with /ip route add gateway=
0.0.0.0/0 = default gateway. If the router doesn’t know how to find destination network, it will simply send that traffic here
60.51.128.182 = gateway IP address. HERE IS THE PROBLEM.
1 = distance, cost, priority, there are more names for it
WAN1 = interface where to go.
The problem I see here: IP ADDRESS OF YOUR GATEWAY. You entered 60.51.128.182, but you should enter 60.51.128.181 (!! 181 !! at the end). Why?
your ISP assigned you address 60.51.128.182 and his router (=for you, HIS GATEWAY WHERE YOU SHOULD SEND YOUR TRAFFIC) should be 60.51.128.181. This is because of the definition of assigned “network” to you, 60.51.128.180/30 - there are four “numbers”:
60.51.128.180 (address of network alone, this address is NOT USABLE for computer/router/whatever)
60.51.128.181 usable IP address - this should be gateway on providers side
60.51.128.182 usable IP address - this should be your IP address according to your output
60.51.128.183 (broadcast address, again NOT USABLE for computer/router/whatever)
leave masquerading as you have it, change only default route:
/ip route
print
remove [number of line where 0.0.0.0/0 is, so you should enter remove 0]
print
{check that there is no 0.0.0.0/0 output, right now it should look like:
1 DC 60.51.128.180/30 0.0.0.0 0 WAN1
2 DC 10.100.0.0/24 0.0.0.0 0 LAN
and nothing more
add gateway=60.51.128.181
hai mp3turbo2! thanks for the reply! i really appreciate it. actually, i did configure my gateway correctly, i wrongly typed it inside this forum. sorry my mistake!
anyway, what i did wrong was i disabled my masquerade. when i enable it, then my internet works! thanks mp3turbo2!
to normis, i’m really sorry i misunderstood what u said…i thought just type in 1.2.3.4 hehe stupid me. but thanks for helping me!
Hey beejan, mind if those of us who never seem to get answers pass them on to you to post? With a face like yours you will always get a response, it’s a guy thing about helping out pretty girls.
I’d say she knows more about networking and more importantly gives better details than most on the forum.
Posting “My XYZ doesn’t work?!!?! HELP?!?! Very Urgent!!” and a follow-up 5 minutes later “I run Mikrotik v2.7.STONEAGE” deserves nothing more than a reply full of insults about the posters genitalia and intellect. But that would waste more time.
i really appreciate all your comments guys…im really interested to learn more about mikrotik. i wouldn’t mind sharing my experience using mikrotik with other new users like me.
so far…my mikrotik is working fine..however, the problem comes when i add another WAN line and try to do the load balancing. i want the load balancing to be per-packets.
so this is what i did..in Nth property in firewall manual, i use it to put 1 routing mark on the first of each two packets and another routing mark on the second of them. then i use the policy routing to route these packets to different gateways. (this solution i obtained from this forum )
unfortunately…i doesnt seem to work…i cannot access the internet.
this is how it looks like when i print the ip firewall mangle:
hmm..i’ve also read somewhere saying that if i use policy-routing, then do not use source nat. is it true? it seems that i’ve follow the manual but still cant access the internet. maybe my masquerading is wrong? any suggestions?