Routing on PPP-Out interface?

Hi all,

I want to have access to PC2 behind ppp-out interface.
This is my network diagram:
PC1_192.168.1.200—LINUX-PPP------APN_10.10.16.0------PPP-out-RB411U—PC2_192.168.88.2
ppp-out IP 10.10.16.14

From RB4111U to PC1 ping is OK.
and from PC1 to 10.10.16.14 is OK.

I’ve set route to 192.168.88.0 over 10.10.16.14 on Linux Router,
but ping from PC1 to 192.168.88.1 is doesn’t work.
Also from PC2 to PC1 is not ok.

Port mapping on RB411U to PC2 is works, but this is no good for me. I must have access to all LAN 192.168.88.0/24.
How can I access to 192.168.88.1? Is the routing is allowed on ppp interface?
Am I doing somethings wrong? Or I must use VPN connection for that?

On RB411U:
/ip route print

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 ADS 0.0.0.0/0 10.112.112.122 1
1 ADC 10.112.112.122/32 10.10.16.14 ppp-out1 0
2 ADC 192.168.88.0/24 192.168.88.1 ether1 0

/ip firewall nat print
0 chain=srcnat action=accept src-address=192.168.88.0/24 dst-address=192.168.1.0/24
1 chain=dstnat action=accept src-address=192.168.1.0/24 dst-address=192.168.88.0/24
2 chain=srcnat action=masquerade out-interface=ppp-out1

Thanks for replay
Regards

I’m not sure, if you routing is working properly on the Linux.

RB411U should have route to 192.168.100 network too.

PC1 should have default gateway configured;
PC2 should have default gateway configured.

Hi sergejs,
thanks for replay.

PC1 have default gateway 192.168.1.254 (LINUX_PPP)
PC2 -||- 192.168.88.1 (RB411U)

I can ping from PC2 to PC1.
But not from PC1 to PC2.
I think it’s RB411U routing problem.

This is Linux routing table:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.88.0 10.10.16.14 255.255.255.0 UG 0 0 0 tunnel5
10.10.16.0 0.0.0.0 255.255.240.0 U 0 0 0 tunnel5
0.0.0.0 89.191.XXX.XXX 0.0.0.0 UG 100 0 0 eth0

tracert 10.10.16.14
traceroute to 10.10.16.14 (10.10.16.14), 30 hops max, 40 byte packets
1 10.10.16.14 (10.10.16.14) 2408.530 ms 2448.187 ms 2487.675 ms

ping 192.168.88.1
PING 192.168.88.1 (192.168.88.1) 56(84) bytes of data.
— 192.168.88.1 ping statistics —
5 packets transmitted, 0 received, 100% packet loss, time 4007ms

For now Port mapping is the only way to access PC2.
I need somethings like bridge interface include eth0 and ppp-out1, but I can’t add ppp-out1 to bridge.
Maybe I doing wrong with /ip firewall nat ?

Have you added route to RB411U?

RB411U should have route to 192.168.100 network too.

Yes, I did.
RB411U has IP:
ppp-out 10.10.16.14
ether1 192.168.88.1

This is Linux routing table:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.88.0 10.10.16.14 255.255.255.0 UG 0 0 0 tunnel5
10.10.16.0 0.0.0.0 255.255.240.0 U 0 0 0 tunnel5
0.0.0.0 89.191.XXX.XXX 0.0.0.0 UG 100 0 0 eth0

So PC2 i accesible by router RB411U ip 10.10.16.14.
Maybe routing didn’t work on ppp interface?

Post here /ip route print from RB411U

This is from RB411U
[admin@MikroTik] > /ip route print

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 ADS 0.0.0.0/0 10.112.112.126 1
1 ADC 10.112.112.126/32 10.10.16.14 ppp-out1 0
2 A S 192.168.1.0/24 10.10.16.14 10.112.112.126 1
3 ADC 192.168.88.0/24 192.168.88.1 ether1 0

Best regards