Community discussions

MUM Europe 2020

Search found 15 matches

by Youssef
Thu Nov 01, 2018 5:17 pm
Forum: General
Topic: Urgent help for configure
Replies: 2
Views: 497

Urgent help for configure

Hello everyone, at the level of my project I had a router Mikrotik that I have to configure it but unfortunately this is my first time that I use it. So, is there anyone who can help me in this level!!
thnx
by Youssef
Fri Sep 28, 2018 10:35 am
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

Not exactly. You can remove out-interface from src-nat rules, but it shouldn't make any difference. Feel free to try it. But for masquerade rule, if it previously worked with ether2, then changing it to ether1 will break it. I tried at the level of out-interface masquerade with ether1 and even by e...
by Youssef
Wed Sep 26, 2018 4:37 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

This is wrong: /ip route add dst-address=192.168.1.0/24 gateway=172.16.128.1 /ip route add dst-address=0.0.0.0/0 gateway=172.16.1.254 This is correct: /ip route add dst-address=0.0.0.0/0 gateway=172.16.128.1 yes This is my new config /ip address add interface=ether1 address=192.168.1.254/24 /ip add...
by Youssef
Wed Sep 26, 2018 1:40 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

What are your firewall filter rules?
I don't have any rules filter
by Youssef
Thu Sep 20, 2018 6:00 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

Should work, dunno. Is it emulated environment or real devices?
Real devices
by Youssef
Thu Sep 20, 2018 5:10 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

What ROS version do you use?
6.42.6
by Youssef
Thu Sep 20, 2018 4:14 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

Does it work in your environment?
it works but the problem is that all devices (192.168.1.2 # .3 # .4 # .5) take as public IP address 172.16.128.62
that is, NAT does not work :(
by Youssef
Thu Sep 20, 2018 1:16 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

This is wrong: /ip route add dst-address=192.168.1.0/24 gateway=172.16.128.1 /ip route add dst-address=0.0.0.0/0 gateway=172.16.1.254 This is correct: /ip route add dst-address=0.0.0.0/0 gateway=172.16.128.1 yes This is my new config /ip address add interface=ether1 address=192.168.1.254/24 /ip add...
by Youssef
Thu Sep 20, 2018 11:31 am
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

In that case, try a better description of public addresses. You wrote that the main one is 172.16.128.254/24 (it's not public, but it's not the important part). But you also wrote that others are 172.16.128.2-3, which would put them in same /24 subnet. Now if you say that .254 is in /26, then .2-3 ...
by Youssef
Wed Sep 19, 2018 7:56 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

If you have: /ip firewall nat add chain=srcnat action=src-nat out-interface=ether2 src-address=192.168.1.2 to-addresses=172.16.128.2 add chain=srcnat action=src-nat out-interface=ether2 src-address=192.168.1.3 to-addresses=172.16.128.3 add chain=srcnat action=masquerade out-interface=ether2 Then it...
by Youssef
Wed Sep 19, 2018 6:11 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

And did you follow my hint and moved the first maqeurade rule at the end of chain?
When i moved the first masquerade rule at the end of chain, the network stopped
by Youssef
Wed Sep 19, 2018 5:05 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

Re: NAT Static

Rules are processed in order, so everything just uses the first masquerade rule.
if i do the test with the command line to discover on which public @IP connects the equipment that has the @ 192.168.1.2
> curl ipinfo.io/ip
172.16.128.254

it's wrong, i have to find 172.16.128.2 :(
by Youssef
Wed Sep 19, 2018 4:32 pm
Forum: General
Topic: NAT Static
Replies: 27
Views: 2030

NAT Static

Hello, I have my network architecture each device that has a local @IP connects to the internet with a public @IP ie PC1: @local: 192.168.1.2 => 172.16.128.2 PC2: @local: 192.168.1.3 => 172.16.128.3 @ public: 172.16.128.0/24 @ local: 192.168.1.0/24 public gateway: 172.16.128.1 local gateway: 192.168...
by Youssef
Wed Sep 19, 2018 3:53 pm
Forum: General
Topic: Convert from Cisco to Mikrotik [SOLVED]
Replies: 7
Views: 1870

Re: Convert from Cisco to Mikrotik [SOLVED]

Thank you everyone :)
by Youssef
Tue Aug 14, 2018 12:37 pm
Forum: General
Topic: Convert from Cisco to Mikrotik [SOLVED]
Replies: 7
Views: 1870

Convert from Cisco to Mikrotik [SOLVED]

Hello everyone, at the level of my project I had a router Mikrotik that I have to configure it but unfortunately this is my first time that I use it. So, is there anyone who can help me in this level to convert my code from Cisco to Mikrotik? My configuration is like this: --------------------------...