Static Routing Configuration Inward Mikrotik Router
So today inwards this tutorial if y'all accept existence next me from the really start nosotros are going to verbalize nearly static routing on mikrotik routers. But if y'all are novel to mikrotik my advice is for y'all to acquire dorsum for the really start in addition to equip yourself amongst but about basic mikrotik configurations in addition to setups.
In information technology carrier Static Routing is an important to every network engineer who plant amongst multiple MikroTik RouterOS in addition to systems in addition to if he or she besides wants to connect amidst Router’s local networks.
H5N1 brief Definition of Routing
Routing inwards full general is a procedure used to observe other networks which is non conduct connected inwards the local router.
Specifically, at that spot are 2 types of routing.
Static Routing is a procedure where road is manually generated inwards routing table. In static routing, the network administrator must know the next hop IP address or outgoing interface inwards which the network router is connected. Static road format: Route add together Network Subnet {next hop IP address/ outgoing interface}. Mikrotik Example: /ip route> add together dst-address=Network/Subnet gateway=Next Hop IP Address.
As at that spot are 2 RouterOS (R1 & R2) inwards this diagram, nosotros accept to configure both RouterOS in addition to right away I volition exhibit this configuration from really beginning.
R1 Router Configuration
In R1 RouterOS, nosotros volition perform basic RouterOS configuration every bit good every bit static routing configuration. The next steps volition exhibit how to create MikroTik Router basic configuration in addition to static routing configuration inwards R1 RouterOS.
Login to R1 RouterOS using winbox in addition to acquire to IP > Addresses. In Address List window, click on PLUS SIGN (+). In New Address window, pose WAN IP address (192.168.110.2/28) inwards Address input plain in addition to select WAN interface (ether1) from Interface dropdown bill of fare in addition to click Apply in addition to OK button. Click on PLUS SIGN i time to a greater extent than in addition to pose LAN IP (172.22.10.1/24) inwards Address input plain in addition to select LAN interface (ether2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button. Again click on PLUS SIGN in addition to pose 10.10.10.1/30 (Gateway address for R2 to access LAN IP block) inwards Address input plain in addition to select ether3 (RouterOS interface that is connected to R2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button.
Go to IP > DNS in addition to pose DNS servers IP (8.8.8.8 or 8.8.4.4) inwards Servers input plain in addition to click Apply in addition to OK button.
Go to IP > Firewall in addition to click on NAT tab in addition to thence click on PLUS SIGN. Under General tab, select srcnat from Chain dropdown bill of fare in addition to click on Action tab in addition to thence select masquerade from Action dropdown menu. Click on Apply in addition to OK button.
Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, click on Gateway input plain in addition to pose WAN Gateway address (192.168.110.1) inwards Gateway input plain in addition to click Apply in addition to OK button.
Static Routing agency providing the finish IP Block in addition to the Gateway address to attain that finish IP Block. As nosotros desire to attain R2 Router’s LAN IP Block (172.22.20.0/24) in addition to according to network diagram the Gateway IP Address to attain this finish IP Block is 10.10.10.2, nosotros volition furnish this information inwards R1 Router’s Routing table. For this, Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, pose finish IP Block (172.22.20.0/24) inwards Dst. Address input plain in addition to pose the Gateway address (10.10.10.2) inwards Gateway input field. Click Apply in addition to OK button. If y'all accept to a greater extent than LAN IP Blocks that y'all necessitate to reach, y'all tin sack add together those IP Blocks according to this step.
Basic configuration in addition to static routing configuration inwards R1 RouterOS has been completed in addition to R1 Router is right away ready to access R2 Router’s LAN IP Block. Now nosotros volition configure our R2 Router thence that it tin sack access R1 Router’s LAN IP Block.
R2 Router Configuration
Like R1 RouterOS, nosotros volition perform basic RouterOS configuration every bit good every bit static routing configuration inwards our R2 RouterOS. The next steps volition exhibit how to create MikroTik Router basic configuration in addition to static routing configuration inwards R2 RouterOS
Login to R1 RouterOS using winbox in addition to acquire to IP > Addresses. In Address List window, click on PLUS SIGN (+). In New Address window, pose WAN IP address (192.168.10.2/30) inwards Address input plain in addition to select WAN interface (ether1) from Interface dropdown bill of fare in addition to click Apply in addition to OK button. Click on PLUS SIGN (+) i time to a greater extent than in addition to pose LAN IP (172.22.20.1/24) inwards Address input plain in addition to select LAN interface (ether2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button. Again click on PLUS SIGN (+) in addition to pose 10.10.10.2/30 (Gateway address for R1 to access LAN IP block) inwards Address input plain in addition to select ether3 (RouterOS interface that is connected to R1) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button.
Go to IP > DNS in addition to pose DNS servers IP (8.8.8.8 or 8.8.4.4) inwards Servers input plain in addition to click Apply in addition to OK button.
Go to IP > Firewall in addition to click on NAT tab in addition to thence click on PLUS SIGN (+). Under General tab, select srcnat from Chain dropdown bill of fare in addition to click on Action tab in addition to thence select masquerade from Action dropdown menu. Click on Apply in addition to OK button.
Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, click on Gateway input plain in addition to pose WAN Gateway address (192.168.10.1) inwards Gateway input plain in addition to click Apply in addition to OK button.
As nosotros desire to attain R1 Router’s LAN IP Block (172.22.20.0/24) in addition to according to network diagram the Gateway IP Address to attain this finish IP Block is 10.10.10.1, nosotros volition furnish this information inwards R2 Router’s Routing table. For this, Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, pose finish IP Block (172.22.10.0/24) inwards Dst. Address input plain in addition to pose the Gateway address (10.10.10.1) inwards Gateway input field. Click Apply in addition to OK button. If y'all accept to a greater extent than LAN IP Blocks that y'all necessitate to reach, y'all tin sack add together those IP Blocks according to this step.
Dynamic Routing is a procedure of learning networks from dissimilar routers connected each other. Routers larn network past times edifice vecino human relationship amongst next router. Examples of dynamic routing are OSPF, EIGRP, RIP, BGP, in addition to ISIS etc.
There are 2 operate networks inwards this diagram in addition to each operate network has a MikroTik RouterOS (R1 & R2). R1 Router is connected to WAN1 having IP address 192.168.110.2/28 in addition to R2 Router is connected to WAN2 having IP address 192.168.10.2/30. R1 Router has its ain LAN IP block (172.22.10.0/24) in addition to R2 besides has its ain LAN IP block (172.22.20.0/24). Both Routers are connected amongst a communication medium having IP address 10.10.10.1/30 in addition to 10.10.10.2/30 respectively. Now nosotros volition configure static routing inwards both RouterOS thence that each LAN IP block tin sack hold upwards accessible from other LAN IP block.As at that spot are 2 RouterOS (R1 & R2) inwards this diagram, nosotros accept to configure both RouterOS in addition to right away I volition exhibit this configuration from really beginning.
R1 Router Configuration
In R1 RouterOS, nosotros volition perform basic RouterOS configuration every bit good every bit static routing configuration. The next steps volition exhibit how to create MikroTik Router basic configuration in addition to static routing configuration inwards R1 RouterOS.
Login to R1 RouterOS using winbox in addition to acquire to IP > Addresses. In Address List window, click on PLUS SIGN (+). In New Address window, pose WAN IP address (192.168.110.2/28) inwards Address input plain in addition to select WAN interface (ether1) from Interface dropdown bill of fare in addition to click Apply in addition to OK button. Click on PLUS SIGN i time to a greater extent than in addition to pose LAN IP (172.22.10.1/24) inwards Address input plain in addition to select LAN interface (ether2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button. Again click on PLUS SIGN in addition to pose 10.10.10.1/30 (Gateway address for R2 to access LAN IP block) inwards Address input plain in addition to select ether3 (RouterOS interface that is connected to R2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button.
Go to IP > DNS in addition to pose DNS servers IP (8.8.8.8 or 8.8.4.4) inwards Servers input plain in addition to click Apply in addition to OK button.
Go to IP > Firewall in addition to click on NAT tab in addition to thence click on PLUS SIGN. Under General tab, select srcnat from Chain dropdown bill of fare in addition to click on Action tab in addition to thence select masquerade from Action dropdown menu. Click on Apply in addition to OK button.
Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, click on Gateway input plain in addition to pose WAN Gateway address (192.168.110.1) inwards Gateway input plain in addition to click Apply in addition to OK button.
Static Routing agency providing the finish IP Block in addition to the Gateway address to attain that finish IP Block. As nosotros desire to attain R2 Router’s LAN IP Block (172.22.20.0/24) in addition to according to network diagram the Gateway IP Address to attain this finish IP Block is 10.10.10.2, nosotros volition furnish this information inwards R1 Router’s Routing table. For this, Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, pose finish IP Block (172.22.20.0/24) inwards Dst. Address input plain in addition to pose the Gateway address (10.10.10.2) inwards Gateway input field. Click Apply in addition to OK button. If y'all accept to a greater extent than LAN IP Blocks that y'all necessitate to reach, y'all tin sack add together those IP Blocks according to this step.
Basic configuration in addition to static routing configuration inwards R1 RouterOS has been completed in addition to R1 Router is right away ready to access R2 Router’s LAN IP Block. Now nosotros volition configure our R2 Router thence that it tin sack access R1 Router’s LAN IP Block.
R2 Router Configuration
Like R1 RouterOS, nosotros volition perform basic RouterOS configuration every bit good every bit static routing configuration inwards our R2 RouterOS. The next steps volition exhibit how to create MikroTik Router basic configuration in addition to static routing configuration inwards R2 RouterOS
Login to R1 RouterOS using winbox in addition to acquire to IP > Addresses. In Address List window, click on PLUS SIGN (+). In New Address window, pose WAN IP address (192.168.10.2/30) inwards Address input plain in addition to select WAN interface (ether1) from Interface dropdown bill of fare in addition to click Apply in addition to OK button. Click on PLUS SIGN (+) i time to a greater extent than in addition to pose LAN IP (172.22.20.1/24) inwards Address input plain in addition to select LAN interface (ether2) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button. Again click on PLUS SIGN (+) in addition to pose 10.10.10.2/30 (Gateway address for R1 to access LAN IP block) inwards Address input plain in addition to select ether3 (RouterOS interface that is connected to R1) from Interface dropdown bill of fare in addition to click on Apply in addition to OK button.
Go to IP > DNS in addition to pose DNS servers IP (8.8.8.8 or 8.8.4.4) inwards Servers input plain in addition to click Apply in addition to OK button.
Go to IP > Firewall in addition to click on NAT tab in addition to thence click on PLUS SIGN (+). Under General tab, select srcnat from Chain dropdown bill of fare in addition to click on Action tab in addition to thence select masquerade from Action dropdown menu. Click on Apply in addition to OK button.
Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, click on Gateway input plain in addition to pose WAN Gateway address (192.168.10.1) inwards Gateway input plain in addition to click Apply in addition to OK button.
As nosotros desire to attain R1 Router’s LAN IP Block (172.22.20.0/24) in addition to according to network diagram the Gateway IP Address to attain this finish IP Block is 10.10.10.1, nosotros volition furnish this information inwards R2 Router’s Routing table. For this, Go to IP > Routes in addition to click on PLUS SIGN (+). In New Route window, pose finish IP Block (172.22.10.0/24) inwards Dst. Address input plain in addition to pose the Gateway address (10.10.10.1) inwards Gateway input field. Click Apply in addition to OK button. If y'all accept to a greater extent than LAN IP Blocks that y'all necessitate to reach, y'all tin sack add together those IP Blocks according to this step.
Basic configuration in addition to static routing configuration inwards R2 RouterOS has been completed in addition to R2 Router is right away ready to access R1 Router’s LAN IP Block.
Now connect IP devices inwards both network in addition to ping these devices. If everything is OK, y'all volition hold upwards able to access both network successfully.
You volition hold upwards able to configure static routing inwards MikroTik Router if y'all follow the inwards a higher house steps properly
0 Response to "Static Routing Configuration Inward Mikrotik Router"
Post a Comment