Community discussions

MikroTik App
 
manolo
just joined
Topic Author
Posts: 17
Joined: Wed May 16, 2007 6:01 pm

mikrotik as GPRS gateway

Fri Apr 01, 2011 2:06 pm

mikrotik with ether1 and ppp-out1 interface (LAN card 100TX and USB OPTION connected to internet) but there is no routing between those 2 interface???
(from ppp interface I can ping public ip, but no from private interface)

Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU
0 R ether1 ether 1500
1 R ppp-out1 ppp-out 1500
[admin@MikroTik] /interface>
.
.
.
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 10.112.112.142 1
1 ADC 10.112.112.142/32 178.160.66.114 ppp-out1 0
2 ADC 192.168.0.0/24 192.168.0.1 ether1 0
[admin@MikroTik] /ip route>



any ideas??? :(
 
Sanity
Member Candidate
Member Candidate
Posts: 198
Joined: Sun Mar 06, 2011 8:51 am

Re: mikrotik as GPRS gateway

Fri Apr 01, 2011 3:08 pm

mikrotik with ether1 and ppp-out1 interface (LAN card 100TX and USB OPTION connected to internet) but there is no routing between those 2 interface???
(from ppp interface I can ping public ip, but no from private interface)

Flags: D - dynamic, X - disabled, R - running, S - slave
# NAME TYPE MTU L2MTU
0 R ether1 ether 1500
1 R ppp-out1 ppp-out 1500
[admin@MikroTik] /interface>
.
.
.
[admin@MikroTik] /ip route> print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 10.112.112.142 1
1 ADC 10.112.112.142/32 178.160.66.114 ppp-out1 0
2 ADC 192.168.0.0/24 192.168.0.1 ether1 0
[admin@MikroTik] /ip route>

any ideas??? :(
Yes. Dont put your priovate address sapce onto a povider. Any provider with a gfrain of brain will throw packeets away that are from wrong ip addresses for a gateway.

In your case this means the 192.168.0.0 network should NOT NEVER EVER be seen by the ppp-out1 recipient. He will throw it away.

To avoid this, put in a NAT rule, so he sees the packets as originating from 10.112.112.142 (which is the ip address he assigned to your ppp-out1 interface). He will happily forward them then.

Who is online

Users browsing this forum: cstrong and 66 guests