Live-IP-CONCEPT route a IP in any interface with Original ID

From MikroTik Wiki
Revision as of 19:55, 7 May 2009 by Muhammad (talk | contribs)
Jump to: navigation, search

Hi,

Network IP Settings

WAN: IP Address 192.168.11.2

Gateway 192.168.11.1 (DSL Modem IP)


LAN: IP Address 192.168.0.1


LAN2: IP Address 192.168.100.2

Squid Proxy 192.168.100.1 (Squid Server IP)

What is LIVE-IP and wher we need this,

1st) If you have more than one Internet IP's or IP-Pool (your ISP assign you 2 IP’s one you used in server WAN and one you have spear) or you want to use that internet IP into your internal network

2nd) if your main Server/Modem behind Mikrotik or NAT or you wants to direct access to main server with your own Clint-Side IP, without NAT

(Example, Clint-IP 192.168.0.200 is a NAT IP or we need to access Modem/Squid (Both of behind a Mikrotik or no any Direct Access without NAT) but we need to Access without NAT (like direct hit with IP 192.168.0.200 to squid or squid can also communicate with 192.168.0.200 or we can ping on both sides to each others)

Example in Map

Live 1(new).jpg

Live 2(new).jpg

Setup

disable nat ( IP / Firewall / NAT / masquerade srcnat 192.168.0.200

Live 4.jpg

create a mangle role in Firewall with new routing mark live (live is name of routing mark you can change it)

Live 5.JPG

when 192.168.0.200 request for internet to mikrotik then mikrotik consider 192.168.0.200 as routing mark live

Live 6.JPG

Live 7.JPG

Live 8.JPG

when 192.168.0.200 request to mikrotik with routing mark live then mikrotik route it with his ID (192.168.0.200) to Gateway 192.168.100.1, (Gateway chose you as yore choice)

Live 9.JPG

Live 10.JPG

setup completeTHE END