Community discussions

MikroTik App

Search found 4 matches

by JoePolgar
Fri Mar 03, 2017 4:00 am
Forum: General
Topic: IP and DHCP on same interface masqed
Replies: 5
Views: 1044

Re: IP and DHCP on same interface masqed

What other router? Also it can be influenced by other srcnat rules, if there's some that matches this traffic before this one, it won't do anything.
no other src-nat rules, they connect from 16.0 range to other mikrotiks from 15.0 range, and there i see the ip, i want 15.2 but there is 16.xx
by JoePolgar
Fri Mar 03, 2017 2:58 am
Forum: General
Topic: IP and DHCP on same interface masqed
Replies: 5
Views: 1044

Re: IP and DHCP on same interface masqed

That does not qualify for "strange". :)
/ip firewall nat
add action=src-nat chain=srcnat dst-address=192.168.15.0/24 src-address=192.168.16.0/24 \
    to-addresses=192.168.15.2
Thanks for quick reply, just tried it, still seeing the 16.0/24 ip in torch on other router
by JoePolgar
Fri Mar 03, 2017 1:35 am
Forum: General
Topic: IP and DHCP on same interface masqed
Replies: 5
Views: 1044

IP and DHCP on same interface masqed

Hello, maybe its a bit strange what i want to do but: i need to figure out how to masquerade range2 to display as range1 IP so i have a simple wan on ether1 net working, no problem subnet 15.0/24 on ether2 added 2 ips, 1 is 15.1 as gw for 15.0/24 range and added 15.2/24 < i want this ip for masquera...
by JoePolgar
Wed Aug 14, 2013 11:42 am
Forum: Scripting
Topic: Backup to External FTP Useful script
Replies: 11
Views: 46301

Re: Backup to External FTP Useful script

use dst-path=filename instead of dst-path=/