Community discussions

MikroTik App
 
kashifzai86
just joined
Topic Author
Posts: 15
Joined: Mon Nov 09, 2015 8:58 am
Location: Karachi

Routing & Natting possible on same Mikrotik??

Sat Nov 23, 2019 11:34 am

Hello !!!
Can someone help me ??

I have 254 public routable IPs assingned by my ISP, but I have more than 400 clients.. Can I use both Natting and Routing on same CCR Router.
Example:-
ISP IP: 11.11.11.1/29
CCR WAN: 11.11.11.2/29
Routed user IP Pool /24 sent to user by my pppoe: 12.12.12.0/24 (254 Cleints)
Another ISP ISP: 1.1.1.1/28 (14 IP I have)

Can I do NATTING by ISP 2 (1.1.1.1/28) on same CCR??

Thanks
KK
 
sindy
Forum Guru
Forum Guru
Posts: 5549
Joined: Mon Dec 04, 2017 9:19 pm

Re: Routing & Natting possible on same Mikrotik??

Sat Nov 23, 2019 12:33 pm

Yes. You just make the src-nat rule selective through matching on in-interface or src-address.
Instead of writing novels, post /export hide-sensitive. Use find&replace in your favourite text editor to systematically replace all occurrences of each public IP address potentially identifying you by a distinctive pattern such as my.public.ip.1.

Who is online

Users browsing this forum: bsiege, sindy, tsaihungpin and 140 guests