Community discussions

MikroTik App
 
raunakm
just joined
Topic Author
Posts: 15
Joined: Wed Mar 02, 2011 9:03 am

Routing Help

Thu Oct 29, 2015 6:37 am

Dear All,

I am not able to figure this out. Please see the attached diagram and please advise how do I apply routing.
Configuration.JPG
Mikrotik 1 Config
WAN - x.y.z.50/30 (Ether1)
IP Pool - a.b.c.32/27
- a.b.c.128/28
- a.b.c.184/29
- p.q.r.192/27
PPPoE on Ether3
Ether 3 also connected to Mikrotik 2 on IP Pool 11.0.0.0/30
Ether3 - 11.0.0.1/30


Mikrotik 1 Routes

# Destination Pref Source Gateway Distance
Address
0 A S 0.0.0.0/0 A.B.C.49 1
1 ADC 11.0.0.0/30 11.0.0.1 ether3 0
Some PPPoE Routes........
32 A S P.Q.R.192/27 11.0.0.1 11.0.0.2
33 ADC A.B.C.48/30 A.B.C.50 ether1


Mikrotik 2 Config
Ether 1 - 11.0.0.2/30
(Connected to Mikrotik 1 on Ether 3)
Ether 1 - p.q.r.193/27 (Reachable from internet)
IP Pool - p.q.r.192/27
Mikrotik 2 Routes

# Destination Pref Source Gateway Distance
Address
0 A S 0.0.0.0/0 11.0.0.1 1
1 ADC 11.0.0.0/30 11.0.0.2 ether1 0
2 ADC P.Q.R.192/27 P.Q.R.193 ether1 0

Problem
Not able to ping any internet address from Mikrotik 2. I am able to ping P.Q.R.193 from the internet.
Trace from Mikrotik2 to a.b.c.49 and 8.8.8.8 or any ip on internet ends at 11.0.0.1

Intention
Want to run hotspot in a local hostel with every client getting public address from P.Q.R.192/27 pool.
You do not have the required permissions to view the files attached to this post.
 
olgierd
just joined
Posts: 14
Joined: Sat Nov 29, 2014 9:14 pm

Re: Routing Help

Thu Oct 29, 2015 7:06 am

Do you have NAT setup on Mikrotik1 ?
 
raunakm
just joined
Topic Author
Posts: 15
Joined: Wed Mar 02, 2011 9:03 am

Re: Routing Help

Thu Oct 29, 2015 7:08 am

Do you have NAT setup on Mikrotik1 ?
NO. No NAT.
 
olgierd
just joined
Posts: 14
Joined: Sat Nov 29, 2014 9:14 pm

Re: Routing Help

Thu Oct 29, 2015 7:22 am

How looks your routing table on Mikrotik 1 ?
 
raunakm
just joined
Topic Author
Posts: 15
Joined: Wed Mar 02, 2011 9:03 am

Re: Routing Help

Thu Oct 29, 2015 7:51 am

How looks your routing table on Mikrotik 1 ?
Mikrotik 1 Routes

# Destination Pref Source Gateway Distance
Address
0 A S 0.0.0.0/0 A.B.C.49 1
1 ADC 11.0.0.0/30 11.0.0.1 ether3 0
Some PPPoE Routes........
32 A S P.Q.R.192/27 11.0.0.1 11.0.0.2 1
33 ADC A.B.C.48/30 A.B.C.50 ether1 0
 
olgierd
just joined
Posts: 14
Joined: Sat Nov 29, 2014 9:14 pm

Re: Routing Help

Thu Oct 29, 2015 8:35 pm

Is this IP 11.0.0.1 from your internet provider ? Or is your private address ?
 
raunakm
just joined
Topic Author
Posts: 15
Joined: Wed Mar 02, 2011 9:03 am

Re: Routing Help

Sun Nov 01, 2015 7:05 pm

Is this IP 11.0.0.1 from your internet provider ? Or is your private address ?
It is private address.

I have been able to solve the issue, just had to give p.q.r.193 in pref source of the static route to 0.0.0.0.

Thanks for the help.

:)

Who is online

Users browsing this forum: GoogleOther [Bot], mrz, nichky, Santi70, tangent and 42 guests